Make this compile in case anyone ever wants to use the PC98 booter
on an IBM machine. This fix matches i386/boot2/boot.c. PR: kern/7903
This commit is contained in:
parent
bca1f3c245
commit
b0d9eb06f9
@ -95,11 +95,11 @@ boot(int drive)
|
||||
if (*(unsigned char*)V(0xA155d) & (1 << ret)) {
|
||||
bootinfo.bi_bios_geom[ret] = get_diskinfo(ret + 0x80);
|
||||
}
|
||||
}
|
||||
#else /* IBM-PC */
|
||||
for(ret = 0; ret < N_BIOS_GEOM; ret ++)
|
||||
bootinfo.bi_bios_geom[ret] = get_diskinfo(ret + 0x80);
|
||||
#endif /* PC98 */
|
||||
}
|
||||
|
||||
bootinfo.bi_basemem = memsize(0);
|
||||
bootinfo.bi_extmem = memsize(1);
|
||||
|
Loading…
Reference in New Issue
Block a user