|
@@ -441,7 +441,7 @@ static inline void _set_gate(int gate, unsigned type, void *addr,
|
|
|
}
|
|
|
```
|
|
|
|
|
|
-Here we start from the `pack_gate` function which takes clean `IDT` entry represented by the `gate_desc` structure and fills it with the base address and limit, [Interrupt Stack Table](https://www.kernel.org/doc/Documentation/x86/x86_64/kernel-stacks), [Privilege level](http://en.wikipedia.org/wiki/Privilege_level), type of an interrupt which can be one of the following values:
|
|
|
+Here we start from the `pack_gate` function which takes clean `IDT` entry represented by the `gate_desc` structure and fills it with the base address and limit, [Interrupt Stack Table](https://www.kernel.org/doc/Documentation/x86/kernel-stacks), [Privilege level](http://en.wikipedia.org/wiki/Privilege_level), type of an interrupt which can be one of the following values:
|
|
|
|
|
|
* `GATE_INTERRUPT`
|
|
|
* `GATE_TRAP`
|
|
@@ -537,6 +537,6 @@ Links
|
|
|
* [Union type](http://en.wikipedia.org/wiki/Union_type)
|
|
|
* [this_cpu_* operations](https://github.com/torvalds/linux/blob/16f73eb02d7e1765ccab3d2018e0bd98eb93d973/Documentation/this_cpu_ops.txt)
|
|
|
* [vector number](http://en.wikipedia.org/wiki/Interrupt_vector_table)
|
|
|
-* [Interrupt Stack Table](https://www.kernel.org/doc/Documentation/x86/x86_64/kernel-stacks)
|
|
|
+* [Interrupt Stack Table](https://www.kernel.org/doc/Documentation/x86/kernel-stacks)
|
|
|
* [Privilege level](http://en.wikipedia.org/wiki/Privilege_level)
|
|
|
* [Previous part](https://0xax.gitbook.io/linux-insides/summary/interrupts/linux-interrupts-1)
|