SceUsbMass: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Module == | == Module == | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Version | ! Version !! World !! Privilege | ||
|- | |- | ||
| 3.65 | | 3.60-3.65 || Non-secure || Kernel | ||
|} | |} | ||
Line 17: | Line 16: | ||
! Version !! Name !! World !! Visibility !! NID | ! Version !! Name !! World !! Visibility !! NID | ||
|- | |- | ||
| 3.60 - 3.65 || [[SceUsbMass#SceUsbMassForDriver|SceUsbMassForDriver]] || Non-secure || Kernel || 0x15243EC5 | | 3.60-3.65 || [[SceUsbMass#SceUsbMassForDriver|SceUsbMassForDriver]] || Non-secure || Kernel || 0x15243EC5 | ||
|} | |} | ||
== Types == | == Types == | ||
<source lang="C"> | <source lang="C"> | ||
typedef struct SceUsbMassDevInfo { | typedef struct SceUsbMassDevInfo { | ||
SceSize number_of_all_sector; | SceSize number_of_all_sector; | ||
Line 29: | Line 28: | ||
int data_0C; | int data_0C; | ||
} SceUsbMassDevInfo; | } SceUsbMassDevInfo; | ||
</source> | </source> | ||
Line 39: | Line 37: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
| 3.60 - 3.65 || 0xD989A9F6 | | 3.60-3.65 || 0xD989A9F6 | ||
|} | |} | ||
<source lang="C">sceUsbMassGetDevInfoForDriver(SceUsbMassDevInfo *info);</source> | <source lang="C">int sceUsbMassGetDevInfoForDriver(SceUsbMassDevInfo *info);</source> | ||
=== sceUsbMassReadSectorForDriver === | === sceUsbMassReadSectorForDriver === | ||
Line 49: | Line 47: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
| 3.60 - 3.65 || 0xB80D1DF8 | | 3.60-3.65 || 0xB80D1DF8 | ||
|} | |} | ||
<source lang="C">sceUsbMassReadSectorForDriver(SceSize sector_pos, void *data, SceSize sector_num);</source> | <source lang="C">int sceUsbMassReadSectorForDriver(SceSize sector_pos, void *data, SceSize sector_num);</source> | ||
=== sceUsbMassWriteSectorForDriver === | === sceUsbMassWriteSectorForDriver === | ||
Line 59: | Line 57: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
| 3.60 - 3.65 || 0x081CA197 | | 3.60-3.65 || 0x081CA197 | ||
|} | |} | ||
<source lang="C">sceUsbMassWriteSectorForDriver(SceSize sector_pos, const void *data, SceSize sector_num);</source> | <source lang="C">int sceUsbMassWriteSectorForDriver(SceSize sector_pos, const void *data, SceSize sector_num);</source> | ||
=== sceUsbMassIntrHandlerForDriver === | === sceUsbMassIntrHandlerForDriver === | ||
Line 69: | Line 67: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
| 3.60 - 3.65 || 0xF2BAB182 | | 3.60-3.65 || 0xF2BAB182 | ||
|} | |} | ||
<source lang="C">sceUsbMassIntrHandlerForDriver(int intr_code, void *userCtx);</source> | <source lang="C">int sceUsbMassIntrHandlerForDriver(int intr_code, void *userCtx);</source> | ||
=== SceUsbMassForDriver_3C821E99 === | === SceUsbMassForDriver_3C821E99 === | ||
Line 79: | Line 77: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
| 3.60 - 3.65 || 0x3C821E99 | | 3.60-3.65 || 0x3C821E99 | ||
|} | |} | ||
<source lang="C">SceUsbMassForDriver_3C821E99(int a1, int a2);</source> | <source lang="C">int SceUsbMassForDriver_3C821E99(int a1, int a2);</source> | ||
=== SceUsbMassForDriver_7833D935 === | === SceUsbMassForDriver_7833D935 === | ||
Line 89: | Line 87: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
| 3.60 - 3.65 || 0x7833D935 | | 3.60-3.65 || 0x7833D935 | ||
|} | |} | ||
<source lang="C">SceUsbMassForDriver_7833D935(int a1, int a2);</source> | <source lang="C">int SceUsbMassForDriver_7833D935(int a1, int a2);</source> | ||
== Subroutines == | |||
The definitions in this section are based on offsets of System Software version 3.600.011. | |||
<source lang="C"> | |||
/* | |||
To be defined: | |||
SceUsbMassLock | |||
SceUsbMassUsbdSync | |||
SceUsbMassIOBuf | |||
_sceUsbMassProbe | |||
*/ | |||
int sub_81000170(int a1);//_sceUsbMassDoRequestSense | |||
int sub_81000A68(int a1); //_sceUsbMassDoReadCapacity | |||
int sub_81000610(int a1, int a2, int a3, int a4);//_sceUsbMassDoCSW | |||
int sub_8100030C(int a1, int a2, int a3, unsigned int a4);//_sceUsbMassDoCBW | |||
int sub_81000B88(int a1);//_sceUsbMassAttach | |||
int SceUsbMassForDriver_D989A9F6(int a1);//_sceUsbMassGetDevInfo | |||
int SceUsbMassForDriver_081CA197(unsigned int a1, int a2, unsigned int a3);//_sceUsbMassWriteSector | |||
int SceUsbMassForDriver_B80D1DF8(unsigned int a1, int a2, unsigned int a3);//_sceUsbMassReadSector | |||
</source> | |||
[[Category:ARM]] | |||
[[Category:Kernel]] | |||
[[Category:Modules]] | [[Category:Modules]] | ||
[[Category: | [[Category:Library]] |
Latest revision as of 21:38, 1 May 2023
Module
Version | World | Privilege |
---|---|---|
3.60-3.65 | Non-secure | Kernel |
Libraries
Known NIDs
Version | Name | World | Visibility | NID |
---|---|---|---|---|
3.60-3.65 | SceUsbMassForDriver | Non-secure | Kernel | 0x15243EC5 |
Types
typedef struct SceUsbMassDevInfo { SceSize number_of_all_sector; int data_04; SceSize sector_size; int data_0C; } SceUsbMassDevInfo;
SceUsbMassForDriver
sceUsbMassGetDevInfoForDriver
Version | NID |
---|---|
3.60-3.65 | 0xD989A9F6 |
int sceUsbMassGetDevInfoForDriver(SceUsbMassDevInfo *info);
sceUsbMassReadSectorForDriver
Version | NID |
---|---|
3.60-3.65 | 0xB80D1DF8 |
int sceUsbMassReadSectorForDriver(SceSize sector_pos, void *data, SceSize sector_num);
sceUsbMassWriteSectorForDriver
Version | NID |
---|---|
3.60-3.65 | 0x081CA197 |
int sceUsbMassWriteSectorForDriver(SceSize sector_pos, const void *data, SceSize sector_num);
sceUsbMassIntrHandlerForDriver
Version | NID |
---|---|
3.60-3.65 | 0xF2BAB182 |
int sceUsbMassIntrHandlerForDriver(int intr_code, void *userCtx);
SceUsbMassForDriver_3C821E99
Version | NID |
---|---|
3.60-3.65 | 0x3C821E99 |
int SceUsbMassForDriver_3C821E99(int a1, int a2);
SceUsbMassForDriver_7833D935
Version | NID |
---|---|
3.60-3.65 | 0x7833D935 |
int SceUsbMassForDriver_7833D935(int a1, int a2);
Subroutines
The definitions in this section are based on offsets of System Software version 3.600.011.
/* To be defined: SceUsbMassLock SceUsbMassUsbdSync SceUsbMassIOBuf _sceUsbMassProbe */ int sub_81000170(int a1);//_sceUsbMassDoRequestSense int sub_81000A68(int a1); //_sceUsbMassDoReadCapacity int sub_81000610(int a1, int a2, int a3, int a4);//_sceUsbMassDoCSW int sub_8100030C(int a1, int a2, int a3, unsigned int a4);//_sceUsbMassDoCBW int sub_81000B88(int a1);//_sceUsbMassAttach int SceUsbMassForDriver_D989A9F6(int a1);//_sceUsbMassGetDevInfo int SceUsbMassForDriver_081CA197(unsigned int a1, int a2, unsigned int a3);//_sceUsbMassWriteSector int SceUsbMassForDriver_B80D1DF8(unsigned int a1, int a2, unsigned int a3);//_sceUsbMassReadSector