mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:27:43 +00:00
Kernel: Use dbgln_if() in sys$fork()
This commit is contained in:
parent
ea81a4a529
commit
5a595ef134
1 changed files with 1 additions and 3 deletions
|
@ -75,9 +75,7 @@ pid_t Process::sys$fork(RegisterState& regs)
|
||||||
child_tss.gs = regs.gs;
|
child_tss.gs = regs.gs;
|
||||||
child_tss.ss = regs.userspace_ss;
|
child_tss.ss = regs.userspace_ss;
|
||||||
|
|
||||||
#if FORK_DEBUG
|
dbgln_if(FORK_DEBUG, "fork: child will begin executing at {:04x}:{:08x} with stack {:04x}:{:08x}, kstack {:04x}:{:08x}", child_tss.cs, child_tss.eip, child_tss.ss, child_tss.esp, child_tss.ss0, child_tss.esp0);
|
||||||
dbgln("fork: child will begin executing at {:04x}:{:08x} with stack {:04x}:{:08x}, kstack {:04x}:{:08x}", child_tss.cs, child_tss.eip, child_tss.ss, child_tss.esp, child_tss.ss0, child_tss.esp0);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
{
|
{
|
||||||
ScopedSpinLock lock(space().get_lock());
|
ScopedSpinLock lock(space().get_lock());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue