Difference between revisions of "SceSblFwLoader"

From Vita Development Wiki
Jump to navigation Jump to search
 
(5 intermediate revisions by 3 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
+
| 1.69-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".
+
Debug logs tell it does "sceSblFwLoaderSetPath".
  
 
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">int 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]]

Latest revision as of 20:28, 4 February 2021

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
1.69-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

Debug logs tell it does "sceSblFwLoaderSetPath".

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

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

sceSblFwLoaderUnlockForDriver

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