Difference between revisions of "/dev/mcp"
< /dev
Jump to navigation
Jump to search
WulfyStylez (talk | contribs) (flesh out ioctlvs, most funcs that were marked cpu internal were actually: if(not_arm) check_permissions()) |
WulfyStylez (talk | contribs) (some ioctls) |
||
Line 38: | Line 38: | ||
| 0x05 | | 0x05 | ||
| MCP_CompatWagonSourcePrepare | | MCP_CompatWagonSourcePrepare | ||
− | | | + | | No |
− | | | + | | 0x0400 |
| | | | ||
| | | | ||
Line 45: | Line 45: | ||
| 0x06 | | 0x06 | ||
| MCP_CompatWagonSourceComplete | | MCP_CompatWagonSourceComplete | ||
− | | | + | | Yes |
− | | | + | | 0x400 |
| | | | ||
| | | | ||
Line 52: | Line 52: | ||
| 0x07 | | 0x07 | ||
| MCP_CompatWagonDestinationPrepare | | MCP_CompatWagonDestinationPrepare | ||
− | | | + | | No |
− | | | + | | 0x0400 |
| | | | ||
| | | | ||
Line 59: | Line 59: | ||
| 0x08 | | 0x08 | ||
| MCP_CompatWagonDestinationComplete | | MCP_CompatWagonDestinationComplete | ||
− | | | + | | No |
− | | | + | | 0x400 |
| | | | ||
| | | | ||
Line 66: | Line 66: | ||
| 0x09 | | 0x09 | ||
| MCP_CompatWagonDeleteContext | | MCP_CompatWagonDeleteContext | ||
− | | | + | | No |
− | | | + | | 0x400 |
| | | | ||
| | | | ||
Line 73: | Line 73: | ||
| 0x0A | | 0x0A | ||
| MCP_CompatWagonCreateContext | | MCP_CompatWagonCreateContext | ||
− | | | + | | No |
− | | | + | | 0x0400 |
| | | | ||
| | | | ||
Line 80: | Line 80: | ||
| 0x0B | | 0x0B | ||
| MCP_CompatWagonDeleteArchiveHash | | MCP_CompatWagonDeleteArchiveHash | ||
− | | | + | | No |
− | | | + | | 0x0400 |
| | | | ||
| | | | ||
Line 87: | Line 87: | ||
| 0x0C | | 0x0C | ||
| MCP_CompatExPrepareLaunch | | MCP_CompatExPrepareLaunch | ||
− | | | + | | No |
− | | | + | | 0x0002 |
| | | | ||
| | | | ||
Line 94: | Line 94: | ||
| 0x0D | | 0x0D | ||
| MCP_CompatExLaunch | | MCP_CompatExLaunch | ||
− | | | + | | No |
− | | | + | | 0x0002 |
| | | | ||
| | | | ||
Line 101: | Line 101: | ||
| 0x0E | | 0x0E | ||
| MCP_CompatHaiCreateCompanionFile | | MCP_CompatHaiCreateCompanionFile | ||
+ | | No | ||
+ | | 0x0002 | ||
+ | | | ||
| | | | ||
+ | |- | ||
+ | | 0x10 | ||
| | | | ||
+ | | No | ||
| | | | ||
| | | | ||
+ | | COS-KERNEL only? | ||
|- | |- | ||
| 0x20 | | 0x20 | ||
Line 111: | Line 118: | ||
| | | | ||
| | | | ||
− | | | + | | COS-KERNEL only? |
|- | |- | ||
| 0x40 | | 0x40 | ||
Line 124: | Line 131: | ||
| ? | | ? | ||
| 0x0008 | | 0x0008 | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | 0x42 | ||
+ | | | ||
+ | | ? | ||
+ | | 0x0010 | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | 0x47 | ||
+ | | | ||
+ | | PPC only? | ||
+ | | | ||
| | | | ||
| | | | ||
Line 481: | Line 502: | ||
| No | | No | ||
| 0x0004 | | 0x0004 | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | 0x121 | ||
+ | | | ||
+ | | No | ||
+ | | 0x0080 | ||
| | | | ||
| | | |
Revision as of 04:38, 23 April 2016
List of functions (Ioctl/Ioctlv)
Command | Function | ARM only | Permissions | Description | Notes |
---|---|---|---|---|---|
0x01 | MCP_LaunchCompat | No | 0x0002 | ||
0x02 | MCP_CompatLoadAVFile | No | 0x0002 | ||
0x03 | MCP_CompatCopyFile | No | 0x0042 | ||
0x04 | MCP_CompatGetVersion | No | 0x0002 | ||
0x05 | MCP_CompatWagonSourcePrepare | No | 0x0400 | ||
0x06 | MCP_CompatWagonSourceComplete | Yes | 0x400 | ||
0x07 | MCP_CompatWagonDestinationPrepare | No | 0x0400 | ||
0x08 | MCP_CompatWagonDestinationComplete | No | 0x400 | ||
0x09 | MCP_CompatWagonDeleteContext | No | 0x400 | ||
0x0A | MCP_CompatWagonCreateContext | No | 0x0400 | ||
0x0B | MCP_CompatWagonDeleteArchiveHash | No | 0x0400 | ||
0x0C | MCP_CompatExPrepareLaunch | No | 0x0002 | ||
0x0D | MCP_CompatExLaunch | No | 0x0002 | ||
0x0E | MCP_CompatHaiCreateCompanionFile | No | 0x0002 | ||
0x10 | No | COS-KERNEL only? | |||
0x20 | MCP_GetEnvironmentVariable | No | COS-KERNEL only? | ||
0x40 | MCP_GetSysProdSettings | No | 0x0010 | ||
0x41 | ? | 0x0008 | |||
0x42 | ? | 0x0010 | |||
0x47 | PPC only? | ||||
0x4C | MCP_GetOwnTitleInfo | ||||
0x4D | MCP_TitleCount | ? | ? | ||
0x50 | MCP_CloseTitle | No | |||
0x51 | MCP_PrepareTitle | No | |||
0x53 | MCP_LoadFile | No | |||
0x57 | MCP_GetFileLength | No | |||
0x58 | MCP_TitleList | ? | ? | ||
0x5A | MCP_GetLaunchParameters | No | |||
0x5B | MCP_GetTitleId | ||||
0x60 | MCP_SetAbsoluteSystemTime | No | |||
0x61 | MCP_GetAbsoluteSystemTime | No | |||
0x63 | MCP_SetPowerButtonEnabled | No | |||
0x72 | MCP_PatchGetVersion | No | 0x0004 | ||
0x7D | MCP_InstallGetAocSize2 | ||||
0x80 | MCP_InstallGetInfo | No | 0x0004 | ||
0x81 | MCP_InstallTitleAsync | No | 0x0004 | ||
0x82 | MCP_InstallGetProgress | ||||
0x83 | MCP_DeleteTitleAsync | No | 0x0008 | ||
0x84 | MCP_UninstallTitleAsync | No? | 0x0008? | ||
0x85 | MCP_CopyTitleAsync | No | 0x0004 | ||
0x86 | ? | 0x0004 | |||
0x86 | No | 0x0004 | |||
0x88 | No | 0x0004 | |||
0x8C | MCP_DeleteContentAsync | No | 0x0080 | ||
0x8E | MCP_DeleteTicketsAsync | ||||
0x90 | MCP_UpdateCheckAsync | No | 0x0008 | ||
0x91 | MCP_UpdatePerformAsync | No | 0x0004 | ||
0x92 | MCP_UpdateGetProgress | No | 0x0004 | ||
0x93 | MCP_UpdatePrepareUpdaterAsync | No | 0x0008 | ||
0x95 | MCP_UpdateGetPathByAppTypeAsync | No | 0x0004 | ||
0x97 | MCP_UpdateClearContextAsync | ||||
0x98 | MCP_UpdateCheckUpdaterVersion | No | 0x0008 | ||
0xA0 | MCP_TitleListUpdateGetNext | ? | ? | ||
0xA2 | MCP_TitleListUpdateCancel | ? | ? | ||
0xD0 | Yes | ||||
0xD1 | Yes | ||||
0xD4 | MCP_GetContentInfos | No | 0x0010 | ||
0xD6 | MCP_GetTicketViews | No | 0x0084 | ||
0xD7 | No | 0x0004 | |||
0xD9 | No | 0x0004 | |||
0xDA | No | 0x0010 | |||
0xDC | MCP_GetTicketItemRights | No | 0x0084 | ||
0xDD | Yes | ||||
0xDE | MCP_GetInstalledContentCount | No | 0x0010 | ||
0xDF | MCP_GetInstalledContentIndices | No | 0x0010 | ||
0xF0 | MCP_InstallGetSize | No | 0x0004 | ||
0xF1 | MCP_InstallSetTargetUsb | ||||
0xFB | MCP_InstallGetRequiredSize | No | 0x0004 | ||
0xFD | MCP_DeleteTitleDoneAsync | No | 0x0008 | ||
0xFE | MCP_CopyTitleDoneAsync | No | 0x0004 | ||
0xFF | MCP_CopyGetRequiredSize | No | 0x0004 | ||
0x121 | No | 0x0080 | |||
0x125 | MCP_AocGetOpenInfo | No | 0x0010 | ||
0x140 | MCP_CopyTitleAbort | ||||
0x141 | MCP_DeleteTitleAbort | ||||
0x142 | MCP_InstallTitleAbort | ||||
0x143 | MCP_InstallCleanupAsync | No | 0x0004 | ||
0x147 | MCP_CreateLinkedTitlePackage | No | 0x0004 | ||
0x148 | MCP_DeleteLinkedTitlePackage | No | 0x0004 | ||
0x150 | MCP_GetInstalledTitleVersion | No | 0x0010 | ||
0x151 | No | 0x0010 | |||
0x152 | No | 0x0010 | |||
0x170 | MCP_AppTagSetEnability | No | |||
0x177 | MCP_AppTagReadWithPos | No | |||
0x178 | MCP_AppTagWriteWithPos | No | |||
0x179 | MCP_AppTagTruncateWithPos | No |