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:
@@ -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
|
||||
@@ -0,0 +1,7 @@
|
||||
#ifndef RAND_H
|
||||
#define RAND_H
|
||||
#include "types.h"
|
||||
|
||||
u64 shitrand();
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user