summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2018-10-01 14:34:31 -0600
committerMartin Roth <martinroth@google.com>2018-10-04 15:24:20 +0000
commitb025de0ddbe6d39f035b3ca01fb682bfe11cf497 (patch)
tree1feeb6ac4d1f2c6539050ed1b92149e66bb87a63 /payloads/libpayload/include
parent06125ebe8775c1f0002644215b5892ed5938ef76 (diff)
downloadcoreboot-b025de0ddbe6d39f035b3ca01fb682bfe11cf497.tar.xz
libpayload/apic: Only ACK interrupts triggered by the APIC
Only set end of interrupt (EOI) when the APIC In-Service vector matches the interrupt vector. This makes it so we don't EOI a non APIC interrupt. BUG=b:116777191 TEST=Booted grunt with APIC enabled and verified depthcharge still works. Change-Id: I00bd1e7a0fcf2fc004feadc40d22ebfefe68b384 Signed-off-by: Raul E Rangel <rrangel@chromium.org> Reviewed-on: https://review.coreboot.org/28879 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r--payloads/libpayload/include/x86/arch/apic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/include/x86/arch/apic.h b/payloads/libpayload/include/x86/arch/apic.h
index c28fc0f5d1..1eb35089bd 100644
--- a/payloads/libpayload/include/x86/arch/apic.h
+++ b/payloads/libpayload/include/x86/arch/apic.h
@@ -38,7 +38,7 @@ void apic_init(void);
uint8_t apic_id(void);
/** Signal the end of the interrupt handler. */
-void apic_eoi(void);
+void apic_eoi(uint8_t vector);
void apic_delay(unsigned int usec);