aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc/cpu.h
diff options
context:
space:
mode:
authorMarvin Borner2021-04-10 00:26:39 +0200
committerMarvin Borner2021-04-10 00:26:39 +0200
commit9655593d80e23d2ea3c091e3187e8e47b278bc3d (patch)
treef618723fd9d457147f4663d2d4990f69fabb2d48 /kernel/inc/cpu.h
parenteeb88df1d501ccec4737c18dddb7ca0a1176304f (diff)
Gave procs own kernel stack (TSS)
Diffstat (limited to 'kernel/inc/cpu.h')
-rw-r--r--kernel/inc/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/inc/cpu.h b/kernel/inc/cpu.h
index 7ac6074..3d29e4f 100644
--- a/kernel/inc/cpu.h
+++ b/kernel/inc/cpu.h
@@ -32,6 +32,8 @@ void cr3_set(u32 cr3);
u32 cr4_get(void);
void cr4_set(u32 cr4);
+void tss_set_stack(u32 ss, u32 esp);
+
void clac(void);
void stac(void);