From a915c50a6038062d92d69d9f7b7f1447a5009a59 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Thu, 4 Mar 2010 09:49:53 +0000 Subject: [PATCH] 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 --- src/system/kernel/arch/x86/arch_vm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/kernel/arch/x86/arch_vm.cpp b/src/system/kernel/arch/x86/arch_vm.cpp index 9f0f87437e..1c95c1847d 100644 --- a/src/system/kernel/arch/x86/arch_vm.cpp +++ b/src/system/kernel/arch/x86/arch_vm.cpp @@ -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;