Difference between revisions of "SceMsif"

From Vita Development Wiki
Jump to navigation Jump to search
Line 44: Line 44:
 
|}
 
|}
  
<source lang="c">int read_sector(int sector, char* buffer, int nSectors);</source>
+
<source lang="c">int ms_read_sector(int sector, char* buffer, int nSectors);</source>
  
 
=== write_sector ===
 
=== write_sector ===
Line 54: Line 54:
 
|}
 
|}
  
<source lang="c">int write_sector(int sector, char* buffer, int nSectors);</source>
+
<source lang="c">int ms_write_sector(int sector, char* buffer, int nSectors);</source>
  
 
=== enable_slow_mode ===
 
=== enable_slow_mode ===
Line 64: Line 64:
 
|}
 
|}
  
<source lang="c">int enable_slow_mode();</source>
+
<source lang="c">int ms_enable_slow_mode();</source>
  
 
=== disable_slow_mode ===
 
=== disable_slow_mode ===
Line 74: Line 74:
 
|}
 
|}
  
<source lang="c">int disable_slow_mode();</source>
+
<source lang="c">int ms_disable_slow_mode();</source>
  
 
=== get_slow_mode_state ===
 
=== get_slow_mode_state ===
Line 84: Line 84:
 
|}
 
|}
  
<source lang="c">int get_slow_mode_state();</source>
+
<source lang="c">int ms_get_slow_mode_state();</source>
  
 
=== init1 ===
 
=== init1 ===
Line 94: Line 94:
 
|}
 
|}
  
<source lang="c">int init1();</source>
+
<source lang="c">int ms_init1();</source>
  
 
=== init2 ===
 
=== init2 ===
Line 104: Line 104:
 
|}
 
|}
  
<source lang="c">int init2(void* unk0_40);</source>
+
<source lang="c">int ms_init2(void* unk0_40);</source>
 +
 
 +
=== ms_get_state ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0xF997286B
 +
|}
 +
 
 +
<source lang="c">int ms_get_state();</source>
 +
 
 +
=== ms_substract_pair ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0x855E1E38
 +
|}
 +
 
 +
<source lang="c">
 +
typedef struct ms_pair
 +
{
 +
  uint32_t unk_0;
 +
  uint32_t unk_4;
 +
} ms_pair;
 +
 
 +
ms_pair ms_substract_pair();
 +
</source>
  
 
[[Category:Modules]]
 
[[Category:Modules]]
 
[[Category:Kernel]]
 
[[Category:Kernel]]

Revision as of 23:04, 29 January 2017

Module

Known NIDs

Version Name World Privilege NID
1.69 SceMsif Non-secure Kernel 0xFA979E8E
3.60 SceMsif ? Kernel 0x3305A0FE

Libraries

Known NIDs

Version Name World Visibility NID
1.69 SceMsifForDriver Non-secure Kernel 0xB706084A
3.60 SceMsifForDriver ? Kernel 0xB706084A

SceMsifForDriver

module_start

Version NID
3.60 0x935cd196
int module_start();

read_sector

Version NID
3.60 0x58654AA3
int ms_read_sector(int sector, char* buffer, int nSectors);

write_sector

Version NID
3.60 0x329035EF
int ms_write_sector(int sector, char* buffer, int nSectors);

enable_slow_mode

Version NID
3.60 0x4B751CE6
int ms_enable_slow_mode();

disable_slow_mode

Version NID
3.60 0x75848756
int ms_disable_slow_mode();

get_slow_mode_state

Version NID
3.60 0x491E25B5
int ms_get_slow_mode_state();

init1

Version NID
3.60 0x4EA579EF
int ms_init1();

init2

Version NID
3.60 0xD0307849
int ms_init2(void* unk0_40);

ms_get_state

Version NID
3.60 0xF997286B
int ms_get_state();

ms_substract_pair

Version NID
3.60 0x855E1E38
typedef struct ms_pair
{
   uint32_t unk_0;
   uint32_t unk_4;
} ms_pair;

ms_pair ms_substract_pair();