diff options
| author | Miguel <m.i@gmx.at> | 2018-09-09 11:49:30 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-09-09 11:49:30 +0200 |
| commit | e85a68e1536a0f6505300e1cb79f06b9743b00f7 (patch) | |
| tree | c503a7681720925c5f4923e26c01f7b2e697023d /kernel/gdt.h | |
| parent | fc1d491479abd74a1e038ad9ff7d4d330d79e4a8 (diff) | |
fixing implicit func declarations!
Diffstat (limited to 'kernel/gdt.h')
| -rw-r--r-- | kernel/gdt.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/gdt.h b/kernel/gdt.h index a234ea4..314cc99 100644 --- a/kernel/gdt.h +++ b/kernel/gdt.h @@ -2,6 +2,8 @@ // http://wiki.osdev.org/TSS // http://wiki.osdev.org/Global_Descriptor_Table +#include <stdint.h> + typedef volatile struct strtss{ unsigned short link; unsigned short link_h; @@ -44,3 +46,4 @@ typedef volatile struct strtss{ }__attribute__((packed)) tss_struct; void gdt_init(); +void install_tss(uint32_t cpu,uint32_t esp0); |
