Kernel/Scheduler: Display addresses starting with 0x when creating threads
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
471103e4f3
commit
8ee634d19b
@ -33,7 +33,7 @@ namespace Scheduler
|
|||||||
|
|
||||||
g_idle.stack = idle_stack;
|
g_idle.stack = idle_stack;
|
||||||
|
|
||||||
kinfoln("CREATED IDLE THREAD: id %lu with ip %lx and sp %lx", g_idle.id, g_idle.ip(), g_idle.sp());
|
kinfoln("CREATED IDLE THREAD: id %lu with ip %#lx and sp %#lx", g_idle.id, g_idle.ip(), g_idle.sp());
|
||||||
|
|
||||||
g_current = &g_idle;
|
g_current = &g_idle;
|
||||||
}
|
}
|
||||||
@ -66,7 +66,7 @@ namespace Scheduler
|
|||||||
|
|
||||||
g_threads.append(thread);
|
g_threads.append(thread);
|
||||||
|
|
||||||
kinfoln("CREATED THREAD: id %lu with ip %lx and sp %lx", thread->id, thread->ip(), thread->sp());
|
kinfoln("CREATED THREAD: id %lu with ip %#lx and sp %#lx", thread->id, thread->ip(), thread->sp());
|
||||||
|
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
@ -148,7 +148,7 @@ namespace Scheduler
|
|||||||
guard.deactivate();
|
guard.deactivate();
|
||||||
directory_guard.deactivate();
|
directory_guard.deactivate();
|
||||||
|
|
||||||
kinfoln("CREATED USERSPACE THREAD: id %lu with ip %lx and sp %lx (ksp %lx)", thread->id, thread->ip(),
|
kinfoln("CREATED USERSPACE THREAD: id %lu with ip %#.16lx and sp %#.16lx (ksp %#lx)", thread->id, thread->ip(),
|
||||||
thread->sp(), thread->kernel_stack.top());
|
thread->sp(), thread->kernel_stack.top());
|
||||||
|
|
||||||
g_threads.append(thread);
|
g_threads.append(thread);
|
||||||
|
Loading…
Reference in New Issue
Block a user