Finalise mvoe to Ring 3, add separate kernel stacks for each process, correctly switch between those kernel stacks within context_switch, etc

This commit is contained in:
2021-12-07 22:04:53 +00:00
parent cd56b924e1
commit 02e0bcd70e
10 changed files with 51 additions and 11 deletions
+1
View File
@@ -102,4 +102,5 @@ void init_gdt() {
"mov %%eax, %%ds;"
"mov $0x28, %%ax;"
"ltr %%ax" : : "m" (descr));
Global::tss = &tss;
}