Application Manager Services: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 412: | Line 412: | ||
| | | | ||
| Stubbed. After validating the translate-paramater headers, this just returns error 0xE0C046F8. | | Stubbed. After validating the translate-paramater headers, this just returns error 0xE0C046F8. | ||
|- | |||
| 0x0401.... | |||
| | |||
| ? | |||
|- | |||
| 0x08010100 | |||
| | |||
| ? | |||
|- | |- | ||
| 0x080200C2 | | 0x080200C2 | ||
| Line 429: | Line 437: | ||
| [[AMFile:SetSize|SetSize]] | | [[AMFile:SetSize|SetSize]] | ||
|- | |- | ||
| | | 0x08060000 | ||
| | | | ||
| ? | |||
|- | |||
| 0x08070000 | |||
| | | | ||
| ? | |||
|- | |- | ||
| 0x08080000 | | 0x08080000 | ||
| | | | ||
| [[AMFile:Close|Close]] | | [[AMFile:Close|Close]] | ||
|- | |||
| 0x08090000 | |||
| | |||
| ? | |||
|- | |||
| 0x080A0000 | |||
| | |||
| This just returns 0. | |||
|- | |||
| 0x080B0000 | |||
| | |||
| This just returns 0. | |||
|- | |||
| 0x080C0000 | |||
| | |||
| This just returns 0. | |||
|} | |} | ||
This is similar to [[Filesystem_services#File_service|FSFile]]. | |||
For handling each command that's actually implemented, the AM cmdhandler function calls a vtable funcptr. | For handling each command that's actually implemented, the AM cmdhandler function calls a vtable funcptr. | ||
Revision as of 05:58, 2 June 2016
Application Manager services "am:sys", "am:u", "am:net"
Application Manager services "am:u" and "am:net"
| Command Header | Description |
|---|---|
| 0x04010080 | UpdateFirmwareTo |
| 0x04020040 | BeginImportProgram |
| 0x04030000 | BeginImportProgramTemporarily |
| 0x04040002 | CancelImportProgram |
| 0x04050002 | EndImportProgram |
| 0x04060002 | EndImportProgramWithoutCommit |
| 0x040700C2 | CommitImportPrograms |
| 0x04080042 | GetProgramInfoFromCia |
| 0x04090004 | GetSystemMenuDataFromCia |
| 0x040A0002 | GetDependencyListFromCia |
| 0x040B0002 | GetTransferSizeFromCia |
| 0x040C0002 | GetCoreVersionFromCia |
| 0x040D0042 | GetRequiredSizeFromCia |
| 0x040E00C2 | CommitImportProgramsAndUpdateFirmwareAuto |
| 0x040F0000 | UpdateFirmwareAuto |
| 0x041000C0 | DeleteProgram |
| 0x04110044 | GetTwlProgramListForReboot |
| 0x04120000 | GetSystemUpdaterMutex |
| 0x04130002 | GetMetaSizeFromCia |
| 0x04140044 | GetMetaDataFromCia |
| 0x04150080 | CheckDemoLaunchRights |
| 0x041600C0 | GetInternalTitleLocationInfo |
| 0x041700C0 | PerpetuateAgbSaveData |
| 0x04180040 | BeginImportProgramForOverWrite |
| 0x04190000 | BeginImportSystemProgram |
Application Manager service "am:app"
| Command Header | Description |
|---|---|
| 0x100100C0 | GetNumContentInfos |
| 0x10020104 | FindContentInfos |
| 0x10030142 | ListContentInfos |
| 0x10040102 | DeleteContents |
| 0x10050084 | GetDataTitleInfos |
| 0x10060080 | GetNumDataTitleTickets |
| 0x10070102 | ListDataTitleTicketInfos |
| 0x100801C2 | GetItemRights |
| 0x100900C0 | IsDataTitleInUse |
| 0x100A0000 | IsExternalTitleDatabaseInitialized |
| 0x100B00C0 | GetNumExistingContentInfos |
| 0x100C0142 | ListExistingContentInfos |
| 0x100D0084 | GetPatchTitleInfos |
Application Manager service "am:sys"
Application Manager service "am:u"
Application Manager network service "am:net"
File service
| Command Header | Available since system-version | Description |
|---|---|---|
| 0x0001.... | Stubbed. After validating the translate-paramater headers, this just returns error 0xE0C046F8. | |
| 0x0401.... | ? | |
| 0x08010100 | ? | |
| 0x080200C2 | Read | |
| 0x08030102 | Write | |
| 0x08040000 | GetSize | |
| 0x08050080 | SetSize | |
| 0x08060000 | ? | |
| 0x08070000 | ? | |
| 0x08080000 | Close | |
| 0x08090000 | ? | |
| 0x080A0000 | This just returns 0. | |
| 0x080B0000 | This just returns 0. | |
| 0x080C0000 | This just returns 0. |
This is similar to FSFile.
For handling each command that's actually implemented, the AM cmdhandler function calls a vtable funcptr.
The private port for this seems to be referred to as "am:pipe", even though the "am:pipe" string isn't actually used.
Errors
See this.