chore: fix almost *ALL* warnings.
[lunaix-os.git] / lunaix-os / includes / arch / x86 / tss.h
index 3310aa6c98b87b8e81d4c80f0b274a4b2f58df14..c2a25351ff53bfecbdc6abdc0bd2fc56da33eb1e 100644 (file)
@@ -1,14 +1,16 @@
 #ifndef __LUNAIX_TSS_H
 #define __LUNAIX_TSS_H
-#include <stdint.h>
+#include <lunaix/types.h>
 
-struct x86_tss {
-    uint32_t link;
-    uint32_t esp0;
-    uint16_t ss0;
-    uint8_t __padding[94];
+struct x86_tss
+{
+    u32_t link;
+    u32_t esp0;
+    u16_t ss0;
+    u8_t __padding[94];
 } __attribute__((packed));
 
-void tss_update(uint32_t ss0, uint32_t esp0);
+void
+tss_update_esp(u32_t esp0);
+
 #endif /* __LUNAIX_TSS_H */