feat: TSS with a cup of my tears; Maan i fucking HATE intel.- Implemented TSS (it works!.. mostly..) - fun messages in panic - my first issue in this os! rectest() issue! running it causes triplefault without panic i plan to resolve rectest() when i get memory manager

This commit is contained in:
Karina
2025-12-23 04:16:31 +04:00
parent e834122e08
commit d7da0a8046
10 changed files with 141 additions and 19 deletions
+18
View File
@@ -19,6 +19,24 @@ typedef struct {
u64 base;
} __attribute__((packed)) GDTPtr;
typedef struct {
u32 reserved0;
u64 rsp0;
u64 rsp1;
u64 rsp2;
u64 reserved1;
u64 ist1;
u64 ist2;
u64 ist3;
u64 ist4;
u64 ist5;
u64 ist6;
u64 ist7;
u64 reserved2;
u16 reserved3;
u16 iomap_base;
} __attribute__((packed)) TSS;
void gdt_init();
#endif
+7
View File
@@ -0,0 +1,7 @@
#ifndef RAND_H
#define RAND_H
#include "types.h"
u64 shitrand();
#endif