TE smol edition

Makefile made by dennthecafebabe
This commit is contained in:
suchmememanyskill
2021-01-31 19:59:28 +01:00
parent 853cf4f5cf
commit 3499ad1549
14 changed files with 1078 additions and 6 deletions

View File

@@ -20,9 +20,9 @@
//#define IPL_STACK_TOP 0x4003FF00
/* --- BIT/BCT: 0x40000000 - 0x40003000 --- */
/* --- IPL: 0x40003000 - 0x40028000 --- */
#define LDR_LOAD_ADDR 0x40007000
#define LDR_LOAD_ADDR 0x40003000
#define IPL_LOAD_ADDR 0x40003000
#define IPL_LOAD_ADDR 0x40008000
#define IPL_SZ_MAX 0x20000 // 128KB.
/* --- XUSB EP context and TRB ring buffers --- */

View File

@@ -103,6 +103,14 @@ typedef struct __attribute__((__packed__)) _boot_cfg_t
};
} boot_cfg_t;
typedef struct __attribute__((__packed__)) _ipl_ver_meta_t
{
u32 magic;
u32 version;
u16 rsvd0;
u16 rsvd1;
} ipl_ver_meta_t;
typedef struct __attribute__((__packed__)) _reloc_meta_t
{
u32 start;