mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:48:12 +00:00
Kernel: Rename region_from_foo() => find_region_from_foo()
Let's emphasize that these functions actually go out and find regions.
This commit is contained in:
parent
2e2de125e5
commit
be7add690d
8 changed files with 21 additions and 21 deletions
|
@ -148,7 +148,7 @@ void syscall_handler(TrapFrame* trap)
|
|||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
auto* calling_region = MM.region_from_vaddr(process, VirtualAddress(regs.eip));
|
||||
auto* calling_region = MM.find_region_from_vaddr(process, VirtualAddress(regs.eip));
|
||||
if (!calling_region) {
|
||||
dbg() << "Syscall from " << String::format("%p", regs.eip) << " which has no region";
|
||||
handle_crash(regs, "Syscall from unknown region", SIGSEGV);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue