#include <stdint.h>
Go to the source code of this file.
|
| struct IDTEntry | __attribute__ ((packed)) IDTEntry |
| | AHCI command header structure.
|
|
void | syscall_entry (void) |
| | Located inside /interrupts/syscall-x86_64.asm.
|
|
void | init_syscall () |
| | Tells the CPU to use the syscall instruction.
|
|
void | initIdt () |
|
void | setIdtEntry (IDTEntry *target, uint64_t offset, uint16_t selector, uint8_t ist, uint8_t type_attributes) |
- Author
- Pradosh (prado.nosp@m.shga.nosp@m.me@gm.nosp@m.ail..nosp@m.com) & GAMINGNOOB
- Version
- 0.1
- Date
- 2025-02-03
- Copyright
- Copyright Pradosh (c) 2025
Definition in file idt.h.
◆ EFER_SCE
| #define EFER_SCE (1 << 0) |
Definition at line 27 of file idt.h.
◆ IA32_EFER
| #define IA32_EFER 0xC0000080 |
Definition at line 22 of file idt.h.
◆ IA32_FMASK
| #define IA32_FMASK 0xC0000084 |
Definition at line 25 of file idt.h.
◆ IA32_LSTAR
| #define IA32_LSTAR 0xC0000082 |
Definition at line 24 of file idt.h.
◆ IA32_STAR
| #define IA32_STAR 0xC0000081 |
Definition at line 23 of file idt.h.
◆ ICW1_ICW4
Definition at line 19 of file idt.h.
◆ ICW1_INIT
Definition at line 18 of file idt.h.
◆ ICW4_8086
Definition at line 20 of file idt.h.
◆ __attribute__()
| struct IDTEntry __attribute__ |
( |
(packed) | | ) |
|
AHCI command header structure.
AHCI command table structure.
Physical Region Descriptor Table (PRDT) entry.
Represents the command header for a single AHCI port.
AHCI command header structure.
Definition at line 1 of file ahci.h.
◆ ist
Definition at line 2 of file idt.h.
◆ offset
Definition at line 1 of file idt.h.
◆ offset_1
Definition at line 0 of file idt.h.
◆ offset_2
Definition at line 4 of file idt.h.
◆ offset_3
Definition at line 5 of file idt.h.
◆ selector
Definition at line 1 of file idt.h.
◆ size
Definition at line 0 of file idt.h.
◆ type_attributes
Definition at line 3 of file idt.h.
◆ zero
Definition at line 6 of file idt.h.