From 69000baef3ad409607ca8682d4d0afd29bc8f263 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 12 Jun 2008 00:54:01 -0400 Subject: X86: Make the apic task priority register work. --- src/arch/x86/miscregfile.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/arch/x86/miscregfile.cc') diff --git a/src/arch/x86/miscregfile.cc b/src/arch/x86/miscregfile.cc index 46ee3a7db..ee71842d2 100644 --- a/src/arch/x86/miscregfile.cc +++ b/src/arch/x86/miscregfile.cc @@ -141,9 +141,6 @@ MiscReg MiscRegFile::readReg(int miscReg, ThreadContext * tc) "are unimplemented.\n"); } switch (miscReg) { - case MISCREG_APIC_TASK_PRIORITY: - panic("Local APIC Task Priority register unimplemented.\n"); - break; case MISCREG_APIC_ARBITRATION_PRIORITY: panic("Local APIC Arbitration Priority register unimplemented.\n"); break; @@ -221,7 +218,7 @@ void MiscRegFile::setReg(int miscReg, // The Local APIC Version register is read only. return; case MISCREG_APIC_TASK_PRIORITY: - panic("Local APIC Task Priority register unimplemented.\n"); + newVal = val & 0xFF; break; case MISCREG_APIC_ARBITRATION_PRIORITY: panic("Local APIC Arbitration Priority register unimplemented.\n"); -- cgit v1.2.3