diff options
author | peter <peter@FreeBSD.org> | 1998-10-11 10:01:55 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-10-11 10:01:55 +0000 |
commit | 2f4399a06354c2d44d27a60265ac2b65b3d94ae8 (patch) | |
tree | c8612f05a3804c5ede70105eadfc403794c64f4a | |
parent | 8a8128b194f4a239b4f9003f1f7327b53916b6bb (diff) | |
download | FreeBSD-src-2f4399a06354c2d44d27a60265ac2b65b3d94ae8.zip FreeBSD-src-2f4399a06354c2d44d27a60265ac2b65b3d94ae8.tar.gz |
Warn that one of the DEBUG statements has a v86 recursion bug.
-rw-r--r-- | sys/boot/i386/libi386/biosdisk.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/boot/i386/libi386/biosdisk.c b/sys/boot/i386/libi386/biosdisk.c index 206c24e..8556038 100644 --- a/sys/boot/i386/libi386/biosdisk.c +++ b/sys/boot/i386/libi386/biosdisk.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: biosdisk.c,v 1.11 1998/10/06 07:27:05 msmith Exp $ + * $Id: biosdisk.c,v 1.12 1998/10/09 07:11:19 msmith Exp $ */ /* @@ -589,6 +589,7 @@ bd_read(struct open_disk *od, daddr_t dblk, int blks, caddr_t dest) } DEBUG("%d sectors from %d/%d/%d to %p (0x%x) %s", x, cyl, hd, sec - 1, p, VTOP(p), result ? "failed" : "ok"); + /* BUG here, cannot use v86 in printf because putchar uses it too */ DEBUG("ax = 0x%04x cx = 0x%04x dx = 0x%04x status 0x%x", 0x200 | x, ((cyl & 0xff) << 8) | ((cyl & 0x300) >> 2) | sec, (hd << 8) | od->od_unit, (v86.eax >> 8) & 0xff); if (result) { |