panic() when running out of MTRRs. I know I'm gonna regret this...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35755 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -122,7 +122,7 @@ add_used_mtrr(uint64 base, uint64 size, uint32 type)
|
||||
{
|
||||
if (sMemoryTypeRegistersUsed == sMemoryTypeRegisterCount) {
|
||||
if (sMemoryTypeRegisterCount > 0) {
|
||||
dprintf("add_used_mtrr(%#" B_PRIx64 ", %#" B_PRIx64 ", %" B_PRIu32
|
||||
panic("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