X86: Make the apic version register work.
authorGabe Black <gblack@eecs.umich.edu>
Thu, 12 Jun 2008 04:53:37 +0000 (00:53 -0400)
committerGabe Black <gblack@eecs.umich.edu>
Thu, 12 Jun 2008 04:53:37 +0000 (00:53 -0400)
src/arch/x86/miscregfile.cc

index 6abeb7d34abbf428c8f38bd55a0470cfce8e0bbd..7fce43c1d319df3565b867bae36f9b984060b4a9 100644 (file)
@@ -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;