Implemented Paging! Moved Kernel to 0x100000, Moved TSS above 1M, Moved V86 to 0x8000, Moved Usermode test to 0x400000, Moved lots of things!
This commit is contained in:
2
tss.c
2
tss.c
@@ -33,7 +33,7 @@ struct __attribute__((__packed__)) tss_entry_struct {
|
||||
};
|
||||
struct tss_entry_struct *tss_data;
|
||||
void write_tss() {
|
||||
tss_data = (struct tss_entry_struct *)0x20000;
|
||||
tss_data = (struct tss_entry_struct *)0x200000;
|
||||
for (int i = 0; i < 0x2080; i++)
|
||||
((uint8_t*)tss_data)[i] = 0;
|
||||
tss_data->ss0 = 0x10;
|
||||
|
Reference in New Issue
Block a user