Line 510: |
Line 510: |
| == CreateProcessInfo == | | == CreateProcessInfo == |
| {| class=wikitable | | {| class=wikitable |
− | ! Offset || Length || Description | + | ! Offset || Length || Bits || Description |
| |- | | |- |
− | | 0 || 8 || | + | | 0 || 8 || || |
| |- | | |- |
− | | 8 || 2 || | + | | 8 || 2 || || |
| |- | | |- |
− | | 0xA || 2 || | + | | 0xA || 2 || || |
| |- | | |- |
− | | 0xC || 4 || | + | | 0xC || 4 || || |
| |- | | |- |
− | | 0x10 || 8 || TitleId | + | | 0x10 || 8 || || TitleId |
| |- | | |- |
− | | 0x18 || 8 || CodeAddr | + | | 0x18 || 8 || || CodeAddr |
| |- | | |- |
− | | 0x20 || 4 || CodeNumPages | + | | 0x20 || 4 || || CodeNumPages |
| |- | | |- |
− | | 0x24 || 4 || Flags. Bit0: Is64bit (maybe?), bit3-1: MmuTableType (0=32-bit, 1=64-bit 0x800000000, 2=64-bit 0x400000000), bit4: DebugAllowed, bit5, bit6 | + | | 0x24 || 4 || Bit0 || Is64bit |
| |- | | |- |
− | | 0x28 || 4 || ResourceLimitHandle | + | | 0x24 || 4 || Bit3-1 || AddressSpaceType (0=32-bit with map and heap regions, 1=36-bit with map and heap regions, 2=32-bit with heap region only), 3=Invalid |
| + | |- |
| + | | 0x24 || 4 || Bit4 || |
| + | |- |
| + | | 0x24 || 4 || Bit5 || EnableAslr |
| + | |- |
| + | | 0x24 || 4 || Bit6 || IsSystem |
| + | |- |
| + | | 0x28 || 4 || || ResourceLimitHandle |
| |- | | |- |
| | 0x2C || 4 || | | | 0x2C || 4 || |
Line 539: |
Line 547: |
| | 0 || IsBorrowed | | | 0 || IsBorrowed |
| |- | | |- |
− | | 1 || IsIpcMapped [?] | + | | 1 || IsIpcMapped |
| |- | | |- |
| | 2 || IsDeviceMapped | | | 2 || IsDeviceMapped |
Line 582: |
Line 590: |
| | <code>0x00002001</code> || IO || Mapped by kernel capability parsing in [[#svcCreateProcess]]. | | | <code>0x00002001</code> || IO || Mapped by kernel capability parsing in [[#svcCreateProcess]]. |
| |- | | |- |
− | | <code>0x00042002</code> || IO || Mapped by kernel capability parsing in [[#svcCreateProcess]]. | + | | <code>0x00042002</code> || Normal || Mapped by kernel capability parsing in [[#svcCreateProcess]]. |
| |- | | |- |
| | <code>0x00DC7E03</code> || Code static || Mapped during [[#svcCreateProcess]]. | | | <code>0x00DC7E03</code> || Code static || Mapped during [[#svcCreateProcess]]. |
Line 600: |
Line 608: |
| | <code>0x005C3C0B</code> || Mapped memory || Mapped using [[#svcMapMemory]]. | | | <code>0x005C3C0B</code> || Mapped memory || Mapped using [[#svcMapMemory]]. |
| |- | | |- |
− | | <code>0x0040200C</code> || Thread local storage || Mapped during [[#svcCreateThread]]. | + | | <code>0x0040200C</code> || [[Thread Local Storage|Thread local storage]] || Mapped during [[#svcCreateThread]]. |
| |- | | |- |
| | <code>0x015C3C0D</code> || Isolated transfer memory || Mapped using [[#svcMapTransferMemory]] when the owning process has perm=0. | | | <code>0x015C3C0D</code> || Isolated transfer memory || Mapped using [[#svcMapTransferMemory]] when the owning process has perm=0. |