summaryrefslogtreecommitdiff
path: root/src/arch/x86/miscregfile.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2008-06-12 00:53:43 -0400
committerGabe Black <gblack@eecs.umich.edu>2008-06-12 00:53:43 -0400
commited23a4970bde6eea4a72aa0e33a87aad5713a427 (patch)
tree9d05f96ef58bff56f403c449fc317b5027008e59 /src/arch/x86/miscregfile.cc
parent8a6723e0380bf501e305fb2dd72f0e9079f158b2 (diff)
downloadgem5-ed23a4970bde6eea4a72aa0e33a87aad5713a427.tar.xz
X86: Make the apic ID register work.
Diffstat (limited to 'src/arch/x86/miscregfile.cc')
-rw-r--r--src/arch/x86/miscregfile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/miscregfile.cc b/src/arch/x86/miscregfile.cc
index 7fce43c1d..d52d56915 100644
--- a/src/arch/x86/miscregfile.cc
+++ b/src/arch/x86/miscregfile.cc
@@ -219,7 +219,7 @@ void MiscRegFile::setReg(int miscReg,
}
switch (miscReg) {
case MISCREG_APIC_ID:
- panic("Local APIC ID register unimplemented.\n");
+ newVal = val & 0xFF;
break;
case MISCREG_APIC_VERSION:
// The Local APIC Version register is read only.