SceUsbMass: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Module == === Known NIDs === {| class="wikitable" |- ! Version !! Name !! World !! Privilege !! NID |- | 3.65 || SceUsbMass || Non-secure || Kernel || 0xF999FDAB |} == Li...") |
No edit summary |
||
(5 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.65 || [[SceUsbMass#SceUsbMassForDriver|SceUsbMassForDriver]] || Non-secure || Kernel || 0x15243EC5 | | 3.60-3.65 || [[SceUsbMass#SceUsbMassForDriver|SceUsbMassForDriver]] || Non-secure || Kernel || 0x15243EC5 | ||
|} | |} | ||
== Types == | |||
<source lang="C"> | |||
typedef struct SceUsbMassDevInfo { | |||
SceSize number_of_all_sector; | |||
int data_04; | |||
SceSize sector_size; | |||
int data_0C; | |||
} SceUsbMassDevInfo; | |||
</source> | |||
== SceUsbMassForDriver == | == SceUsbMassForDriver == | ||
=== sceUsbMassGetDevInfoForDriver === | |||
{| class="wikitable" | |||
|- | |||
! Version !! NID | |||
|- | |||
| 3.60-3.65 || 0xD989A9F6 | |||
|} | |||
<source lang="C">int sceUsbMassGetDevInfoForDriver(SceUsbMassDevInfo *info);</source> | |||
=== sceUsbMassReadSectorForDriver === | |||
{| class="wikitable" | |||
|- | |||
! Version !! NID | |||
|- | |||
| 3.60-3.65 || 0xB80D1DF8 | |||
|} | |||
<source lang="C">int sceUsbMassReadSectorForDriver(SceSize sector_pos, void *data, SceSize sector_num);</source> | |||
=== sceUsbMassWriteSectorForDriver === | |||
{| class="wikitable" | |||
|- | |||
! Version !! NID | |||
|- | |||
| 3.60-3.65 || 0x081CA197 | |||
|} | |||
<source lang="C">int sceUsbMassWriteSectorForDriver(SceSize sector_pos, const void *data, SceSize sector_num);</source> | |||
=== sceUsbMassIntrHandlerForDriver === | |||
{| class="wikitable" | |||
|- | |||
! Version !! NID | |||
|- | |||
| 3.60-3.65 || 0xF2BAB182 | |||
|} | |||
<source lang="C">int sceUsbMassIntrHandlerForDriver(int intr_code, void *userCtx);</source> | |||
=== SceUsbMassForDriver_3C821E99 === | |||
{| class="wikitable" | |||
|- | |||
! Version !! NID | |||
|- | |||
| 3.60-3.65 || 0x3C821E99 | |||
|} | |||
<source lang="C">int SceUsbMassForDriver_3C821E99(int a1, int a2);</source> | |||
=== SceUsbMassForDriver_7833D935 === | |||
{| class="wikitable" | |||
|- | |||
! Version !! NID | |||
|- | |||
| 3.60-3.65 || 0x7833D935 | |||
|} | |||
<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