Skip to content

Commit f29e6a6

Browse files
committed
Use new npdm-json format
1 parent 3c12add commit f29e6a6

File tree

7 files changed

+708
-571
lines changed

7 files changed

+708
-571
lines changed

boot/boot_100.json

Lines changed: 159 additions & 108 deletions
Original file line numberDiff line numberDiff line change
@@ -1,119 +1,170 @@
11
{
2-
"name" : "boot",
3-
"title_id" : "0x0100000000000005",
4-
"main_thread_stack_size" : "0x1000",
5-
"main_thread_priority" : 27,
6-
"default_cpu_id" : 3,
7-
"process_category" : 1,
8-
"kernel_capabilities" : {
9-
"handle_table_size" : 128,
10-
"syscalls" : {
11-
"svcSetHeapSize" : "0x01",
12-
"svcSetMemoryPermission" : "0x02",
13-
"svcSetMemoryAttribute" : "0x03",
14-
"svcMapMemory" : "0x04",
15-
"svcUnmapMemory" : "0x05",
16-
"svcQueryMemory" : "0x06",
17-
"svcExitProcess" : "0x07",
18-
"svcCreateThread" : "0x08",
19-
"svcStartThread" : "0x09",
20-
"svcExitThread" : "0x0A",
21-
"svcSleepThread" : "0x0B",
22-
"svcGetThreadPriority" : "0x0C",
23-
"svcSetThreadPriority" : "0x0D",
24-
"svcGetThreadCoreMask" : "0x0E",
25-
"svcSetThreadCoreMask" : "0x0F",
26-
"svcGetCurrentProcessorNumber" : "0x10",
27-
"svcSignalEvent" : "0x11",
28-
"svcClearEvent" : "0x12",
29-
"svcMapSharedMemory" : "0x13",
30-
"svcUnmapSharedMemory" : "0x14",
31-
"svcCreateTransferMemory" : "0x15",
32-
"svcCloseHandle" : "0x16",
33-
"svcResetSignal" : "0x17",
34-
"svcWaitSynchronization" : "0x18",
35-
"svcCancelSynchronization" : "0x19",
36-
"svcArbitrateLock" : "0x1A",
37-
"svcArbitrateUnlock" : "0x1B",
38-
"svcWaitProcessWideKeyAtomic" : "0x1C",
39-
"svcSignalProcessWideKey" : "0x1D",
40-
"svcGetSystemTick" : "0x1E",
41-
"svcConnectToNamedPort" : "0x1F",
42-
"svcSendSyncRequestLight" : "0x20",
43-
"svcSendSyncRequest" : "0x21",
44-
"svcSendSyncRequestWithUserBuffer" : "0x22",
45-
"svcSendAsyncRequestWithUserBuffer" : "0x23",
46-
"svcGetProcessId" : "0x24",
47-
"svcGetThreadId" : "0x25",
48-
"svcBreak" : "0x26",
49-
"svcOutputDebugString" : "0x27",
50-
"svcReturnFromException" : "0x28",
51-
"svcGetInfo" : "0x29",
52-
"svcCreateInterruptEvent" : "0x53",
53-
"svcQueryIoMapping" : "0x55",
54-
"svcCreateDeviceAddressSpace" : "0x56",
55-
"svcAttachDeviceAddressSpace" : "0x57",
56-
"svcDetachDeviceAddressSpace" : "0x58",
57-
"svcMapDeviceAddressSpaceAligned" : "0x5A",
58-
"svcUnmapDeviceAddressSpace" : "0x5C",
59-
"svcFlushProcessDataCache" : "0x5F"
2+
"name": "boot",
3+
"title_id": "0x0100000000000005",
4+
"main_thread_stack_size": "0x1000",
5+
"main_thread_priority": 27,
6+
"default_cpu_id": 3,
7+
"process_category": 1,
8+
"kernel_capabilities": [
9+
{
10+
"type": "handle_table_size",
11+
"value": 128
6012
},
61-
"map" : {
62-
"address" : "0x50003000",
63-
"size" : "0x1000",
64-
"is_ro" : false,
65-
"is_io" : true
13+
{
14+
"type": "syscalls",
15+
"value": {
16+
"svcSetHeapSize": "0x01",
17+
"svcSetMemoryPermission": "0x02",
18+
"svcSetMemoryAttribute": "0x03",
19+
"svcMapMemory": "0x04",
20+
"svcUnmapMemory": "0x05",
21+
"svcQueryMemory": "0x06",
22+
"svcExitProcess": "0x07",
23+
"svcCreateThread": "0x08",
24+
"svcStartThread": "0x09",
25+
"svcExitThread": "0x0A",
26+
"svcSleepThread": "0x0B",
27+
"svcGetThreadPriority": "0x0C",
28+
"svcSetThreadPriority": "0x0D",
29+
"svcGetThreadCoreMask": "0x0E",
30+
"svcSetThreadCoreMask": "0x0F",
31+
"svcGetCurrentProcessorNumber": "0x10",
32+
"svcSignalEvent": "0x11",
33+
"svcClearEvent": "0x12",
34+
"svcMapSharedMemory": "0x13",
35+
"svcUnmapSharedMemory": "0x14",
36+
"svcCreateTransferMemory": "0x15",
37+
"svcCloseHandle": "0x16",
38+
"svcResetSignal": "0x17",
39+
"svcWaitSynchronization": "0x18",
40+
"svcCancelSynchronization": "0x19",
41+
"svcArbitrateLock": "0x1A",
42+
"svcArbitrateUnlock": "0x1B",
43+
"svcWaitProcessWideKeyAtomic": "0x1C",
44+
"svcSignalProcessWideKey": "0x1D",
45+
"svcGetSystemTick": "0x1E",
46+
"svcConnectToNamedPort": "0x1F",
47+
"svcSendSyncRequestLight": "0x20",
48+
"svcSendSyncRequest": "0x21",
49+
"svcSendSyncRequestWithUserBuffer": "0x22",
50+
"svcSendAsyncRequestWithUserBuffer": "0x23",
51+
"svcGetProcessId": "0x24",
52+
"svcGetThreadId": "0x25",
53+
"svcBreak": "0x26",
54+
"svcOutputDebugString": "0x27",
55+
"svcReturnFromException": "0x28",
56+
"svcGetInfo": "0x29",
57+
"svcCreateInterruptEvent": "0x53",
58+
"svcQueryIoMapping": "0x55",
59+
"svcCreateDeviceAddressSpace": "0x56",
60+
"svcAttachDeviceAddressSpace": "0x57",
61+
"svcDetachDeviceAddressSpace": "0x58",
62+
"svcMapDeviceAddressSpaceAligned": "0x5A",
63+
"svcUnmapDeviceAddressSpace": "0x5C",
64+
"svcFlushProcessDataCache": "0x5F"
65+
}
6666
},
67-
"map" : {
68-
"address" : "0x54200000",
69-
"size" : "0x3000",
70-
"is_ro" : false,
71-
"is_io" : true
67+
{
68+
"type": "map",
69+
"value": {
70+
"address": "0x50003000",
71+
"size": "0x1000",
72+
"is_ro": false,
73+
"is_io": true
74+
}
7275
},
73-
"map" : {
74-
"address" : "0x54300000",
75-
"size" : "0x1000",
76-
"is_ro" : false,
77-
"is_io" : true
76+
{
77+
"type": "map",
78+
"value": {
79+
"address": "0x54200000",
80+
"size": "0x3000",
81+
"is_ro": false,
82+
"is_io": true
83+
}
7884
},
79-
"map" : {
80-
"address" : "0x60006000",
81-
"size" : "0x1000",
82-
"is_ro" : false,
83-
"is_io" : true
85+
{
86+
"type": "map",
87+
"value": {
88+
"address": "0x54300000",
89+
"size": "0x1000",
90+
"is_ro": false,
91+
"is_io": true
92+
}
8493
},
85-
"map" : {
86-
"address" : "0x6000D000",
87-
"size" : "0x1000",
88-
"is_ro" : false,
89-
"is_io" : true
94+
{
95+
"type": "map",
96+
"value": {
97+
"address": "0x60006000",
98+
"size": "0x1000",
99+
"is_ro": false,
100+
"is_io": true
101+
}
90102
},
91-
"map" : {
92-
"address" : "0x70000000",
93-
"size" : "0x4000",
94-
"is_ro" : false,
95-
"is_io" : true
103+
{
104+
"type": "map",
105+
"value": {
106+
"address": "0x6000D000",
107+
"size": "0x1000",
108+
"is_ro": false,
109+
"is_io": true
110+
}
96111
},
97-
"map" : {
98-
"address" : "0x7000C000",
99-
"size" : "0x2000",
100-
"is_ro" : false,
101-
"is_io" : true
112+
{
113+
"type": "map",
114+
"value": {
115+
"address": "0x70000000",
116+
"size": "0x4000",
117+
"is_ro": false,
118+
"is_io": true
119+
}
102120
},
103-
"map" : {
104-
"address" : "0x7000E000",
105-
"size" : "0x4000",
106-
"is_ro" : false,
107-
"is_io" : true
121+
{
122+
"type": "map",
123+
"value": {
124+
"address": "0x7000C000",
125+
"size": "0x2000",
126+
"is_ro": false,
127+
"is_io": true
128+
}
108129
},
109-
"map" : {
110-
"address" : "0x700E3000",
111-
"size" : "0x1000",
112-
"is_ro" : false,
113-
"is_io" : true
130+
{
131+
"type": "map",
132+
"value": {
133+
"address": "0x7000E000",
134+
"size": "0x4000",
135+
"is_ro": false,
136+
"is_io": true
137+
}
114138
},
115-
"irq_pair" : [70, 116],
116-
"irq_pair" : [124, 152],
117-
"irq_pair" : [85, 95]
118-
}
119-
}
139+
{
140+
"type": "map",
141+
"value": {
142+
"address": "0x700E3000",
143+
"size": "0x1000",
144+
"is_ro": false,
145+
"is_io": true
146+
}
147+
},
148+
{
149+
"type": "irq_pair",
150+
"value": [
151+
70,
152+
116
153+
]
154+
},
155+
{
156+
"type": "irq_pair",
157+
"value": [
158+
124,
159+
152
160+
]
161+
},
162+
{
163+
"type": "irq_pair",
164+
"value": [
165+
85,
166+
95
167+
]
168+
}
169+
]
170+
}

0 commit comments

Comments
 (0)