kern: implement SvcSetHeapSize

This commit is contained in:
Michael Scire
2020-07-15 03:07:00 -07:00
committed by SciresM
parent 9c4c058307
commit 01a7606f95
5 changed files with 162 additions and 3 deletions

View File

@@ -17,6 +17,12 @@
#include <mesosphere/kern_common.hpp>
#include <mesosphere/init/kern_init_page_table_select.hpp>
#if defined(ATMOSPHERE_BOARD_NINTENDO_NX)
#include <mesosphere/board/nintendo/nx/kern_k_memory_layout.board.nintendo_nx.hpp>
#else
#error "Unknown board for KMemoryLayout"
#endif
namespace ams::kern {
constexpr size_t KernelAslrAlignment = 2_MB;