SceUsbMass: Difference between revisions
Jump to navigation
Jump to search
(→Module) |
No edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 16: | 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 28: | Line 28: | ||
int data_0C; | int data_0C; | ||
} SceUsbMassDevInfo; | } SceUsbMassDevInfo; | ||
</source> | </source> | ||
Line 38: | Line 37: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
| 3.60 - 3.65 || 0xD989A9F6 | | 3.60-3.65 || 0xD989A9F6 | ||
|} | |} | ||
Line 48: | Line 47: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
| 3.60 - 3.65 || 0xB80D1DF8 | | 3.60-3.65 || 0xB80D1DF8 | ||
|} | |} | ||
Line 58: | Line 57: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
| 3.60 - 3.65 || 0x081CA197 | | 3.60-3.65 || 0x081CA197 | ||
|} | |} | ||
Line 68: | Line 67: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
| 3.60 - 3.65 || 0xF2BAB182 | | 3.60-3.65 || 0xF2BAB182 | ||
|} | |} | ||
Line 78: | Line 77: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
| 3.60 - 3.65 || 0x3C821E99 | | 3.60-3.65 || 0x3C821E99 | ||
|} | |} | ||
Line 88: | Line 87: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
| 3.60 - 3.65 || 0x7833D935 | | 3.60-3.65 || 0x7833D935 | ||
|} | |} | ||
<source lang="C">int 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