Line 20:
Line 20:
| [[PS:EncryptSignDecryptVerifyAesCcm|EncryptSignDecryptVerifyAesCcm]]
| [[PS:EncryptSignDecryptVerifyAesCcm|EncryptSignDecryptVerifyAesCcm]]
|-
|-
−
| 0x0006....
+
| 0x00060040
−
| GetRomId
+
| GetRomId (u32 processID)
|-
|-
−
| 0x0007....
+
| 0x00070040
−
| GetRomId2
+
| GetRomId2 (u32 processID)
|-
|-
−
| 0x0008....
+
| 0x00080040
−
| GetRomMakerCode
+
| GetRomMakerCode (u32 processID)
|-
|-
−
| 0x0009....
+
| 0x00090000
| GetCTRCardAutoStartupBit
| GetCTRCardAutoStartupBit
|-
|-
−
| 0x000A....
+
| 0x000A0000
| GetLocalFriendCodeSeed
| GetLocalFriendCodeSeed
|-
|-
−
| 0x000B....
+
| 0x000B0000
| GetDeviceId
| GetDeviceId
|-
|-
Line 44:
Line 44:
| GenerateRandomBytes
| GenerateRandomBytes
|}
|}
+
+
These commands are an interface for [[Process_Services_PXI]].
+
+
For GetRomId, GetRomId2, and GetRomMakerCode, PS-module uses [[FS:GetProgramLaunchInfo]] with the processID which was sent to PS-module via the command input. If GetProgramLaunchInfo fails, PS-module returns error 0xC90107FA. When the mediatype is value2 for gamecard, the PSPXI command is used, otherwise PS-module just clears the output data for the command response.