Skip to content

Commit

Permalink
hbl: grant read access to ktrace buffer (#36)
Browse files Browse the repository at this point in the history
Also grant access to svcQueryIoMapping & hint it as available
  • Loading branch information
SciresM authored Dec 17, 2020
1 parent e2b8f0c commit 723c09d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions hbl.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@
"svcCreateSharedMemory": "0x50",
"svcMapTransferMemory": "0x51",
"svcUnmapTransferMemory": "0x52",
"svcQueryIoMapping": "0x55",
"svcDebugActiveProcess": "0x60",
"svcBreakDebugProcess": "0x61",
"svcTerminateDebugProcess": "0x62",
Expand Down Expand Up @@ -162,6 +163,15 @@
"allow_debug": true,
"force_debug": true
}
},
{
"type": "map_region",
"value": [
{
"region_type": 1,
"is_ro": true
}
]
}
]
}
2 changes: 1 addition & 1 deletion source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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} },
Expand Down

0 comments on commit 723c09d

Please sign in to comment.