NPDM: Difference between revisions
No edit summary |
→Flags: 21.0.0+ LoadBrowserCoreDll |
||
| (11 intermediate revisions by 5 users not shown) | |||
| Line 117: | Line 117: | ||
| 5 | | 5 | ||
| [11.0.0+] DisableDeviceAddressSpaceMerge | | [11.0.0+] DisableDeviceAddressSpaceMerge | ||
|- | |||
| 6 | |||
| [18.0.0+] EnableAliasRegionExtraSize | |||
|- | |||
| 7 | |||
| [19.0.0-19.0.1] PreventCodeReads | |||
|} | |} | ||
| Line 123: | Line 129: | ||
== SystemResourceSize == | == SystemResourceSize == | ||
This | When this is non-zero, the kernel reserves this amount of memory and dynamically uses it as needed for page table pages, KMemoryBlocks, and KBlockInfos. When this is zero, the process uses global shared heaps for these. | ||
This enables a process to sacrifice some of the memory available to it in order to have higher limits on these resources, thus enabling the use of SvcMapPhysicalMemory. | |||
Maximum size as is 0x1FE00000. | |||
== Version == | == Version == | ||
| Line 133: | Line 144: | ||
== MainThreadStackSize == | == MainThreadStackSize == | ||
Must be aligned to 0x1000. | Must be aligned to 0x1000. If zero, kernel will start the process's initial thread with sp=0. | ||
= ACID = | = ACID = | ||
| Line 225: | Line 234: | ||
| UnqualifiedApproval | | UnqualifiedApproval | ||
|- | |- | ||
| 2- | | 2-5 | ||
| [5.0.0+] MemoryRegion (0 = Application, 1 = Applet, 2 = SecureSystem, 3 = NonSecureSystem) | | [5.0.0+] MemoryRegion (0 = Application, 1 = Applet, 2 = SecureSystem, 3 = NonSecureSystem) | ||
|- | |||
| 6 | |||
| Unused? | |||
|- | |||
| 7 | |||
| [21.0.0+] LoadBrowserCoreDll | |||
|} | |} | ||
MemoryRegion is set to Application for "starter" and NonSecureSystem for "nvservices". | MemoryRegion is set to Application for "starter" and NonSecureSystem for "nvservices". | ||
When LoadBrowserCoreDll flag is set, an additional NPDM + NSOs (wkc0-wkc9) will be loaded from program id 010000000000085D (not present on retail). | |||
= ACI0 = | = ACI0 = | ||
| Line 547: | Line 565: | ||
| | | | ||
|- | |- | ||
| 37-61 | | 37 | ||
| DeviceTreeBlob | |||
| | |||
|- | |||
| 38 | |||
| NotifyErrorContextServiceReady | |||
| | |||
|- | |||
| 39 | |||
| CalibrationSystemData | |||
| | |||
|- | |||
| 40 | |||
| CalibrationLog | |||
| | |||
|- | |||
| 41 | |||
| StorageSecure | |||
| | |||
|- | |||
| 42 | |||
| StorageControl | |||
| | |||
|- | |||
| 43 | |||
| GameCardReport | |||
| | |||
|- | |||
| 44 | |||
| MarkBeforeEraseBis | |||
| | |||
|- | |||
| 45-61 | |||
| Reserved | | Reserved | ||
| | | | ||
| Line 553: | Line 603: | ||
| 62 | | 62 | ||
| Debug | | Debug | ||
| See [[SPL_services#GetConfig|here]]. | | See [[SPL_services#GetConfig|here]]. Ignored on non-DebugMode. | ||
|- | |- | ||
| 63 | | 63 | ||
| FullPermission | | FullPermission | ||
| Enables access to everything: all [[Filesystem_services#Permissions|permission types]] which check a bitmask have this bit set. | | Enables access to everything: all [[Filesystem_services#Permissions|permission types]] which check a bitmask have this bit set. Ignored on non-DebugMode. | ||
|} | |} | ||
| Line 752: | Line 802: | ||
| RegionIsReadOnly2 | | RegionIsReadOnly2 | ||
|} | |} | ||
== EnableInterrupts == | == EnableInterrupts == | ||
| Line 845: | Line 893: | ||
|- | |- | ||
| 18 | | 18 | ||
| ForceDebug | | [19.0.0+] ForceDebugProd ([1.0.0-18.1.0] ForceDebug) | ||
|- | |||
| 19 | |||
| [19.0.0+] ForceDebug | |||
|} | |} | ||