From f9489e6a0ef07c58cd3d1da0dfd63029c6e6e96f Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Wed, 30 Sep 1998 19:41:07 +0000 Subject: [PATCH] Fix typos.. The vector for "int 0x12" (get base mem) is not written in hex as "0x1a". :-) Fix a comment about the extended memory checks, that's int 0x15. --- sys/boot/i386/libi386/biosmem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/boot/i386/libi386/biosmem.c b/sys/boot/i386/libi386/biosmem.c index 1535e052eab7..1e4e540396e5 100644 --- a/sys/boot/i386/libi386/biosmem.c +++ b/sys/boot/i386/libi386/biosmem.c @@ -24,7 +24,7 @@ int getbasemem(void) { v86.ctl = 0; - v86.addr = 0x1a; /* int 0x12 */ + v86.addr = 0x12; /* int 0x12 */ v86int(); return(v86.eax & 0xffff); @@ -39,7 +39,7 @@ getextmem(void) int extkb; v86.ctl = 0; - v86.addr = 0x15; /* int 0x12 function 0x88*/ + v86.addr = 0x15; /* int 0x15 function 0x88*/ v86.eax = 0x8800; v86int(); extkb = v86.eax & 0xffff;