diff options
author | Marvin Borner | 2020-01-16 17:15:53 +0100 |
---|---|---|
committer | Marvin Borner | 2020-01-16 17:15:53 +0100 |
commit | cd3ad989210dc8a3f5805dd5d4c4a6bd74e281db (patch) | |
tree | 015fa67057b1ca14a86a8faf4d1cabb0356467b2 /src/kernel/gdt/gdt.h | |
parent | 602b98247e9c87e38870e39abf1d8b13aeae5d0f (diff) |
Quite a different approach to userspace paging
Hope this works soon!
Diffstat (limited to 'src/kernel/gdt/gdt.h')
-rw-r--r-- | src/kernel/gdt/gdt.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/kernel/gdt/gdt.h b/src/kernel/gdt/gdt.h index da36445..0e77103 100644 --- a/src/kernel/gdt/gdt.h +++ b/src/kernel/gdt/gdt.h @@ -6,8 +6,10 @@ */ void gdt_install(); -void tss_write(int32_t num, uint16_t ss0); +void tss_write(int32_t num, uint16_t ss0, uint32_t esp0); void tss_flush(); +void set_kernel_stack(uintptr_t stack); + #endif |