loader: update for 20.0.0/21.0.0

This commit is contained in:
Michael Scire 2025-11-13 15:32:00 -07:00
parent eb7db249bf
commit 6e2c09c795
2 changed files with 17 additions and 10 deletions

View File

@ -100,6 +100,7 @@ namespace ams::ldr {
Flag_CheckHashText = (1 << 3), Flag_CheckHashText = (1 << 3),
Flag_CheckHashRo = (1 << 4), Flag_CheckHashRo = (1 << 4),
Flag_CheckHashRw = (1 << 5), Flag_CheckHashRw = (1 << 5),
Flag_PreventCodeReads = (1 << 6),
}; };
struct SegmentInfo { struct SegmentInfo {
@ -180,6 +181,8 @@ namespace ams::ldr {
AcidFlag_PoolPartitionShift = 2, AcidFlag_PoolPartitionShift = 2,
AcidFlag_PoolPartitionMask = (0xF << AcidFlag_PoolPartitionShift), AcidFlag_PoolPartitionMask = (0xF << AcidFlag_PoolPartitionShift),
AcidFlag_LoadBrowserCoreDll = (1 << 7),
}; };
enum PoolPartition { enum PoolPartition {

View File

@ -102,6 +102,8 @@ namespace ams::ncm {
static const SystemProgramId End; static const SystemProgramId End;
static const SystemProgramId BrowserCoreDll;
static const SystemProgramId Manu; static const SystemProgramId Manu;
static const SystemProgramId Htc; static const SystemProgramId Htc;
static const SystemProgramId DmntGen2; static const SystemProgramId DmntGen2;
@ -212,6 +214,8 @@ namespace ams::ncm {
inline constexpr const SystemProgramId SystemProgramId::End = { 0x01000000000007FFul }; inline constexpr const SystemProgramId SystemProgramId::End = { 0x01000000000007FFul };
inline constexpr const SystemProgramId SystemProgramId::BrowserCoreDll = { 0x010000000000085Dul };
inline constexpr const SystemProgramId SystemProgramId::Manu = { 0x010000000000B14Aul }; inline constexpr const SystemProgramId SystemProgramId::Manu = { 0x010000000000B14Aul };
inline constexpr const SystemProgramId SystemProgramId::Htc = { 0x010000000000B240ul }; inline constexpr const SystemProgramId SystemProgramId::Htc = { 0x010000000000B240ul };
inline constexpr const SystemProgramId SystemProgramId::DmntGen2 = { 0x010000000000D609ul }; inline constexpr const SystemProgramId SystemProgramId::DmntGen2 = { 0x010000000000D609ul };