Skip to content

Commit d8c1a05

Browse files
committed
Use new npdm-json format
1 parent 6826b06 commit d8c1a05

File tree

1 file changed

+153
-136
lines changed

1 file changed

+153
-136
lines changed

hbl.json

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

0 commit comments

Comments
 (0)