mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-02-07 14:51:26 +01:00
kern: fix building debug config
This commit is contained in:
parent
d8ae1d873c
commit
17c8c390fc
@ -70,10 +70,10 @@ namespace ams::kern {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void DumpMemoryInfo(const KMemoryInfo &info) {
|
void DumpMemoryInfo(const KMemoryInfo &info) {
|
||||||
const char *state = GetMemoryStateName(info.state);
|
const char *state = GetMemoryStateName(info.state);
|
||||||
const char *perm = GetMemoryPermissionString(info);
|
const char *perm = GetMemoryPermissionString(info);
|
||||||
const void *start = reinterpret_cast<void *>(info.GetAddress());
|
const uintptr_t start = info.GetAddress();
|
||||||
const void *end = reinterpret_cast<void *>(info.GetLastAddress());
|
const uintptr_t end = info.GetLastAddress();
|
||||||
const size_t kb = info.GetSize() / 1_KB;
|
const size_t kb = info.GetSize() / 1_KB;
|
||||||
|
|
||||||
const char l = (info.attribute & KMemoryAttribute_Locked) ? 'L' : '-';
|
const char l = (info.attribute & KMemoryAttribute_Locked) ? 'L' : '-';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user