summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/interrupt.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-04-28 20:25:16 -0600
committerSimon Glass <sjg@chromium.org>2015-04-29 21:02:34 -0600
commit6f41e0e7bcdc58e9e8af89988043893d5876bf7a (patch)
treef6247f61341eacb76594b057bca54e16d493126f /arch/x86/include/asm/interrupt.h
parent52845296be8190c3f581090d6336fa033f2bd2d8 (diff)
downloadu-boot-imx-6f41e0e7bcdc58e9e8af89988043893d5876bf7a.zip
u-boot-imx-6f41e0e7bcdc58e9e8af89988043893d5876bf7a.tar.gz
u-boot-imx-6f41e0e7bcdc58e9e8af89988043893d5876bf7a.tar.bz2
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>
Diffstat (limited to 'arch/x86/include/asm/interrupt.h')
-rw-r--r--arch/x86/include/asm/interrupt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/interrupt.h b/arch/x86/include/asm/interrupt.h
index 25abde7..0a75f89 100644
--- a/arch/x86/include/asm/interrupt.h
+++ b/arch/x86/include/asm/interrupt.h
@@ -38,4 +38,6 @@ extern char exception_stack[];
*/
void configure_irq_trigger(int int_num, bool is_level_triggered);
+void *x86_get_idt(void);
+
#endif