diff options
author | Marvin Borner | 2021-04-10 00:26:39 +0200 |
---|---|---|
committer | Marvin Borner | 2021-04-10 00:26:39 +0200 |
commit | 9655593d80e23d2ea3c091e3187e8e47b278bc3d (patch) | |
tree | f618723fd9d457147f4663d2d4990f69fabb2d48 /kernel/inc/cpu.h | |
parent | eeb88df1d501ccec4737c18dddb7ca0a1176304f (diff) |
Gave procs own kernel stack (TSS)
Diffstat (limited to 'kernel/inc/cpu.h')
-rw-r--r-- | kernel/inc/cpu.h | 2 |
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); |