Memmap: Re-organize memory function in two files

memory.cpp/h contains definitions related to acessing memory and
configuring the address space
mem_map.cpp/h contains higher-level definitions related to configuring
the address space accoording to the kernel and allocating memory.
This commit is contained in:
Yuri Kunde Schlesner 2015-05-12 22:38:29 -03:00
parent a251721bf3
commit 7ada357b2d
34 changed files with 254 additions and 266 deletions

View file

@ -315,7 +315,7 @@ static ResultCode GetResourceLimitCurrentValues(s64* values, Handle resource_lim
s32 name_count) {
LOG_ERROR(Kernel_SVC, "(UNIMPLEMENTED) called resource_limit=%08X, names=%p, name_count=%d",
resource_limit, names, name_count);
Memory::Write32(Core::g_app_core->GetReg(0), 0); // Normmatt: Set used memory to 0 for now
values[0] = 0; // Normmatt: Set used memory to 0 for now
return RESULT_SUCCESS;
}