mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +00:00
Kernel: Rename {ss,esp}_if_crossRing to userspace_{ss,esp}
These were always so awkwardly named.
This commit is contained in:
parent
f007a63b10
commit
17ef5bc0ac
6 changed files with 15 additions and 15 deletions
|
@ -104,8 +104,8 @@ void syscall_handler(RegisterDump regs)
|
|||
|
||||
auto& process = current->process();
|
||||
|
||||
if (!MM.validate_user_stack(process, VirtualAddress(regs.esp_if_crossRing))) {
|
||||
dbgprintf("Invalid stack pointer: %p\n", regs.esp_if_crossRing);
|
||||
if (!MM.validate_user_stack(process, VirtualAddress(regs.userspace_esp))) {
|
||||
dbgprintf("Invalid stack pointer: %p\n", regs.userspace_esp);
|
||||
handle_crash(regs, "Bad stack on syscall entry", SIGSTKFLT);
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue