[U-Boot] [RESPIN PATCH v2 09/15] x86: Add I/O APIC register access routines

Simon Glass sjg at chromium.org
Wed Jun 24 04:46:08 CEST 2015


On 23 June 2015 at 19:45, Simon Glass <sjg at chromium.org> wrote:
> On 22 June 2015 at 22:18, Bin Meng <bmeng.cn at gmail.com> wrote:
>> 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 at gmail.com>
>>
>> ---
>>
>> Changes in v2:
>> - Do not use inline for register access
>>
>>  arch/x86/cpu/Makefile         |  2 +-
>>  arch/x86/cpu/ioapic.c         | 21 +++++++++++++++++++++
>>  arch/x86/include/asm/ioapic.h | 24 ++++++++++++++++++++++++
>>  3 files changed, 46 insertions(+), 1 deletion(-)
>>  create mode 100644 arch/x86/cpu/ioapic.c
>
> Acked-by: Simon Glass <sjg at chromium.org>

Applied to u-boot-x86, thanks!


More information about the U-Boot mailing list