summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/gptboot/gptboot.c
diff options
context:
space:
mode:
authoriwasaki <iwasaki@FreeBSD.org>2002-10-01 19:31:09 +0000
committeriwasaki <iwasaki@FreeBSD.org>2002-10-01 19:31:09 +0000
commitf42743371e8d1b3ce264a6379e67a3b586ec86c3 (patch)
tree1c35ed9220891986624a2f7df3d77a567340c077 /sys/boot/i386/gptboot/gptboot.c
parent25500cc0636e900d7b9d50304aa270a9645970b5 (diff)
downloadFreeBSD-src-f42743371e8d1b3ce264a6379e67a3b586ec86c3.zip
FreeBSD-src-f42743371e8d1b3ce264a6379e67a3b586ec86c3.tar.gz
Don't call INT 12H anymore in boot program.
Many recent machine have a broken INT 12H (Get base memory size) implementation and boot program stops if INT 12H is called. This commit should solve the problem at very first step of FreeBSD installation occurred on newer some machines. Reviewed by: bde, jhb MFC after: 1 week
Diffstat (limited to 'sys/boot/i386/gptboot/gptboot.c')
-rw-r--r--sys/boot/i386/gptboot/gptboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/i386/gptboot/gptboot.c b/sys/boot/i386/gptboot/gptboot.c
index 1739579..ae3e3b3 100644
--- a/sys/boot/i386/gptboot/gptboot.c
+++ b/sys/boot/i386/gptboot/gptboot.c
@@ -232,7 +232,7 @@ main(void)
dsk.slice = *(uint8_t *)PTOV(ARGS + 1) + 1;
bootinfo.bi_version = BOOTINFO_VERSION;
bootinfo.bi_size = sizeof(bootinfo);
- bootinfo.bi_basemem = memsize(MEM_BASE);
+ bootinfo.bi_basemem = 0; /* XXX will be filled by loader or kernel */
bootinfo.bi_extmem = memsize(MEM_EXT);
bootinfo.bi_memsizes_valid++;
for (i = 0; i < N_BIOS_GEOM; i++)
OpenPOWER on IntegriCloud