]> git.sur5r.net Git - u-boot/commit
x86: Add I/O APIC register access routines
authorBin Meng <bmeng.cn@gmail.com>
Tue, 23 Jun 2015 04:18:49 +0000 (12:18 +0800)
committerSimon Glass <sjg@chromium.org>
Wed, 15 Jul 2015 00:03:17 +0000 (18:03 -0600)
commit3d232878289bf59e83c6b152407a01f6e0fb790b
tree55413b7266202a293c1df5d571e22700b2370485
parentba9091f55d68fc3d7b65a710f9d47c0be15e816d
x86: Add I/O APIC register access routines

I/O APIC registers are addressed indirectly. Add io_apic_read() and
io_apic_write() routines to help register access. Two macros for I/O
APIC ID and version register offset are also added.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/Makefile
arch/x86/cpu/ioapic.c [new file with mode: 0644]
arch/x86/include/asm/ioapic.h