feat: No more kernel page table switching upon interrupt.
[lunaix-os.git] / lunaix-os / kernel / asm / x86 / tss.c
index 894610739e112a5db8c37fa9999c0e9b61108ec5..c09db9e37e08bbaab8c42e17be81f03a06e5a494 100644 (file)
@@ -7,7 +7,6 @@ struct x86_tss _tss = {
     .ss0  = KDATA_SEG
 };
 
-void tss_update(uint32_t ss0, uint32_t esp0) {
+void tss_update_esp(uint32_t esp0) {
     _tss.esp0 = esp0;
-    _tss.ss0 = ss0;
 }
\ No newline at end of file