X86: Make the apic task priority register work.

This commit is contained in:
Gabe Black 2008-06-12 00:54:01 -04:00
parent e9c481ea4a
commit 69000baef3

View file

@ -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");