X86: Make the apic ID register work.

This commit is contained in:
Gabe Black 2008-06-12 00:53:43 -04:00
parent 8a6723e038
commit ed23a4970b

View file

@ -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.