Skip to content

Commit bde505a

Browse files
roblablayellows8
authored andcommitted
Use new npdm-json format
1 parent 8ab9e6d commit bde505a

File tree

1 file changed

+157
-137
lines changed

1 file changed

+157
-137
lines changed

hbl.json

Lines changed: 157 additions & 137 deletions
Original file line numberDiff line numberDiff line change
@@ -1,142 +1,162 @@
11
{
2-
"name" : "hbloader",
3-
"title_id" : "0x010000000000100D",
4-
"title_id_range_min" : "0x010000000000100D",
5-
"title_id_range_max" : "0x010000000000100D",
6-
"main_thread_stack_size" : "0x100000",
7-
"main_thread_priority" : 44,
8-
"default_cpu_id" : 0,
9-
"process_category" : 0,
10-
"pool_partition" : 0,
11-
"is_64_bit" : true,
12-
"address_space_type" : 1,
13-
"is_retail" : true,
14-
"filesystem_access" : {
15-
"permissions" : "0xFFFFFFFFFFFFFFFF"
2+
"name": "hbloader",
3+
"title_id": "0x010000000000100D",
4+
"title_id_range_min": "0x010000000000100D",
5+
"title_id_range_max": "0x010000000000100D",
6+
"main_thread_stack_size": "0x100000",
7+
"main_thread_priority": 44,
8+
"default_cpu_id": 0,
9+
"process_category": 0,
10+
"pool_partition": 0,
11+
"is_64_bit": true,
12+
"address_space_type": 1,
13+
"is_retail": true,
14+
"filesystem_access": {
15+
"permissions": "0xFFFFFFFFFFFFFFFF"
1616
},
17-
"service_access" : {
18-
"*" : false,
19-
"*" : true
20-
},
21-
"kernel_capabilities" : {
22-
"kernel_flags" : {
23-
"highest_thread_priority" : 59,
24-
"lowest_thread_priority" : 28,
25-
"highest_cpu_id" : 2,
26-
"lowest_cpu_id" : 0
17+
"service_host": [
18+
"*"
19+
],
20+
"service_access": [
21+
"*"
22+
],
23+
"kernel_capabilities": [
24+
{
25+
"type": "kernel_flags",
26+
"value": {
27+
"highest_thread_priority": 59,
28+
"lowest_thread_priority": 28,
29+
"highest_cpu_id": 2,
30+
"lowest_cpu_id": 0
31+
}
32+
},
33+
{
34+
"type": "syscalls",
35+
"value": {
36+
"svcUnknown00": "0x00",
37+
"svcSetHeapSize": "0x01",
38+
"svcSetMemoryPermission": "0x02",
39+
"svcSetMemoryAttribute": "0x03",
40+
"svcMapMemory": "0x04",
41+
"svcUnmapMemory": "0x05",
42+
"svcQueryMemory": "0x06",
43+
"svcExitProcess": "0x07",
44+
"svcCreateThread": "0x08",
45+
"svcStartThread": "0x09",
46+
"svcExitThread": "0x0A",
47+
"svcSleepThread": "0x0B",
48+
"svcGetThreadPriority": "0x0C",
49+
"svcSetThreadPriority": "0x0D",
50+
"svcGetThreadCoreMask": "0x0E",
51+
"svcSetThreadCoreMask": "0x0F",
52+
"svcGetCurrentProcessorNumber": "0x10",
53+
"svcSignalEvent": "0x11",
54+
"svcClearEvent": "0x12",
55+
"svcMapSharedMemory": "0x13",
56+
"svcUnmapSharedMemory": "0x14",
57+
"svcCreateTransferMemory": "0x15",
58+
"svcCloseHandle": "0x16",
59+
"svcResetSignal": "0x17",
60+
"svcWaitSynchronization": "0x18",
61+
"svcCancelSynchronization": "0x19",
62+
"svcArbitrateLock": "0x1A",
63+
"svcArbitrateUnlock": "0x1B",
64+
"svcWaitProcessWideKeyAtomic": "0x1C",
65+
"svcSignalProcessWideKey": "0x1D",
66+
"svcGetSystemTick": "0x1E",
67+
"svcConnectToNamedPort": "0x1F",
68+
"svcSendSyncRequestLight": "0x20",
69+
"svcSendSyncRequest": "0x21",
70+
"svcSendSyncRequestWithUserBuffer": "0x22",
71+
"svcSendAsyncRequestWithUserBuffer": "0x23",
72+
"svcGetProcessId": "0x24",
73+
"svcGetThreadId": "0x25",
74+
"svcBreak": "0x26",
75+
"svcOutputDebugString": "0x27",
76+
"svcReturnFromException": "0x28",
77+
"svcGetInfo": "0x29",
78+
"svcFlushEntireDataCache": "0x2A",
79+
"svcFlushDataCache": "0x2B",
80+
"svcMapPhysicalMemory": "0x2C",
81+
"svcUnmapPhysicalMemory": "0x2D",
82+
"svcGetFutureThreadInfo": "0x2E",
83+
"svcGetLastThreadInfo": "0x2F",
84+
"svcGetResourceLimitLimitValue": "0x30",
85+
"svcGetResourceLimitCurrentValue": "0x31",
86+
"svcSetThreadActivity": "0x32",
87+
"svcGetThreadContext3": "0x33",
88+
"svcWaitForAddress": "0x34",
89+
"svcSignalToAddress": "0x35",
90+
"svcUnknown36": "0x36",
91+
"svcUnknown37": "0x37",
92+
"svcUnknown38": "0x38",
93+
"svcUnknown39": "0x39",
94+
"svcUnknown3a": "0x3A",
95+
"svcUnknown3b": "0x3B",
96+
"svcDumpInfo": "0x3C",
97+
"svcDumpInfoNew": "0x3D",
98+
"svcUnknown3e": "0x3E",
99+
"svcUnknown3f": "0x3F",
100+
"svcCreateSession": "0x40",
101+
"svcAcceptSession": "0x41",
102+
"svcReplyAndReceiveLight": "0x42",
103+
"svcReplyAndReceive": "0x43",
104+
"svcReplyAndReceiveWithUserBuffer": "0x44",
105+
"svcCreateEvent": "0x45",
106+
"svcUnknown46": "0x46",
107+
"svcUnknown47": "0x47",
108+
"svcMapPhysicalMemoryUnsafe": "0x48",
109+
"svcUnmapPhysicalMemoryUnsafe": "0x49",
110+
"svcSetUnsafeLimit": "0x4A",
111+
"svcCreateCodeMemory": "0x4B",
112+
"svcControlCodeMemory": "0x4C",
113+
"svcSleepSystem": "0x4D",
114+
"svcReadWriteRegister": "0x4E",
115+
"svcSetProcessActivity": "0x4F",
116+
"svcCreateSharedMemory": "0x50",
117+
"svcMapTransferMemory": "0x51",
118+
"svcUnmapTransferMemory": "0x52",
119+
"svcDebugActiveProcess": "0x60",
120+
"svcBreakDebugProcess": "0x61",
121+
"svcTerminateDebugProcess": "0x62",
122+
"svcGetDebugEvent": "0x63",
123+
"svcContinueDebugEvent": "0x64",
124+
"svcGetProcessList": "0x65",
125+
"svcGetThreadList": "0x66",
126+
"svcGetDebugThreadContext": "0x67",
127+
"svcSetDebugThreadContext": "0x68",
128+
"svcQueryDebugProcessMemory": "0x69",
129+
"svcReadDebugProcessMemory": "0x6A",
130+
"svcWriteDebugProcessMemory": "0x6B",
131+
"svcSetHardwareBreakPoint": "0x6C",
132+
"svcGetDebugThreadParam": "0x6D",
133+
"svcConnectToPort": "0x72",
134+
"svcSetProcessMemoryPermission": "0x73",
135+
"svcMapProcessMemory": "0x74",
136+
"svcUnmapProcessMemory": "0x75",
137+
"svcQueryProcessMemory": "0x76",
138+
"svcMapProcessCodeMemory": "0x77",
139+
"svcUnmapProcessCodeMemory": "0x78"
140+
}
141+
},
142+
{
143+
"type": "application_type",
144+
"value": 2
145+
},
146+
{
147+
"type": "min_kernel_version",
148+
"value": "0x30"
27149
},
28-
"syscalls" : {
29-
"svcUnknown00" : "0x00",
30-
"svcSetHeapSize" : "0x01",
31-
"svcSetMemoryPermission" : "0x02",
32-
"svcSetMemoryAttribute" : "0x03",
33-
"svcMapMemory" : "0x04",
34-
"svcUnmapMemory" : "0x05",
35-
"svcQueryMemory" : "0x06",
36-
"svcExitProcess" : "0x07",
37-
"svcCreateThread" : "0x08",
38-
"svcStartThread" : "0x09",
39-
"svcExitThread" : "0x0A",
40-
"svcSleepThread" : "0x0B",
41-
"svcGetThreadPriority" : "0x0C",
42-
"svcSetThreadPriority" : "0x0D",
43-
"svcGetThreadCoreMask" : "0x0E",
44-
"svcSetThreadCoreMask" : "0x0F",
45-
"svcGetCurrentProcessorNumber" : "0x10",
46-
"svcSignalEvent" : "0x11",
47-
"svcClearEvent" : "0x12",
48-
"svcMapSharedMemory" : "0x13",
49-
"svcUnmapSharedMemory" : "0x14",
50-
"svcCreateTransferMemory" : "0x15",
51-
"svcCloseHandle" : "0x16",
52-
"svcResetSignal" : "0x17",
53-
"svcWaitSynchronization" : "0x18",
54-
"svcCancelSynchronization" : "0x19",
55-
"svcArbitrateLock" : "0x1A",
56-
"svcArbitrateUnlock" : "0x1B",
57-
"svcWaitProcessWideKeyAtomic" : "0x1C",
58-
"svcSignalProcessWideKey" : "0x1D",
59-
"svcGetSystemTick" : "0x1E",
60-
"svcConnectToNamedPort" : "0x1F",
61-
"svcSendSyncRequestLight" : "0x20",
62-
"svcSendSyncRequest" : "0x21",
63-
"svcSendSyncRequestWithUserBuffer" : "0x22",
64-
"svcSendAsyncRequestWithUserBuffer" : "0x23",
65-
"svcGetProcessId" : "0x24",
66-
"svcGetThreadId" : "0x25",
67-
"svcBreak" : "0x26",
68-
"svcOutputDebugString" : "0x27",
69-
"svcReturnFromException" : "0x28",
70-
"svcGetInfo" : "0x29",
71-
"svcFlushEntireDataCache" : "0x2A",
72-
"svcFlushDataCache" : "0x2B",
73-
"svcMapPhysicalMemory" : "0x2C",
74-
"svcUnmapPhysicalMemory" : "0x2D",
75-
"svcGetFutureThreadInfo" : "0x2E",
76-
"svcGetLastThreadInfo" : "0x2F",
77-
"svcGetResourceLimitLimitValue" : "0x30",
78-
"svcGetResourceLimitCurrentValue" : "0x31",
79-
"svcSetThreadActivity" : "0x32",
80-
"svcGetThreadContext3" : "0x33",
81-
"svcWaitForAddress" : "0x34",
82-
"svcSignalToAddress" : "0x35",
83-
"svcUnknown36" : "0x36",
84-
"svcUnknown37" : "0x37",
85-
"svcUnknown38" : "0x38",
86-
"svcUnknown39" : "0x39",
87-
"svcUnknown3a" : "0x3A",
88-
"svcUnknown3b" : "0x3B",
89-
"svcDumpInfo" : "0x3C",
90-
"svcDumpInfoNew" : "0x3D",
91-
"svcUnknown3e" : "0x3E",
92-
"svcUnknown3f" : "0x3F",
93-
"svcCreateSession" : "0x40",
94-
"svcAcceptSession" : "0x41",
95-
"svcReplyAndReceiveLight" : "0x42",
96-
"svcReplyAndReceive" : "0x43",
97-
"svcReplyAndReceiveWithUserBuffer" : "0x44",
98-
"svcCreateEvent" : "0x45",
99-
"svcUnknown46" : "0x46",
100-
"svcUnknown47" : "0x47",
101-
"svcMapPhysicalMemoryUnsafe" : "0x48",
102-
"svcUnmapPhysicalMemoryUnsafe" : "0x49",
103-
"svcSetUnsafeLimit" : "0x4A",
104-
"svcCreateCodeMemory" : "0x4B",
105-
"svcControlCodeMemory" : "0x4C",
106-
"svcSleepSystem" : "0x4D",
107-
"svcReadWriteRegister" : "0x4E",
108-
"svcSetProcessActivity" : "0x4F",
109-
"svcCreateSharedMemory" : "0x50",
110-
"svcMapTransferMemory" : "0x51",
111-
"svcUnmapTransferMemory" : "0x52",
112-
"svcDebugActiveProcess" : "0x60",
113-
"svcBreakDebugProcess" : "0x61",
114-
"svcTerminateDebugProcess" : "0x62",
115-
"svcGetDebugEvent" : "0x63",
116-
"svcContinueDebugEvent" : "0x64",
117-
"svcGetProcessList" : "0x65",
118-
"svcGetThreadList" : "0x66",
119-
"svcGetDebugThreadContext" : "0x67",
120-
"svcSetDebugThreadContext" : "0x68",
121-
"svcQueryDebugProcessMemory" : "0x69",
122-
"svcReadDebugProcessMemory" : "0x6A",
123-
"svcWriteDebugProcessMemory" : "0x6B",
124-
"svcSetHardwareBreakPoint" : "0x6C",
125-
"svcGetDebugThreadParam" : "0x6D",
126-
"svcConnectToPort" : "0x72",
127-
"svcSetProcessMemoryPermission" : "0x73",
128-
"svcMapProcessMemory" : "0x74",
129-
"svcUnmapProcessMemory" : "0x75",
130-
"svcQueryProcessMemory" : "0x76",
131-
"svcMapProcessCodeMemory" : "0x77",
132-
"svcUnmapProcessCodeMemory" : "0x78"
150+
{
151+
"type": "handle_table_size",
152+
"value": 512
133153
},
134-
"application_type" : 2,
135-
"min_kernel_version" : "0x30",
136-
"handle_table_size" : 512,
137-
"debug_flags" : {
138-
"allow_debug" : true,
139-
"force_debug" : true
154+
{
155+
"type": "debug_flags",
156+
"value": {
157+
"allow_debug": true,
158+
"force_debug": true
159+
}
140160
}
141-
}
142-
}
161+
]
162+
}

0 commit comments

Comments
 (0)