mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-23 04:41:12 +00:00
kern: fix building debug config
This commit is contained in:
parent
d8ae1d873c
commit
17c8c390fc
1 changed files with 4 additions and 4 deletions
|
@ -72,8 +72,8 @@ 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…
Reference in a new issue