changeset 0fee2dde61d7 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=0fee2dde61d7
description:
X86: Implement the EOI register in the local APIC.
diffstat:
1 file changed, 1 deletion(-)
src/arch/x86/interrupts.cc | 1 -
diffs (26 lines):
diff -r bd70811ff2ef -r 0fee2dde61d7 src/arch/x86/interrupts.cc
--- a/src/arch/x86/interrupts.cc Sun Oct 12 23:27:45 2008 -0700
+++ b/src/arch/x86/interrupts.cc Sun Oct 12 23:28:11 2008 -0700
@@ -330,9 +330,6 @@
case APIC_PROCESSOR_PRIORITY:
panic("Local APIC Processor Priority register unimplemented.\n");
break;
- case APIC_EOI:
- panic("Local APIC EOI register unimplemented.\n");
- break;
case APIC_ERROR_STATUS:
regs[APIC_INTERNAL_STATE] &= ~ULL(0x1);
break;
@@ -391,8 +388,10 @@
panic("Local APIC Processor Priority register unimplemented.\n");
break;
case APIC_EOI:
- panic("Local APIC EOI register unimplemented.\n");
- break;
+ // Remove the interrupt that just completed from the local apic state.
+ clearRegArrayBit(APIC_IN_SERVICE_BASE, ISRV);
+ updateISRV();
+ return;
case APIC_LOGICAL_DESTINATION:
newVal = val & 0xFF000000;
break;
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev