Difference between revisions of "SceSblFwLoader"

From Vita Development Wiki
Jump to navigation Jump to search
m (→‎Known NIDs: Mark NID as valid down to 0.990)
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
This library has been moved to SceSblPostSsMgr at 3.60.
 +
 +
This library is mainly used to obtain FwImage (such as PSPEmu IPL and flash image).
 +
 
== Module ==
 
== Module ==
  
=== Known NIDs ===
 
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Version !! Name !! World !! Privilege !! NID
+
! Version !! World !! Privilege
 
|-
 
|-
| 1.69 || SceSblFwLoader || Non-secure || Kernel || 0x589D2964
+
| 1.69 || Non-secure || Kernel
 
|}
 
|}
  
Line 17: Line 20:
 
! Version !! Name !! World !! Visibility !! NID
 
! Version !! Name !! World !! Visibility !! NID
 
|-
 
|-
| 1.69 || [[SceSblFwLoader#SceSblFwLoaderForDriver|SceSblFwLoaderForDriver]] || Non-secure || Kernel || 0x6FE424E4
+
| 0.990-3.60 || [[SceSblFwLoader#SceSblFwLoaderForDriver|SceSblFwLoaderForDriver]] || Non-secure || Kernel || 0x6FE424E4
 
|}
 
|}
  
Line 32: Line 35:
 
Loads firmware into buffer "dst". Real loaded size is returned in "loaded_size" variable.
 
Loads firmware into buffer "dst". Real loaded size is returned in "loaded_size" variable.
  
<source lang="c">int __fastcall SceSblFwLoaderForDriver_91C73A54(int unk, void *dst, int dst_size, int *loaded_size);</source>
+
<source lang="c">int sceSblFwLoaderLoadForDriver(int unk_one, void *pVA, SceSize maxSize, SceSize *loadedSize);</source>
  
 
=== sceSblFwLoaderLockForDriver ===
 
=== sceSblFwLoaderLockForDriver ===
Line 42: Line 45:
 
|}
 
|}
  
Debug logs tells it does "sceSblFwLoaderSetPath".
+
Inline calls <code>sceSblFwLoaderSetPath</code>.
  
 
Locks fw loader and sets path to firmware file to work with.
 
Locks fw loader and sets path to firmware file to work with.
  
<source lang="c">int sceSblFwLoaderLockForDriver(char *path);</source>
+
<source lang="c">SceInt32 sceSblFwLoaderLockForDriver(const char *path, int unk_zero);</source>
  
 
=== sceSblFwLoaderUnlockForDriver ===
 
=== sceSblFwLoaderUnlockForDriver ===
Line 55: Line 58:
 
| 0.990-3.60 || 0xBB59FC7A
 
| 0.990-3.60 || 0xBB59FC7A
 
|}
 
|}
 +
 +
<source lang="c">int sceSblFwLoaderUnlockForDriver(void);</source>
  
  
 
[[Category:Modules]]
 
[[Category:Modules]]
 
[[Category:Kernel]]
 
[[Category:Kernel]]

Revision as of 20:02, 25 April 2022

This library has been moved to SceSblPostSsMgr at 3.60.

This library is mainly used to obtain FwImage (such as PSPEmu IPL and flash image).

Module

Version World Privilege
1.69 Non-secure Kernel

Libraries

Known NIDs

Version Name World Visibility NID
0.990-3.60 SceSblFwLoaderForDriver Non-secure Kernel 0x6FE424E4

SceSblFwLoaderForDriver

sceSblFwLoaderLoadForDriver

Version NID
0.990-3.60 0x91C73A54

Loads firmware into buffer "dst". Real loaded size is returned in "loaded_size" variable.

int sceSblFwLoaderLoadForDriver(int unk_one, void *pVA, SceSize maxSize, SceSize *loadedSize);

sceSblFwLoaderLockForDriver

Version NID
0.990-3.60 0xA6278D27

Inline calls sceSblFwLoaderSetPath.

Locks fw loader and sets path to firmware file to work with.

SceInt32 sceSblFwLoaderLockForDriver(const char *path, int unk_zero);

sceSblFwLoaderUnlockForDriver

Version NID
0.990-3.60 0xBB59FC7A
int sceSblFwLoaderUnlockForDriver(void);