2
0
Fork 0
mirror of https://github.com/yuzu-mirror/yuzu synced 2024-12-26 07:03:04 +00:00
yuzu/src
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
..
audio_core audio_core/cubeb_sink: Convert _MSC_VER ifdefs to _WIN32 2019-03-09 18:06:23 -05:00
common Merge pull request from bunnei/gpu-vmm 2019-03-22 18:41:12 -04:00
core kernel/vm_manager: Tidy up heap allocation code 2019-03-24 16:17:31 -04:00
input_common input_common/sdl: Correct return values within implementations of GetPollers() 2019-03-18 11:40:38 -04:00
tests Merge pull request from FearlessTobi/port-4599 2019-03-20 23:44:20 -04:00
video_core Merge pull request from bunnei/gpu-vmm 2019-03-22 18:41:12 -04:00
web_service web_service: Remove unnecessary inclusions 2019-03-02 14:58:49 -05:00
yuzu gpu: Move GPUVAddr definition to common_types. 2019-03-20 22:36:02 -04:00
yuzu_cmd Fix getopt on systems where char is unsigned by default 2019-03-19 23:53:40 +01:00
.clang-format Remove special rules for Windows.h and library includes 2016-09-21 00:16:33 -07:00
CMakeLists.txt CMakeLists: Move off of modifying CMAKE_*-related flags 2019-03-17 06:55:24 -04:00