commit | 3d232878289bf59e83c6b152407a01f6e0fb790b | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Tue Jun 23 12:18:49 2015 +0800 |
committer | Simon Glass <sjg@chromium.org> | Tue Jul 14 18:03:17 2015 -0600 |
tree | 55413b7266202a293c1df5d571e22700b2370485 | |
parent | ba9091f55d68fc3d7b65a710f9d47c0be15e816d [diff] |
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>