regression: elf loading
[lunaix-os.git] / lunaix-os / kernel / asm / x86 / tss.c
index 74dad78748e7aa4136bf67c75dec5c60b91483dc..45c01ee21939ab76198649b667d97077583bc7d3 100644 (file)
@@ -1,10 +1,12 @@
 #include <arch/x86/tss.h>
 #include <lunaix/common.h>
 
-struct x86_tss _tss = { .link = 0, .esp0 = KSTACK_TOP, .ss0 = KDATA_SEG };
+volatile struct x86_tss _tss = { .link = 0,
+                                 .esp0 = KSTACK_TOP,
+                                 .ss0 = KDATA_SEG };
 
 void
-tss_update_esp(uint32_t esp0)
+tss_update_esp(u32_t esp0)
 {
     _tss.esp0 = esp0;
 }
\ No newline at end of file