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:
parent
ea6e3dd2b3
commit
db049820e1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=122697
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user