Fix release compilation

This commit is contained in:
EnderIce2 2024-03-27 19:58:10 +02:00
parent 3dc1981820
commit 603a21c3d2
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD
2 changed files with 12 additions and 1 deletions

View File

@ -51,8 +51,10 @@ namespace Memory
{
bool result = PDPTE->Entries[Index.PDPTEIndex].raw & Flag;
if (!result)
{
debug("Failed to check %#lx for %#lx (raw: %#lx)", VirtualAddress, Flag,
PDPTE->Entries[Index.PDPTEIndex].raw);
}
return result;
}
@ -67,8 +69,10 @@ namespace Memory
{
bool result = PDE->Entries[Index.PDEIndex].raw & Flag;
if (!result)
{
debug("Failed to check %#lx for %#lx (raw: %#lx)", VirtualAddress, Flag,
PDE->Entries[Index.PDEIndex].raw);
}
return result;
}
@ -81,8 +85,10 @@ namespace Memory
bool result = PTE->Entries[Index.PTEIndex].raw & Flag;
if (!result)
{
debug("Failed to check %#lx for %#lx (raw: %#lx)", VirtualAddress, Flag,
PTE->Entries[Index.PTEIndex].raw);
}
return result;
}

View File

@ -316,7 +316,7 @@ void SetSigActToLinux(const SignalAction *native, k_sigaction *linux)
mask = ConvertMaskToLinux(mask);
linux->mask[0] = mask & 0xFFFFFFFF;
linux->mask[1] = (mask >> 32) & 0xFFFFFFFF;
linux->mask[1] = (uint32_t)((mask >> 32) & 0xFFFFFFFF);
debug("m0:%#lx m1:%#lx | n:%#lx", linux->mask[0], linux->mask[1], native->Mask);
}
@ -2442,9 +2442,14 @@ static int linux_prlimit64(SysFrm *, pid_t pid, int resource,
UNUSED(pNewLimit);
if (new_limit)
{
debug("new limit: rlim_cur:%#lx rlim_max:%#lx", pNewLimit->rlim_cur, pNewLimit->rlim_max);
}
if (old_limit)
{
debug("old limit: rlim_cur:%#lx rlim_max:%#lx", pOldLimit->rlim_cur, pOldLimit->rlim_max);
}
switch (resource)
{