git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat: heap support and re-worked
[lunaix-os.git]
/
lunaix-os
/
includes
/
arch
/
x86
/
tss.h
diff --git
a/lunaix-os/includes/arch/x86/tss.h
b/lunaix-os/includes/arch/x86/tss.h
index 3310aa6c98b87b8e81d4c80f0b274a4b2f58df14..6643344f9955019b1b71d1bbf2ea4b8d970954bd 100644
(file)
--- a/
lunaix-os/includes/arch/x86/tss.h
+++ b/
lunaix-os/includes/arch/x86/tss.h
@@
-1,14
+1,16
@@
#ifndef __LUNAIX_TSS_H
#define __LUNAIX_TSS_H
#ifndef __LUNAIX_TSS_H
#define __LUNAIX_TSS_H
-#include <
stdint
.h>
+#include <
lunaix/types
.h>
-struct x86_tss {
- uint32_t link;
- uint32_t esp0;
+struct x86_tss
+{
+ u32_t link;
+ u32_t esp0;
uint16_t ss0;
uint8_t __padding[94];
} __attribute__((packed));
uint16_t ss0;
uint8_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 */
#endif /* __LUNAIX_TSS_H */