x86: Provide access to the IDT
authorSimon Glass <sjg@chromium.org>
Wed, 29 Apr 2015 02:25:16 +0000 (20:25 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 30 Apr 2015 03:02:34 +0000 (21:02 -0600)
commit6f41e0e7bcdc58e9e8af89988043893d5876bf7a
treef6247f61341eacb76594b057bca54e16d493126f
parent52845296be8190c3f581090d6336fa033f2bd2d8
x86: Provide access to the IDT

Add a function to return the address of the Interrupt Descriptor Table.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/interrupts.c
arch/x86/include/asm/interrupt.h