hbl: grant read access to ktrace buffer (#36)

Also grant access to svcQueryIoMapping & hint it as available
This commit is contained in:
SciresM 2020-12-16 16:56:29 -08:00 committed by GitHub
parent e2b8f0c5b3
commit 723c09d7ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View File

@ -119,6 +119,7 @@
"svcCreateSharedMemory": "0x50",
"svcMapTransferMemory": "0x51",
"svcUnmapTransferMemory": "0x52",
"svcQueryIoMapping": "0x55",
"svcDebugActiveProcess": "0x60",
"svcBreakDebugProcess": "0x61",
"svcTerminateDebugProcess": "0x62",
@ -162,6 +163,15 @@
"allow_debug": true,
"force_debug": true
}
},
{
"type": "map_region",
"value": [
{
"region_type": 1,
"is_ro": true
}
]
}
]
}

View File

@ -452,7 +452,7 @@ void loadNro(void)
{ EntryType_Argv, 0, {0, 0} },
{ EntryType_NextLoadPath, 0, {0, 0} },
{ EntryType_LastLoadResult, 0, {0, 0} },
{ EntryType_SyscallAvailableHint, 0, {0xffffffffffffffff, 0x9fc9fff0007ffff} },
{ EntryType_SyscallAvailableHint, 0, {0xffffffffffffffff, 0x9fc9fff0027ffff} },
{ EntryType_RandomSeed, 0, {0, 0} },
{ EntryType_UserIdStorage, 0, {(u64)(uintptr_t)&g_userIdStorage, 0} },
{ EntryType_HosVersion, 0, {0, 0} },