coreboot-kgpe-d16/payloads/libpayload/include/x86/arch
Raul E Rangel ac8ebd0e73 libpayload/arch/x86: Add support for initializing the APIC
This is just the bare minimum required to initialize the APIC. I only
support xAPIC and chose not to support x2APIC. We can add that
functionality later when it's required.

I also made the exception dispatcher call apic_eoi so that the callbacks
won't forget to call it.

BUG=b:109749762
TEST=Booted grunt and verified that depthcharge continued to function
and that linux booted correctly. Also verified GDB still works.

Change-Id: I420a4eadae84df088525e727b481089ef615183f
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Reviewed-on: https://review.coreboot.org/28241
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
2018-09-12 14:14:46 +00:00
..
apic.h libpayload/arch/x86: Add support for initializing the APIC 2018-09-12 14:14:46 +00:00
barrier.h libpayload: Add support for memory barriers 2015-03-19 23:24:16 +01:00
cache.h arm: Redesign, clarify and clean up cache related code 2014-11-10 21:34:49 +01:00
cpuid.h libpayload/x86/cpuid: Add a cpuid macro 2018-08-23 16:24:38 +00:00
exception.h libpayload/x86/exception: Add methods to enable/disable interrupts 2018-08-23 16:24:44 +00:00
io.h libpayload: x86: Add read/write{8,16,32} variants that match coreboot 2015-08-28 06:46:28 +00:00
msr.h libpayload: rename i386 to x86 2012-12-14 22:29:17 +01:00
rdtsc.h libpayload: rename i386 to x86 2012-12-14 22:29:17 +01:00
types.h libpayload: Don't sneak in compiler includes 2013-04-18 02:50:28 +02:00
virtual.h libpayload: rename i386 to x86 2012-12-14 22:29:17 +01:00