summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/ioapic.c
Commit message (Collapse)AuthorAgeLines
* x86: Add a function to set the IOAPIC IDSimon Glass2016-03-17-0/+16
| | | | | | | Add a function to set the ID in the IOAPIC. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
* x86: Add I/O APIC register access routinesBin Meng2015-07-14-0/+21
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>