Editing IOCTL

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
In computing, ioctl (an abbreviation of input/output control) is a system call for device-specific input/output operations and other operations which cannot be expressed by regular file semantics. It takes a parameter specifying a request code; the effect of a call depends completely on the request code. Request codes are often device-specific. For instance, a CD-ROM device driver which can instruct a physical device to eject a disc would provide an ioctl request code to do so. Device-independent request codes are sometimes used to give usermode access to kernel functions which are only used by core system software or still under development.
= Pup Related =
 
See also [https://en.wikipedia.org/wiki/Ioctl wikipedia page about IOCTL].
 
See also [https://www.psdevwiki.com/ps4/IOCTL PS4 IOCTL]s.
 
= List of IOCTL by kernel device =
 
The list of IOCTL is documented in the PS5 [[Devices]] page (to fusion).
 
== PUP Related ==


<pre>
<pre>
0x20004407 UpdateSnvs
0x40047400 updaterGetWlanDeviceId
0x40047400 updaterGetWlanDeviceId
0xC001440F GetXtsKeyNum
0xC0104401 VerifyBlsHeader
0xC0104408 genChallenge
0xC0104408 genChallenge
0xC010440E UpdateFloydFw
0xC010440C IdentifyNandController
0xC0104410 verifyResponse
0xC0104410 verifyResponse
0x20004407 UpdateSnvs
0xC0184402 DecryptPupHeader
0xC0184402 DecryptPupHeader
0xC0284406 DecryptPupSegmentBlock
0xC0184403 VerifyPupAdditionalSign
0xC0184403 VerifyPupAdditionalSign
0xC0184404 VerifyPupWatermark
0xC0184404 VerifyPupWatermark
0xC0104401 VerifyBlsHeader
0xC0184405 DecryptPupSegment
0xC0184405 DecryptPupSegment
0xC010440E UpdateFloydFw
0xC018440A ReadNandGroup
0xC018440A ReadNandGroup
0xC018440B WriteNandGroup
0xC018440B WriteNandGroup
0xC0284406 DecryptPupSegmentBlock
0xC010440C IdentifyNandController
</pre>
 
== TEE Related ==
 
<pre>
typedef enum TEE_IOCTLS {
    TEE_IOC_VERSION=0x400cb400,
    TEE_IOC_DLM_STOP_TA_DEBUG=0x8008b40b,
    TEE_IOC_CLOSE_SESSION=0xc004b405,
    TEE_SHMEM_RELEASE=0xc004b40e,
    TEE_SET_TIMEOUT=0xc004b40f,
    TEE_IOC_CANCEL=0xc008b404,
    TEE_IOC_OPEN_SESSION=0xc010b402,
    TEE_IOC_INVOKE=0xc010b403,
    TEE_IOC_DLM_GET_DEBUG_TOKEN=0xc010b408,
    TEE_SHMEM_MAP_SETNAME=0xc020b40d, // not sure if map or if set shm name
    TEE_IOC_DLM_START_TA_DEBUG=0xc028b409,
    TEE_IOC_INIT_ASD=0xc038b40c,
    TEE_IOC_DLM_FETCH_DEBUG_STRING=0xc110b40a
} TEE_IOCTLS;
</pre>
 
== Manufacturing Mode Related ==
 
<pre>
sceSblManuAuthSetManuModeInternal: 0xc0184d0a
sceSblManuAuthSetManuMode: 0xc0184d03
sceSblManuAuthUnloadSecureModule: 0x40184d02
sceSblManuAuthLoadSecureModule: 0x40184d01
</pre>
</pre>


== Uncategorized ==
= Uncategorized =


<pre>
<pre>
Line 75: Line 35:
devActGenRequest: 0x4030440b
devActGenRequest: 0x4030440b
gc_reset: 0x8004b201
gc_reset: 0x8004b201
fftrm read sector: 0xc0185301
fftrm write sector: 0xc0185302
fftrm read idu flag: 0xc0185303
fftrm write idu flag: 0xc0185304
</pre>
</pre>
Please note that all contributions to PS5 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS5 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)