mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-22 20:06:40 +00:00
fusee: fixup extents for chainloader/stack
This commit is contained in:
parent
2b81ed7315
commit
3b05315616
5 changed files with 16 additions and 16 deletions
|
@ -14,14 +14,14 @@ MEMORY
|
|||
{
|
||||
NULL : ORIGIN = 0x00000000, LENGTH = 0x1000
|
||||
main : ORIGIN = 0x40008000, LENGTH = 0x28000
|
||||
low_iram : ORIGIN = 0x40003000, LENGTH = 0x1000
|
||||
low_iram : ORIGIN = 0x40000000, LENGTH = 0x6000
|
||||
}
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
PROVIDE(__start__ = 0x40008000);
|
||||
PROVIDE(__stack_top__ = 0x40008000);
|
||||
PROVIDE(__stack_bottom__ = 0x40004000);
|
||||
PROVIDE(__stack_bottom__ = 0x40006000);
|
||||
PROVIDE(__heap_start__ = 0);
|
||||
PROVIDE(__heap_end__ = 0);
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#define CHAINLOADER_ARG_DATA_MAX_SIZE 0x640
|
||||
#define CHAINLOADER_ARG_DATA_MAX_SIZE 0x5400
|
||||
#define CHAINLOADER_MAX_ENTRIES 128
|
||||
|
||||
typedef struct chainloader_entry_t {
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
#define STAGE2_ADDRESS_KEY "stage2_addr"
|
||||
#define STAGE2_ENTRYPOINT_KEY "stage2_entrypoint"
|
||||
|
||||
#define BCTO_MAX_SIZE 0x5800
|
||||
#define BCTO_MAX_SIZE 0x5000
|
||||
|
||||
typedef struct {
|
||||
char path[0x100];
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#define STAGE2_ARGV_ARGUMENT_STRUCT 1
|
||||
#define STAGE2_ARGC 2
|
||||
|
||||
#define BCTO_MAX_SIZE 0x5800
|
||||
#define BCTO_MAX_SIZE 0x5000
|
||||
|
||||
typedef struct {
|
||||
uint32_t version;
|
||||
|
|
Loading…
Reference in a new issue