mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 17:32:43 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60752
@ -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