From b5ca553462b43b55fbb7ddd904f214be42c21e79 Mon Sep 17 00:00:00 2001 From: Yoshihiro Takahashi Date: Fri, 20 Mar 2009 13:03:33 +0000 Subject: [PATCH] Oops, fix the previous change. --- sys/boot/pc98/libpc98/bioscd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/boot/pc98/libpc98/bioscd.c b/sys/boot/pc98/libpc98/bioscd.c index e0258ad9ecb8..3e1ba712d660 100644 --- a/sys/boot/pc98/libpc98/bioscd.c +++ b/sys/boot/pc98/libpc98/bioscd.c @@ -319,11 +319,11 @@ bc_read(int unit, daddr_t dblk, int blks, caddr_t dest) v86.ctl = V86_FLAGS; v86.addr = 0x1b; v86.eax = 0x0600 | (biosdev & 0x7f); - v86.ebx = blks * BIOSCD_SECSIZE; + v86.ebx = x * BIOSCD_SECSIZE; v86.ecx = dblk & 0xffff; v86.edx = (dblk >> 16) & 0xffff; - v86.ebp = VTOPOFF(dest); - v86.es = VTOPSEG(dest); + v86.ebp = VTOPOFF(xp); + v86.es = VTOPSEG(xp); v86int(); result = (v86.efl & PSL_C); if (result == 0)