Memory Management: Difference between revisions
No edit summary |
|||
Line 25: | Line 25: | ||
== | == RegionDescriptor == | ||
Size : 0x10 bytes | Size : 0x10 bytes | ||
Line 53: | Line 53: | ||
== FCRAM Region | == FCRAM Region Descriptor == | ||
Size : 0x50 bytes | Size : 0x50 bytes | ||
Line 64: | Line 64: | ||
|- | |- | ||
| 0x0 | | 0x0 | ||
| | | RegionDescriptor | ||
| | | RegionDescriptor for app memory | ||
|- | |- | ||
| 0x10 | | 0x10 | ||
| | | RegionDescriptor | ||
| | | RegionDescriptor for sys memory | ||
|- | |- | ||
| 0x20 | | 0x20 | ||
| | | RegionDescriptor | ||
| | | RegionDescriptor for base memory | ||
|- | |- | ||
| 0x30 | | 0x30 | ||
| u32 | | u32 | ||
| Ptr to start of FCRAM region | | Ptr to start of FCRAM region descriptor | ||
|- | |- | ||
| 0x34 | | 0x34 | ||
Line 89: | Line 89: | ||
| 0x3C | | 0x3C | ||
| u32 | | u32 | ||
| Base | | Base memory start in FCRAM | ||
|- | |- | ||
| 0x40 | | 0x40 | ||
| u32 | | u32 | ||
| | | Count of physical FCRAM used by the kernel, in bytes. (used by [[SVC|svcGetSystemInfo]]) | ||
|- | |- | ||
| 0x44 | | 0x44 | ||
Line 106: | Line 106: | ||
| s16 | | s16 | ||
| Error info for thread listed above | | Error info for thread listed above | ||
|- | |||
| 0x4E | |||
| u16 | |||
| Alignment | |||
|} | |} | ||
== Kernel Region Descriptor == |