SceUsbMass: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
No edit summary
Line 42: Line 42:
|}
|}


<source lang="C">sceUsbMassGetDevInfoForDriver(SceUsbMassDevInfo *info);</source>
<source lang="C">int sceUsbMassGetDevInfoForDriver(SceUsbMassDevInfo *info);</source>


=== sceUsbMassReadSectorForDriver ===
=== sceUsbMassReadSectorForDriver ===
Line 52: Line 52:
|}
|}


<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 62: Line 62:
|}
|}


<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 72: Line 72:
|}
|}


<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 82: Line 82:
|}
|}


<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 92: Line 92:
|}
|}


<source lang="C">SceUsbMassForDriver_7833D935(int a1, int a2);</source>
<source lang="C">int SceUsbMassForDriver_7833D935(int a1, int a2);</source>


[[Category:Modules]]
[[Category:Modules]]
[[Category:Kernel]]
[[Category:Kernel]]

Revision as of 01:13, 20 March 2020

Module

Known NIDs

Version Name World Privilege NID
3.65 SceUsbMass Non-secure Kernel 0xF999FDAB

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);