SceSdstor: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 27: | Line 27: | ||
! Version !! Name !! World !! Visibility !! NID | ! Version !! Name !! World !! Visibility !! NID | ||
|} | |} | ||
== Types == | |||
<source lang="c"> | |||
typedef struct sdstor_mbr_ctx //size is 0x238 | |||
{ | |||
uint8_t unk_0[0x50]; | |||
uint32_t unk_50; | |||
void* mbr_ptr; //pointer to corresponding MBR record in array (offset 0x40) | |||
uint32_t unk_58; | |||
uint32_t unk_5C; | |||
uint8_t unk_60[0x1D8]; | |||
}sdstor_mbr_ctx; | |||
</source> | |||
== Data segment layout == | == Data segment layout == |
Revision as of 18:10, 11 February 2017
Module
SceSdstor module does not export any functions exсept module_start.
This module is responsible for initializing all storage devices. This includes:
- eMMC
- Game gard
- Memory card
- Usb Mass Storage (unknown SceUsbMassForDriver)
Known NIDs
Version | Name | World | Privilege | NID |
---|---|---|---|---|
1.69 | SceSdstor | Non-secure | Kernel | 0x5804A397 |
3.60 | SceSdstor | ? | Kernel | 0xD7FBAE7C |
Libraries
Known NIDs
Version | Name | World | Visibility | NID |
---|
Types
typedef struct sdstor_mbr_ctx //size is 0x238 { uint8_t unk_0[0x50]; uint32_t unk_50; void* mbr_ptr; //pointer to corresponding MBR record in array (offset 0x40) uint32_t unk_58; uint32_t unk_5C; uint8_t unk_60[0x1D8]; }sdstor_mbr_ctx;
Data segment layout
Address | Size | Description |
---|---|---|
0x0000 | 0x40 | unknown |
0x0040 | 0x200 | MBR of eMMC |
0x0240 | 0x200 | MBR of Game gard |
0x0440 | 0x200 | MBR of Memory card |
0x0640 | 0x200 | unknown (most likely for MBR since there are 5 elements in all arrays) |
0x0840 | 0x200 | unknown (most likely for MBR since there are 5 elements in all arrays) |
0x0A40 | 0x238 | unknown element 0 |
0x0C78 | 0x238 | unknown element 1 |
0x0EB0 | 0x238 | unknown element 2 |
0x10E8 | 0x238 | unknown element 3 |
0x1320 | 0x238 | unknown element 4 |
0x1558 | 0x1C8 | unknown |
0x1720 | 0x200 | unknown (gcd-lp-act-mediaid ?) |
0x1920 | 0x200 | unknown (mcd-lp-act-mediaid ?) |
0x1B20 | 0xB4 | array of 5 structures of size 0x24 |
0x1BD4 | 0x1C | unknown |
0x1BF0 | 0x3C | array of 5 structures of size 0xC |
0x1C2C | 0x8C | array of 5 structures of size 0x1C |
0x1CB8 | 0x8 | unknown |
0x1CC0 | 0x200 | MBR of Game gard |
SceSdstor
module_start
Version | NID |
---|---|
3.60 | 0x935cd196 |
int module_start();