more userlaand stuff

This commit is contained in:
2026-06-17 18:16:47 -05:00
parent 0cb7311911
commit 7d34fbbd02
11 changed files with 116 additions and 13 deletions

View File

@@ -4,11 +4,11 @@
#include <stdint.h>
typedef struct __attribute__((packed)){
uint16_t isr_low; // The lower 16 bits of the ISR's address
uint16_t kernel_cs; // The GDT segment selector the CPU will load into CS
uint8_t reserved; // Set to 0
uint8_t attributes;// Type and attributes flags
uint16_t isr_high; // The higher 16 bits of the ISR's address
uint16_t isr_low;
uint16_t selector;
uint8_t reserved;
uint8_t attributes;
uint16_t isr_high;
} idt_entry;
typedef struct __attribute__((packed)){