SceSblFwLoader: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
(→‎sceSblFwLoaderLockForDriver: change name to real name)
(→‎sceSblFwLoaderSetPathForDriver: revert name change, neverming)
Line 37: Line 37:
<source lang="c">int sceSblFwLoaderLoadForDriver(int unk_one, void *pVA, SceSize maxSize, SceSize *loadedSize);</source>
<source lang="c">int sceSblFwLoaderLoadForDriver(int unk_one, void *pVA, SceSize maxSize, SceSize *loadedSize);</source>


=== sceSblFwLoaderSetPathForDriver ===
=== sceSblFwLoaderLockForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 45: Line 45:
|}
|}


Wrongly named <code>sceSblFwLoaderLock</code>.
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">SceInt32 sceSblFwLoaderSetPathForDriver(const char *path, int unk_zero);</source>
<source lang="c">SceInt32 sceSblFwLoaderLockForDriver(const char *path, int unk_zero);</source>


=== sceSblFwLoaderUnlockForDriver ===
=== sceSblFwLoaderUnlockForDriver ===

Revision as of 20:01, 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
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

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