1
0
mirror of https://github.com/0xAX/linux-insides.git synced 2024-11-14 03:39:19 +00:00

update unavailable link in linux-interrupts-2.md

Signed-off-by: ruitianzhong <ruitian-zhong@outlook.com>
This commit is contained in:
ruitianzhong 2024-02-05 21:05:15 +08:00
parent ec107900a0
commit 4a4659ca39
No known key found for this signature in database
GPG Key ID: 72F5D5E4A5F782F4

View File

@ -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`