Initial commit

This commit is contained in:
Gericom
2025-11-22 11:08:28 +01:00
commit 9cf3ffbfcf
358 changed files with 58350 additions and 0 deletions

44
common/moduleParams.h Normal file
View File

@@ -0,0 +1,44 @@
#pragma once
#define MODULE_PARAMS_NTR_MAGIC_LE 0x2106C0DE
#define MODULE_PARAMS_NTR_MAGIC_BE 0xDEC00621
#define MODULE_PARAMS_TWL_MAGIC_LE 0x6314C0DE
#define MODULE_PARAMS_TWL_MAGIC_BE 0xDEC01463
struct module_params_ntr_t
{
u32 autoloadListStart;
u32 autoloadListEnd;
u32 autoloadStart;
u32 bssStart;
u32 bssEnd;
u32 compressedEnd;
u32 sdkVersion;
u32 magicBigEndian; //0xDEC00621
u32 magicLittleEndian; //0x2106C0DE
};
// for the twl binaries of a hybrid or limited rom
struct module_params_twl_t
{
u32 autoloadListStart;
u32 autoloadListEnd;
u32 autoloadStart;
u32 compressedEnd;
u32 magicBigEndian; //0xDEC01463
u32 magicLittleEndian; //0x6314C0DE
};
// only on sdk 5
struct build_params_t
{
u32 reserved0[4];
u8 buildCode;
u8 sdkTarget;
u8 reserved1[2];
u8 version;
u8 reserved2[3];
u32 magicBigEndian; //0xDEC08133
u32 magicLittleEndian; //0x3381C0DE
};