hos: Add support for mesosphere

The change adds support for mesosphere loading from fss0 or sd (kernel=).
This commit is contained in:
CTCaer
2020-10-17 23:18:48 +03:00
parent d825be5eb2
commit bf222290b8
4 changed files with 15 additions and 2 deletions

View File

@@ -30,6 +30,8 @@
#define PKG2_NEWKERN_GET_INI1_HEURISTIC 0xD2800015 // Offset of OP + 12 is the INI1 offset.
#define PKG2_NEWKERN_START 0x800
#define ATM_MESOSPHERE 0x3053534D
extern u32 pkg2_newkern_ini1_val;
extern u32 pkg2_newkern_ini1_start;
extern u32 pkg2_newkern_ini1_end;