Line 213: |
Line 213: |
| == RegionDescriptor == | | == RegionDescriptor == |
| | | |
− | Size : 0x10 bytes | + | Size: 0x10-bytes pre-[[11.0.0-33|11.0.0-X]], 0x20-bytes starting with [[11.0.0-33|11.0.0-X]]. |
| | | |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
Line 236: |
Line 236: |
| | u32 | | | u32 |
| | Region size | | | Region size |
| + | |- |
| + | | 0x10 |
| + | | 0x10-byte block. |
| + | | This is the "key" used with the kernel heap MAC implemented with [[11.0.0-33|11.0.0-X]]. |
| |} | | |} |
| | | |
Line 241: |
Line 245: |
| == FCRAM Region Descriptor == | | == FCRAM Region Descriptor == |
| | | |
− | Size : 0x50 bytes | + | Size: 0x50-bytes pre-[[11.0.0-33|11.0.0-X]], 0x80-bytes starting with [[11.0.0-33|11.0.0-X]]. |
| + | |
| + | X = RegionDescriptor_size*3. |
| | | |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
Line 253: |
Line 259: |
| | RegionDescriptor for app memory | | | RegionDescriptor for app memory |
| |- | | |- |
− | | 0x10 | + | | RegionDescriptor_size*1 |
| | RegionDescriptor | | | RegionDescriptor |
| | RegionDescriptor for sys memory | | | RegionDescriptor for sys memory |
| |- | | |- |
− | | 0x20 | + | | RegionDescriptor_size*2 |
| | RegionDescriptor | | | RegionDescriptor |
| | RegionDescriptor for base memory | | | RegionDescriptor for base memory |
| |- | | |- |
− | | 0x30 | + | | X + 0x0 |
| | u32 | | | u32 |
| | Ptr to start of FCRAM region descriptor | | | Ptr to start of FCRAM region descriptor |
| |- | | |- |
− | | 0x34 | + | | X + 0x4 |
| | u32 | | | u32 |
| | FCRAM start | | | FCRAM start |
| |- | | |- |
− | | 0x38 | + | | X + 0x8 |
| | u32 | | | u32 |
| | FCRAM size in pages | | | FCRAM size in pages |
| |- | | |- |
− | | 0x3C | + | | X + 0xC |
| | u32 | | | u32 |
| | Base memory start in FCRAM | | | Base memory start in FCRAM |
| |- | | |- |
− | | 0x40 | + | | X + 0x10 |
| | u32 | | | u32 |
| | Count of physical FCRAM used by the kernel, in bytes. (used by [[SVC|svcGetSystemInfo]]) | | | Count of physical FCRAM used by the kernel, in bytes. (used by [[SVC|svcGetSystemInfo]]) |
| |- | | |- |
− | | 0x44 | + | | X + 0x14 |
| | u32 | | | u32 |
| | ? | | | ? |
| |- | | |- |
− | | 0x48 | + | | X + 0x18 |
| | KThread* | | | KThread* |
| | Thread operating on region data | | | Thread operating on region data |
| |- | | |- |
− | | 0x4C | + | | X + 0x1C |
| | s16 | | | s16 |
| | Error info for thread listed above | | | Error info for thread listed above |
| |- | | |- |
− | | 0x4E | + | | X + 0x1E |
| | u16 | | | u16 |
| | Alignment | | | Alignment |