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
chore: fix almost *ALL* warnings.
[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..c2a25351ff53bfecbdc6abdc0bd2fc56da33eb1e 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;
- 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));
} __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 */