|
|
static uint8_t ist1_stack[16384] | __attribute__ ((aligned(16))) |
| void | init_gdt (void) |
| | Initializes the gdt and loads it.
|
| void | gdt_set_entry (int index, uint8_t access, uint8_t flags) |
| | Sets an entry of the gdt with the correct access and flags.
|
| uint8_t | get_access_byte (bool rw, bool exec, bool type, uint8_t dpl) |
| | Generates the access byte for the GDT.
|
| uint8_t | get_flag_byte (bool granularity, bool size, bool long_mode) |
| | Generates the flag byte for the GDT.
|
Initializes and holds the GDT for the kernel.
- Author
- Matheus Boscariol
- Since
- 15/11/2026
- Copyright
- (c) 2026 Matheus Boscariol. Licensed under GNU AGPL-3.0.
Definition in file gdt.c.