summaryrefslogtreecommitdiff
path: root/src/arch/x86/miscregfile.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2008-06-12 00:53:37 -0400
committerGabe Black <gblack@eecs.umich.edu>2008-06-12 00:53:37 -0400
commit8a6723e0380bf501e305fb2dd72f0e9079f158b2 (patch)
tree491fa59ed28b8859e04eb6574ded93d47dd6e37d /src/arch/x86/miscregfile.cc
parent8d2416c6e9ec56dc2addd594eb7f7cab0d58b951 (diff)
downloadgem5-8a6723e0380bf501e305fb2dd72f0e9079f158b2.tar.xz
X86: Make the apic version register work.
Diffstat (limited to 'src/arch/x86/miscregfile.cc')
-rw-r--r--src/arch/x86/miscregfile.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/miscregfile.cc b/src/arch/x86/miscregfile.cc
index 6abeb7d34..7fce43c1d 100644
--- a/src/arch/x86/miscregfile.cc
+++ b/src/arch/x86/miscregfile.cc
@@ -222,8 +222,8 @@ void MiscRegFile::setReg(int miscReg,
panic("Local APIC ID register unimplemented.\n");
break;
case MISCREG_APIC_VERSION:
- panic("Local APIC Version register is read only.\n");
- break;
+ // The Local APIC Version register is read only.
+ return;
case MISCREG_APIC_TASK_PRIORITY:
panic("Local APIC Task Priority register unimplemented.\n");
break;