boot: reduce memory footprint

This commit is contained in:
Michael Scire 2019-10-18 21:30:26 -07:00 committed by SciresM
parent 6abd756e0c
commit ae2fa2fa60
2 changed files with 3 additions and 3 deletions

View file

@ -46,8 +46,8 @@ extern "C" {
u32 __nx_applet_type = AppletType_None;
/* TODO: Evaluate to what extent this can be reduced. */
#define INNER_HEAP_SIZE 0x200000
/* TODO: Evaluate to what extent this can be reduced further. */
#define INNER_HEAP_SIZE 0x20000
size_t nx_inner_heap_size = INNER_HEAP_SIZE;
char nx_inner_heap[INNER_HEAP_SIZE];

View file

@ -25,7 +25,7 @@ namespace sts::boot {
namespace {
/* Globals. */
u8 __attribute__((aligned(0x1000))) g_boot_image_work_buffer[0x10000];
alignas(0x1000) u8 g_boot_image_work_buffer[0x10000];
}