1
0
Fork 0
forked from suyu/suyu
suyu/src/core
Lioncash 586cab6172 kernel/vm_manager: Tidy up heap allocation code
Another holdover from citra that can be tossed out is the notion of the
heap needing to be allocated in different addresses. On the switch, the
base address of the heap will always be managed by the memory allocator
in the kernel, so this doesn't need to be specified in the function's
interface itself.

The heap on the switch is always allocated with read/write permissions,
so we don't need to add specifying the memory permissions as part of the
heap allocation itself either.

This also corrects the error code returned from within the function.
If the size of the heap is larger than the entire heap region, then the
kernel will report an out of memory condition.
2019-03-24 16:17:31 -04:00
..
arm core: Move PageTable struct into Common. 2019-03-16 22:05:40 -04:00
crypto Fixes Unicode Key File Directories (#2120) 2019-02-20 21:24:25 -05:00
file_sys Merge pull request #2221 from DarkLordZach/firmware-version 2019-03-23 13:48:29 -04:00
frontend Merge pull request #2170 from lioncash/emu-window 2019-02-27 11:26:24 -05:00
gdbstub gdbstub: only let Execute breakpoints write/restore BKPT opcodes into target memory 2019-02-06 19:07:35 +01:00
hle kernel/vm_manager: Tidy up heap allocation code 2019-03-24 16:17:31 -04:00
loader Merge pull request #2280 from lioncash/nso 2019-03-23 13:46:09 -04:00
tracer Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
CMakeLists.txt Merge pull request #2221 from DarkLordZach/firmware-version 2019-03-23 13:48:29 -04:00
core.cpp file_sys/cheat_engine: Remove use of global system accessors 2019-03-22 14:43:37 -04:00
core.h Merge pull request #1933 from DarkLordZach/cheat-engine 2019-03-21 21:41:59 -04:00
core_cpu.cpp kernel/scheduler: Pass in system instance in constructor 2019-03-04 17:01:37 -05:00
core_cpu.h kernel/scheduler: Pass in system instance in constructor 2019-03-04 17:01:37 -05:00
core_timing.cpp core_timing: Convert core timing into a class 2019-02-15 21:50:25 -05:00
core_timing.h core_timing: Convert core timing into a class 2019-02-15 21:50:25 -05:00
core_timing_util.cpp Corrections, documenting and fixes. 2019-02-16 16:52:24 -04:00
core_timing_util.h Use u128 on Clock Cycles calculation. 2019-02-15 22:57:16 -04:00
cpu_core_manager.cpp kernel/scheduler: Pass in system instance in constructor 2019-03-04 17:01:37 -05:00
cpu_core_manager.h core: Relocate CPU core management to its own class 2018-11-22 04:28:19 -05:00
memory.cpp memory: Check that core is powered on before attempting to use GPU. 2019-03-20 22:36:03 -04:00
memory.h core/memory: Remove unnecessary includes 2019-03-21 09:48:54 -04:00
memory_setup.h core: Move PageTable struct into Common. 2019-03-16 22:05:40 -04:00
perf_stats.cpp perf_stats: Remove unused variable within DoFrameLimiting() 2018-10-24 00:33:26 -04:00
perf_stats.h core/core: Replace includes with forward declarations where applicable 2018-08-31 16:30:14 -04:00
settings.cpp clang fix 2019-03-09 16:42:56 +02:00
settings.h settings: Add new graphics setting for use_asynchronous_gpu_emulation. 2019-03-06 21:09:09 -05:00
telemetry_session.cpp settings: Add new graphics setting for use_asynchronous_gpu_emulation. 2019-03-06 21:09:09 -05:00
telemetry_session.h compatdb: Use a seperate endpoint for testcase submission 2018-10-28 13:23:02 +01:00