1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-12-20 17:32:13 +00:00

fusee: fixup extents for chainloader/stack

This commit is contained in:
Michael Scire 2020-11-29 18:41:19 -08:00
parent dc52610bd8
commit b9428dd2f3
5 changed files with 16 additions and 16 deletions

View file

@ -14,14 +14,14 @@ MEMORY
{ {
NULL : ORIGIN = 0x00000000, LENGTH = 0x1000 NULL : ORIGIN = 0x00000000, LENGTH = 0x1000
main : ORIGIN = 0x40008000, LENGTH = 0x28000 main : ORIGIN = 0x40008000, LENGTH = 0x28000
low_iram : ORIGIN = 0x40003000, LENGTH = 0x1000 low_iram : ORIGIN = 0x40000000, LENGTH = 0x6000
} }
SECTIONS SECTIONS
{ {
PROVIDE(__start__ = 0x40008000); PROVIDE(__start__ = 0x40008000);
PROVIDE(__stack_top__ = 0x40008000); PROVIDE(__stack_top__ = 0x40008000);
PROVIDE(__stack_bottom__ = 0x40004000); PROVIDE(__stack_bottom__ = 0x40006000);
PROVIDE(__heap_start__ = 0); PROVIDE(__heap_start__ = 0);
PROVIDE(__heap_end__ = 0); PROVIDE(__heap_end__ = 0);

View file

@ -20,7 +20,7 @@
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>
#define CHAINLOADER_ARG_DATA_MAX_SIZE 0x640 #define CHAINLOADER_ARG_DATA_MAX_SIZE 0x5400
#define CHAINLOADER_MAX_ENTRIES 128 #define CHAINLOADER_MAX_ENTRIES 128
typedef struct chainloader_entry_t { typedef struct chainloader_entry_t {

View file

@ -36,7 +36,7 @@
#define STAGE2_ADDRESS_KEY "stage2_addr" #define STAGE2_ADDRESS_KEY "stage2_addr"
#define STAGE2_ENTRYPOINT_KEY "stage2_entrypoint" #define STAGE2_ENTRYPOINT_KEY "stage2_entrypoint"
#define BCTO_MAX_SIZE 0x5800 #define BCTO_MAX_SIZE 0x5000
typedef struct { typedef struct {
char path[0x100]; char path[0x100];

View file

@ -25,7 +25,7 @@
#define STAGE2_ARGV_ARGUMENT_STRUCT 1 #define STAGE2_ARGV_ARGUMENT_STRUCT 1
#define STAGE2_ARGC 2 #define STAGE2_ARGC 2
#define BCTO_MAX_SIZE 0x5800 #define BCTO_MAX_SIZE 0x5000
typedef struct { typedef struct {
uint32_t version; uint32_t version;