NPDM: Difference between revisions
No edit summary |
Update MemoryMap bits and FsAccessControl structure |
||
Line 285: | Line 285: | ||
|- | |- | ||
| 0x1 | | 0x1 | ||
| 0x1 | |||
| ContentOwnerIdCount | |||
|- | |||
| 0x2 | |||
| 0x1 | |||
| SaveDataOwnerIdCount | |||
|- | |||
| 0x3 | | 0x3 | ||
| 0x1 | |||
| Padding | | Padding | ||
|- | |- | ||
Line 293: | Line 301: | ||
|- | |- | ||
| 0xC | | 0xC | ||
| | | 0x8 | ||
| | | ContentOwnerIdMin | ||
|- | |||
| 0x14 | |||
| 0x8 | |||
| ContentOwnerIdMax | |||
|- | |||
| 0x1C | |||
| 0x8 | |||
| SaveDataOwnerIdMin | |||
|- | |||
| 0x24 | |||
| 0x8 | |||
| SaveDataOwnerIdMax | |||
|- | |||
| 0x2C | |||
| 0x8 * ContentOwnerIdCount | |||
| ContentOwnerIds | |||
|- | |||
| Variable | |||
| 0x8 * SaveDataOwnerIdCount | |||
| SaveDataOwnerIds | |||
|} | |} | ||
Line 334: | Line 362: | ||
| 0x1C | | 0x1C | ||
| 0x4 | | 0x4 | ||
| (Optional) | | (Optional) ContentOwnerIdCount | ||
|- | |- | ||
| 0x1C | | 0x1C | ||
| 0x8 * | | 0x8 * ContentOwnerIdCount | ||
| | | ContentOwnerIds | ||
|- | |- | ||
| Variable | | Variable | ||
| 0x4 | | 0x4 | ||
| | | SaveDataOwnerIdCount | ||
|- | |- | ||
| Variable | | Variable | ||
| 0x1 * | | 0x1 * SaveDataOwnerIdCount | ||
| | | Accessibilities (1=Read, 2=Write, 3=ReadWrite) | ||
|- | |- | ||
| Variable (padded to nearest 4 bytes) | | Variable (padded to nearest 4 bytes) | ||
| 0x8 * | | 0x8 * SaveDataOwnerIdCount | ||
| | | SaveDataOwnerIds | ||
|} | |} | ||
Line 592: | Line 620: | ||
| All ones | | All ones | ||
| | | | ||
| | | Invalid | ||
|} | |} | ||
Line 630: | Line 658: | ||
== MemoryMap == | == MemoryMap == | ||
MemoryMap entries are stored in pairs. The first pair will contain BeginAddress and PermissionType, while the second pair will contain Size and MappingType. | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 636: | Line 665: | ||
|- | |- | ||
| 7-30 | | 7-30 | ||
| BeginAddress | | BeginAddress | ||
|- | |- | ||
| 31 | | 31 | ||
| | | PermissionType (0=RW, 1=RO) | ||
|} | |} | ||
{| class="wikitable" border="1" | |||
|- | |||
! Bits | |||
! Description | |||
|- | |||
| 7-26 | |||
| Size | |||
|- | |||
| 27-30 | |||
| Reserved | |||
|- | |||
| 31 | |||
| MappingType (0=Io, 1=Static) | |||
|} | |||
=== Restrictions === | === Restrictions === |