Sfoglia il codice sorgente

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
Sebastian Fricke 5 anni fa
parent
commit
e3711a1ac3
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      Interrupts/linux-interrupts-1.md

+ 3 - 1
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 {