Interrupts handler header.
More...
#include <stdint.h>
#include <stddef.h>
#include <graphics.h>
Go to the source code of this file.
Interrupts handler header.
- 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 isr.h.
◆ irq_handler
A function pointer for interrupt handlers.
Definition at line 29 of file isr.h.
◆ __attribute__()
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.
◆ registerInterruptHandler()
| void registerInterruptHandler |
( |
uint8_t | irq, |
|
|
irq_handler | handler ) |
Registers a handler for an interrupt.
- Parameters
-
| irq | The interrupt number of the handler |
| handler | Pointer to the handler function |
◆ cs
Definition at line 3 of file isr.h.
◆ err_code
Definition at line 2 of file isr.h.
◆ int_no
Definition at line 2 of file isr.h.
◆ r10
Definition at line 0 of file isr.h.
◆ r11
Definition at line 0 of file isr.h.
◆ r8
Definition at line 0 of file isr.h.
◆ r9
Definition at line 0 of file isr.h.
◆ rax
Definition at line 1 of file isr.h.
◆ rcx
Definition at line 1 of file isr.h.
◆ rdi
Definition at line 1 of file isr.h.
◆ rdx
Definition at line 1 of file isr.h.
◆ rflags
Definition at line 3 of file isr.h.
◆ rip
Definition at line 3 of file isr.h.
◆ rsi
Definition at line 1 of file isr.h.
◆ rsp
Definition at line 3 of file isr.h.
◆ ss
Definition at line 3 of file isr.h.