svn commit: r190147 - head/sys/boot/pc98/libpc98
Takahashi Yoshihiro
nyan at FreeBSD.org
Fri Mar 20 06:03:34 PDT 2009
Author: nyan
Date: Fri Mar 20 13:03:33 2009
New Revision: 190147
URL: http://svn.freebsd.org/changeset/base/190147
Log:
Oops, fix the previous change.
Modified:
head/sys/boot/pc98/libpc98/bioscd.c
Modified: head/sys/boot/pc98/libpc98/bioscd.c
==============================================================================
--- head/sys/boot/pc98/libpc98/bioscd.c Fri Mar 20 12:26:42 2009 (r190146)
+++ head/sys/boot/pc98/libpc98/bioscd.c Fri Mar 20 13:03:33 2009 (r190147)
@@ -319,11 +319,11 @@ bc_read(int unit, daddr_t dblk, int blks
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)
More information about the svn-src-all
mailing list