kernel: Patches to run processes in Ring 3.

This commit is contained in:
RaphProductions 2025-05-07 13:14:18 +02:00
parent 8f6399e309
commit e6a2c1e240
10 changed files with 271 additions and 22 deletions

View file

@ -26,7 +26,7 @@ typedef struct {
typedef struct {
uint32_t resv;
uint64_t rsp[3];
uint64_t rsp[4];
uint64_t resv1;
uint64_t ist[7];
uint64_t resv2;
@ -34,4 +34,4 @@ typedef struct {
uint16_t iopb;
} __attribute__((packed)) tssr; // Per CPU
void gdt_init();
void gdt_init(char* kstack);