mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:47:34 +00:00
Kernel: Rename Process::is_ring0/3 to Process::is_kernel/user_process
Since "rings" typically refer to code execution and user processes can also execute in ring 0, rename these functions to more accurately describe what they mean: kernel processes and user processes.
This commit is contained in:
parent
19ffd9d677
commit
0fab0ee96a
8 changed files with 18 additions and 23 deletions
|
@ -1393,7 +1393,7 @@ extern "C" void post_init_finished(void)
|
|||
|
||||
void Processor::initialize_context_switching(Thread& initial_thread)
|
||||
{
|
||||
ASSERT(initial_thread.process().is_ring0());
|
||||
ASSERT(initial_thread.process().is_kernel_process());
|
||||
|
||||
auto& tss = initial_thread.tss();
|
||||
m_tss = tss;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue