1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

basemem is in K, not bytes. I think I tricked jhb into making the same

mistake I did and then committing it to cvs.
This commit is contained in:
Peter Wemm 2003-11-14 20:51:07 +00:00
parent ea6e3dd2b3
commit db049820e1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=122697
2 changed files with 2 additions and 2 deletions

View File

@ -237,7 +237,7 @@ mptable_probe(void)
goto found;
} else {
/* last 1K of base memory, effective 'top of base' passed in */
target = (u_int32_t) (basemem - 0x400);
target = (u_int32_t) ((basemem * 1024) - 0x400);
if ((x = search_for_sig(target, 1024 / 4)) >= 0)
goto found;
}

View File

@ -237,7 +237,7 @@ mptable_probe(void)
goto found;
} else {
/* last 1K of base memory, effective 'top of base' passed in */
target = (u_int32_t) (basemem - 0x400);
target = (u_int32_t) ((basemem * 1024) - 0x400);
if ((x = search_for_sig(target, 1024 / 4)) >= 0)
goto found;
}