Don't complain about running out of MTRRs before the CPU modules have been
loaded in the first place. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35585 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -121,8 +121,10 @@ static bool
|
||||
add_used_mtrr(uint64 base, uint64 size, uint32 type)
|
||||
{
|
||||
if (sMemoryTypeRegistersUsed == sMemoryTypeRegisterCount) {
|
||||
dprintf("add_used_mtrr(%#" B_PRIx64 ", %#" B_PRIx64 ", %" B_PRIu32
|
||||
"): out of MTRRs!\n", base, size, type);
|
||||
if (sMemoryTypeRegisterCount > 0) {
|
||||
dprintf("add_used_mtrr(%#" B_PRIx64 ", %#" B_PRIx64 ", %" B_PRIu32
|
||||
"): out of MTRRs!\n", base, size, type);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user