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:
Ingo Weinhold
2010-03-04 09:49:53 +00:00
parent 8a17198258
commit a915c50a60
+1 -1
View File
@@ -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;