]> git.kernelconcepts.de Git - karo-tx-uboot.git/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)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:29:24 +0000 (13:29 +0200)
commit616f1b446fdab2d908893e9d5ee091c5efa20c4a
tree5666b8fc8ba9a931ab3acca1a17b6d0850f00f07
parentdd4e3a21d47be29f73912f17075c00b667dc29c7
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