mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:07:36 +00:00
Kernel: Improve API names for switching address spaces
- enter_space => enter_address_space - enter_process_paging_scope => enter_process_address_space
This commit is contained in:
parent
298cd57fe7
commit
cd8d52e6ae
6 changed files with 11 additions and 11 deletions
|
@ -23,7 +23,7 @@ void __assertion_failed(const char* msg, const char* file, unsigned line, const
|
|||
// Switch back to the current process's page tables if there are any.
|
||||
// Otherwise stack walking will be a disaster.
|
||||
if (Process::has_current())
|
||||
MM.enter_process_paging_scope(Process::current());
|
||||
MM.enter_process_address_space(Process::current());
|
||||
|
||||
PANIC("Aborted");
|
||||
}
|
||||
|
|
|
@ -221,7 +221,7 @@ void handle_crash(RegisterState const& regs, char const* description, int signal
|
|||
|
||||
// If a process crashed while inspecting another process,
|
||||
// make sure we switch back to the right page tables.
|
||||
MM.enter_process_paging_scope(process);
|
||||
MM.enter_process_address_space(process);
|
||||
|
||||
dmesgln("CRASH: CPU #{} {} in ring {}", Processor::current_id(), description, (regs.cs & 3));
|
||||
dump(regs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue