summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2008-06-12 00:54:01 -0400
committerGabe Black <gblack@eecs.umich.edu>2008-06-12 00:54:01 -0400
commit69000baef3ad409607ca8682d4d0afd29bc8f263 (patch)
tree23b7d3ed91dbf68a3d5c37ee07be9cf3e3675e2d /src/arch
parente9c481ea4ae7d72d6a53bc80c7f867578179f00c (diff)
downloadgem5-69000baef3ad409607ca8682d4d0afd29bc8f263.tar.xz
X86: Make the apic task priority register work.
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/miscregfile.cc5
1 files changed, 1 insertions, 4 deletions
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");