mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-29 07:47:59 +00:00
Fix release compilation
This commit is contained in:
parent
3dc1981820
commit
603a21c3d2
@ -51,8 +51,10 @@ namespace Memory
|
|||||||
{
|
{
|
||||||
bool result = PDPTE->Entries[Index.PDPTEIndex].raw & Flag;
|
bool result = PDPTE->Entries[Index.PDPTEIndex].raw & Flag;
|
||||||
if (!result)
|
if (!result)
|
||||||
|
{
|
||||||
debug("Failed to check %#lx for %#lx (raw: %#lx)", VirtualAddress, Flag,
|
debug("Failed to check %#lx for %#lx (raw: %#lx)", VirtualAddress, Flag,
|
||||||
PDPTE->Entries[Index.PDPTEIndex].raw);
|
PDPTE->Entries[Index.PDPTEIndex].raw);
|
||||||
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -67,8 +69,10 @@ namespace Memory
|
|||||||
{
|
{
|
||||||
bool result = PDE->Entries[Index.PDEIndex].raw & Flag;
|
bool result = PDE->Entries[Index.PDEIndex].raw & Flag;
|
||||||
if (!result)
|
if (!result)
|
||||||
|
{
|
||||||
debug("Failed to check %#lx for %#lx (raw: %#lx)", VirtualAddress, Flag,
|
debug("Failed to check %#lx for %#lx (raw: %#lx)", VirtualAddress, Flag,
|
||||||
PDE->Entries[Index.PDEIndex].raw);
|
PDE->Entries[Index.PDEIndex].raw);
|
||||||
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,8 +85,10 @@ namespace Memory
|
|||||||
|
|
||||||
bool result = PTE->Entries[Index.PTEIndex].raw & Flag;
|
bool result = PTE->Entries[Index.PTEIndex].raw & Flag;
|
||||||
if (!result)
|
if (!result)
|
||||||
|
{
|
||||||
debug("Failed to check %#lx for %#lx (raw: %#lx)", VirtualAddress, Flag,
|
debug("Failed to check %#lx for %#lx (raw: %#lx)", VirtualAddress, Flag,
|
||||||
PTE->Entries[Index.PTEIndex].raw);
|
PTE->Entries[Index.PTEIndex].raw);
|
||||||
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -316,7 +316,7 @@ void SetSigActToLinux(const SignalAction *native, k_sigaction *linux)
|
|||||||
mask = ConvertMaskToLinux(mask);
|
mask = ConvertMaskToLinux(mask);
|
||||||
|
|
||||||
linux->mask[0] = mask & 0xFFFFFFFF;
|
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);
|
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);
|
UNUSED(pNewLimit);
|
||||||
|
|
||||||
if (new_limit)
|
if (new_limit)
|
||||||
|
{
|
||||||
debug("new limit: rlim_cur:%#lx rlim_max:%#lx", pNewLimit->rlim_cur, pNewLimit->rlim_max);
|
debug("new limit: rlim_cur:%#lx rlim_max:%#lx", pNewLimit->rlim_cur, pNewLimit->rlim_max);
|
||||||
|
}
|
||||||
|
|
||||||
if (old_limit)
|
if (old_limit)
|
||||||
|
{
|
||||||
debug("old limit: rlim_cur:%#lx rlim_max:%#lx", pOldLimit->rlim_cur, pOldLimit->rlim_max);
|
debug("old limit: rlim_cur:%#lx rlim_max:%#lx", pOldLimit->rlim_cur, pOldLimit->rlim_max);
|
||||||
|
}
|
||||||
|
|
||||||
switch (resource)
|
switch (resource)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user