aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/gdt/gdt.h
diff options
context:
space:
mode:
authorMarvin Borner2020-05-06 19:04:05 +0200
committerMarvin Borner2020-05-06 19:04:05 +0200
commitd94ffac4a584dc7a4f6f2ec567b8caab05ce9253 (patch)
tree559cd596a0a407d4b40c1d12d3c6a0686494da16 /src/kernel/gdt/gdt.h
parent1a8563a05608b5b5e27eada44cf4790926001c68 (diff)
New build parameters and shared includes
This changes many files but I've just applied some replace commands.. So - nothing special!
Diffstat (limited to 'src/kernel/gdt/gdt.h')
-rw-r--r--src/kernel/gdt/gdt.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/kernel/gdt/gdt.h b/src/kernel/gdt/gdt.h
index 5c6ae61..36d6744 100644
--- a/src/kernel/gdt/gdt.h
+++ b/src/kernel/gdt/gdt.h
@@ -1,15 +1,17 @@
#ifndef MELVIX_GDT_H
#define MELVIX_GDT_H
+#include <stdint.h>
+
/**
* Installs the Global Descriptor Table
*/
void gdt_install();
-void tss_write(int32_t num, uint16_t ss0, uint32_t esp0);
+void tss_write(s32 num, u16 ss0, u32 esp0);
void tss_flush();
-void set_kernel_stack(uintptr_t stack);
+void set_kernel_stack(u32 stack);
#endif \ No newline at end of file