Application Manager Services

From 3dbrew
Jump to navigation Jump to search


Application Manager services "am:sys", "am:u", "am:net"

Command Header Description
0x00010040 GetTitleCount
0x00020082 GetTitleList
0x00030084 GetTitleInfo
0x000400C0 DeleteApplicationTitle
0x000500C0 GetTitleProductCode
0x000600C0 GetTitleExtDataId
0x00070080 DeleteTicket
0x00080000 GetTicketCount
0x00090082 GetTicketList
0x000A0000 GetDeviceID
0x000B0040 ?
0x000C0082 ?
0x000D0084 GetPendingTitleInfo
0x000E00C0 DeletePendingTitle
0x000F00C0 Wrapper for AMPXI command 0x002100C0
0x00100102 Wrapper for AMPXI command 0x00220102
0x00110104 Wrapper for AMPXI command 0x00230104
0x00120102 Wrapper for AMPXI command 0x00240102
0x00130040 Wrapper for AMPXI command 0x003F0040
0x00140040 FinalizePendingTitles
0x00150040 DeleteAllPendingTitles
0x00160000 Wrapper for AMPXI command 0x00410000
0x00170044 ?
0x00180080 InitializeTitleDatabase
0x00190040 ReloadDBS
0x001A00C0 GetDSiWareExportSize
0x001B0144 ExportDSiWare
0x001C0084 ImportDSiWare
0x001D0000 Wrapper for AMPXI command 0x00510000
0x001E00C8 DSiWare related.
0x001F0040 Wrapper for AMPXI command 0x00520040
0x00200000 Wrapper for AMPXI command 0x00540000
0x00210042 Wrapper for AMPXI command 0x004C0042
0x00220080 DeletePendingTitles
0x00230080 GetPendingTitleCount
0x002400C2 GetPendingTitleList
0x002500C0 Wrapper for AMPXI command 0x005600C0
0x00260044 Wrapper for AMPXI command 0x00620044
0x00270044 ?
0x00280108 ?
0x00290082 Wrapper for AMPXI command 0x00670082
0x002A00C0 Wrapper for AMPXI command 0x006A00C0
0x002B0142 Wrapper for AMPXI command 0x006B0142
0x002C0084 ?
0x002D00C0 ?

Application Manager services "am:u" and "am:net"

Command Header Description
0x04010080 InstallFIRM
0x04020040 StartInstallCIADB0
0x04030000 StartInstallCIADB1
0x04040002 AbortCIAInstall
0x04050002 CloseCIAFinalizeInstall
0x04060002 CloseCIA
0x040700C2 FinalizeTitlesInstall
0x04080042 GetCiaFileInfo
0x04090004 GetCiaIcon
0x040A0002 ?
0x040B0002 For this command, AM module reads an u64 from the CIA using the specified file-handle? (u64* out, CIA filehandle)
0x040C0002 ?
0x040D0042 ?
0x040E00C2 InstallTitlesFinish
0x040F0000 InstallNATIVEFIRM
0x041000C0 DeleteTitle
0x04110044 Wrapper for AMPXI command 0x00500044
0x04120000 Initialize
0x04130002 ?
0x04140044 GetCiaMetaSection
0x04150080 ?
0x041600C0 Wrapper for AMPXI command 0x006400C0
0x041700C0 MigrateAGBtoSAV
0x04180040 ?
0x04190000 ?

Application Manager service "am:app"

Command Header Description
0x100100C0 GetNumContentInfos
0x10020104 ApplicationControl::FindContentInfos
0x10030142 ApplicationControl::ListContentInfos
0x10040102 ApplicationControl::DeleteContents
0x10050084 GetDataTitleInfos
0x10060080 Wrapper for AMPXI command 0x005F0080
0x10070102 ApplicationControl::ListDataTitleTicketInfos
0x100801C2 Wrapper for AMPXI command 0x006801C2
0x100900C0 IsDataTitleInUse
0x100A0000 IsExternalTitleDatabaseInitialized
0x100B00C0 Wrapper for AMPXI command 0x006A00C0
0x100C0142 Wrapper for AMPXI command 0x006B0142
0x100D0084 GetDemoDataTitleInfos

Application Manager service "am:sys"

Application Manager service "am:u"

Application Manager service "am:pipe"

Application Manager network service "am:net"

Command Header Description
0x08010000 InstallTicketBegin
0x08020002 InstallTicketAbort
0x08030002 InstallTicketFinalize
0x08040100 InstallTitleBegin
0x08050000 InstallTitleAbort
0x080600C0 InstallTitleResume
0x08070000 InstallTitleAbortTMD
0x08080000 InstallTitleFinish
0x080900C2 Wrapper for AMPXI command 0x002A00C2
0x080A0000 InstallTmdBegin
0x080B0002 InstallTmdAbort
0x080C0042 InstallTmdFinalize
0x080D0042 Wrapper for AMPXI command 0x00570042
0x080E0040 InstallContentBegin
0x080F0002 InstallContentAbort
0x08100040 InstallContentResume
0x08110002 Wrapper for AMPXI command 0x001A0000?
0x08120002 InstallContentFinalize
0x08130000 GetTotalContents
0x08140042 GetContentIndexes
0x08150044 GetContentsInfo
0x08160146 Wrapper for AMPXI command 0x00390146
0x08170146 Stubbed; returns 0xF8C083F4
0x08180042 GetCTCert
0x08190108 SetCertificates
0x081A0042 Wrapper for AMPXI command 0x003E0042
0x081B00C2 InstallTitlesFinish
0x081C0100 Wrapper for AMPXI command 0x004B0100
0x081D0080 Wrapper for AMPXI command 0x00490080
0x081E0102 Wrapper for AMPXI command 0x004A0102
0x081F0080 Wrapper for AMPXI command 0x005F0080
0x08200102 Wrapper for AMPXI command 0x00600102
0x08210142 Wrapper for AMPXI command 0x00610142
0x08220000 Wrapper for AMPXI command 0x005B0000
0x08230044 Wrapper for AMPXI command 0x005C0044
0x08240082 Wrapper for AMPXI command 0x005D0082
0x08250102 ?
0x08260042 Wrapper for AMPXI command 0x00630042
0x08270000 ?
0x082800C0 Wrapper for AMPXI command 0x006C00C0

File service

Command Header Description
0x080200C2 Read
0x08030102 Write
0x08040000 GetSize
0x08050080 SetSize
0x08080000 Close

These are identical to FSFile.

Errors

See this.