From 7d5a9792e57b4088cce5cc97837eb04016b57a4d Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 31 Oct 2019 00:49:00 +0100 Subject: Implemented basic syscalls and user mode Doesn't completely work right now --- src/kernel/gdt/gdt.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/kernel/gdt/gdt.h') diff --git a/src/kernel/gdt/gdt.h b/src/kernel/gdt/gdt.h index de8a6ff..0fffc20 100644 --- a/src/kernel/gdt/gdt.h +++ b/src/kernel/gdt/gdt.h @@ -6,4 +6,6 @@ */ void gdt_install(); +void tss_write(int32_t num, uint16_t ss0, uint32_t esp0); + #endif -- cgit v1.2.3