mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-30 00:08:03 +00:00
Replaced "schedbg" to "trace"
This commit is contained in:
parent
d540462e0a
commit
d5ac3226b2
@ -540,18 +540,18 @@ namespace Tasking
|
|||||||
{
|
{
|
||||||
if (CurrentCPU->CurrentThread->Security.IsDebugEnabled && CurrentCPU->CurrentThread->Security.IsKernelDebugEnabled)
|
if (CurrentCPU->CurrentThread->Security.IsDebugEnabled && CurrentCPU->CurrentThread->Security.IsKernelDebugEnabled)
|
||||||
{
|
{
|
||||||
schedbg("================================================================");
|
trace("================================================================");
|
||||||
schedbg("%s[%ld]:", CurrentCPU->CurrentThread->Name, CurrentCPU->CurrentThread->ID);
|
trace("%s[%ld]:", CurrentCPU->CurrentThread->Name, CurrentCPU->CurrentThread->ID);
|
||||||
schedbg("R8=%#lx R9=%#lx R10=%#lx R11=%#lx",
|
trace("R8=%#lx R9=%#lx R10=%#lx R11=%#lx",
|
||||||
Frame->r8, Frame->r9, Frame->r10, Frame->r11);
|
Frame->r8, Frame->r9, Frame->r10, Frame->r11);
|
||||||
schedbg("R12=%#lx R13=%#lx R14=%#lx R15=%#lx",
|
trace("R12=%#lx R13=%#lx R14=%#lx R15=%#lx",
|
||||||
Frame->r12, Frame->r13, Frame->r14, Frame->r15);
|
Frame->r12, Frame->r13, Frame->r14, Frame->r15);
|
||||||
schedbg("RAX=%#lx RBX=%#lx RCX=%#lx RDX=%#lx",
|
trace("RAX=%#lx RBX=%#lx RCX=%#lx RDX=%#lx",
|
||||||
Frame->rax, Frame->rbx, Frame->rcx, Frame->rdx);
|
Frame->rax, Frame->rbx, Frame->rcx, Frame->rdx);
|
||||||
schedbg("RSI=%#lx RDI=%#lx RBP=%#lx RSP=%#lx",
|
trace("RSI=%#lx RDI=%#lx RBP=%#lx RSP=%#lx",
|
||||||
Frame->rsi, Frame->rdi, Frame->rbp, Frame->rsp);
|
Frame->rsi, Frame->rdi, Frame->rbp, Frame->rsp);
|
||||||
schedbg("RIP=%#lx RFL=%#lx INT=%#lx ERR=%#lx",
|
trace("RIP=%#lx RFL=%#lx INT=%#lx ERR=%#lx",
|
||||||
Frame->rip, Frame->rflags, Frame->InterruptNumber, Frame->ErrorCode);
|
Frame->rip, Frame->rflags, Frame->InterruptNumber, Frame->ErrorCode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user