1
0
mirror of https://github.com/0xAX/linux-insides.git synced 2024-12-22 14:48:08 +00:00

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
This commit is contained in:
Sebastian Fricke 2020-04-01 07:34:48 +02:00
parent 1bf6ed1ec9
commit e3711a1ac3

View File

@ -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: The `Interrupt Descriptor Table` represented by the array of the `gate_desc` structures:
```C ```C
gate_desc idt_table[IDT_ENTRIES] __page_aligned_bss; extern gate_desc idt_table[];
``` ```
where `gate_struct` is defined as: 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 ```C
struct gate_struct { struct gate_struct {