From e3711a1ac34dd33f9eeb55498c6668952b12a10b Mon Sep 17 00:00:00 2001 From: Sebastian Fricke Date: Wed, 1 Apr 2020 07:34:48 +0200 Subject: [PATCH] Add correct location & link to the definition Add link to the github file location and the path within the source directory to gate_struct definiton --- Interrupts/linux-interrupts-1.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Interrupts/linux-interrupts-1.md b/Interrupts/linux-interrupts-1.md index 4fbdca5..b94008f 100644 --- a/Interrupts/linux-interrupts-1.md +++ b/Interrupts/linux-interrupts-1.md @@ -231,11 +231,13 @@ The `IST` or `Interrupt Stack Table` is a new mechanism in the `x86_64`. It is u The `Interrupt Descriptor Table` represented by the array of the `gate_desc` structures: + ```C -gate_desc idt_table[IDT_ENTRIES] __page_aligned_bss; +extern gate_desc idt_table[]; ``` where `gate_struct` is defined as: +[/arch/x86/include/asm/desc\_defs.h](https://github.com/torvalds/linux/blob/master/arch/x86/include/asm/desc_defs.h) ```C struct gate_struct {