diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2021-03-16 20:46:15 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2021-03-16 20:46:15 +0200 |
commit | 785d20a6b809e140448108e29b791d59c4650c91 (patch) | |
tree | 2617763dac6520d83a969157e89c339ee70c6ee3 /src/cpu | |
parent | Switch lto to full (diff) | |
download | kernel.cpp-785d20a6b809e140448108e29b791d59c4650c91.tar.xz |
Mostly fix scheduler throwing page faults
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/registers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/registers.h b/src/cpu/registers.h index d2f2e74..cbeeeb4 100644 --- a/src/cpu/registers.h +++ b/src/cpu/registers.h @@ -10,7 +10,7 @@ struct cpu_state { uint32_t edi; // destination index: string, memory copying and setting, far pointer addressing with ES uint32_t esi; // source index: string and memory copying uint32_t ebp; // stack base pointer - const uint32_t esp; // stack pointer; this register is not used by popa + uint32_t esp; // stack pointer; this register is not used by popa // general registers uint32_t ebx; // base register: base pointer for memory access |