exec: More logging
This commit is contained in:
parent
d30010d524
commit
1624f0360d
@ -75,8 +75,12 @@ void sys_exec(Context* context, const char* pathname)
|
|||||||
|
|
||||||
if (task->address_space.is_cloned())
|
if (task->address_space.is_cloned())
|
||||||
{
|
{
|
||||||
|
kdbgln("Detaching cloned address space, %p, %s", (void*)task->address_space.get_pml4(),
|
||||||
|
task->address_space.is_cloned() ? "is cloned" : "is not cloned");
|
||||||
task->address_space.detach();
|
task->address_space.detach();
|
||||||
VMM::switch_to_user_address_space(task->address_space);
|
VMM::switch_to_user_address_space(task->address_space);
|
||||||
|
kdbgln("Detached cloned address space, %p, %s", (void*)task->address_space.get_pml4(),
|
||||||
|
task->address_space.is_cloned() ? "is cloned" : "is not cloned");
|
||||||
}
|
}
|
||||||
|
|
||||||
// At this point, pretty much nothing can fail.
|
// At this point, pretty much nothing can fail.
|
||||||
|
Loading…
Reference in New Issue
Block a user