mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-10 06:01:52 +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
|
@ -70,10 +70,10 @@ namespace ams::kern {
|
|||
}
|
||||
|
||||
void DumpMemoryInfo(const KMemoryInfo &info) {
|
||||
const char *state = GetMemoryStateName(info.state);
|
||||
const char *perm = GetMemoryPermissionString(info);
|
||||
const void *start = reinterpret_cast<void *>(info.GetAddress());
|
||||
const void *end = reinterpret_cast<void *>(info.GetLastAddress());
|
||||
const char *state = GetMemoryStateName(info.state);
|
||||
const char *perm = GetMemoryPermissionString(info);
|
||||
const uintptr_t start = info.GetAddress();
|
||||
const uintptr_t end = info.GetLastAddress();
|
||||
const size_t kb = info.GetSize() / 1_KB;
|
||||
|
||||
const char l = (info.attribute & KMemoryAttribute_Locked) ? 'L' : '-';
|
||||
|
|
Loading…
Reference in a new issue