SceSblFwLoader

From Vita Development Wiki
Revision as of 20:38, 14 July 2023 by CelesteBlue (talk | contribs)
Jump to navigation Jump to search

SceSblFwLoader module is mainly used to obtain firmware images such as PSPEmu IPL and flash image.

This module has been removed and its content moved to SceSblPostSsMgr since System Software version 1.800.071.

Module

Version World Privilege
0.990.000-1.692.000 Non-secure Kernel

Libraries

Known NIDs

Version Name World Visibility NID
0.990.000-1.692.000 SceSblFwLoaderForDriver Non-secure Kernel 0x6FE424E4
1.800.071-3.740.011 SceSblFwLoaderForDriver Non-secure Kernel not present. Moved to SceSblPostSsMgr#SceSblFwLoaderForDriver.

SceSblFwLoaderForDriver

This library was moved to SceSblPostSsMgr#SceSblFwLoaderForDriver since System Software version 1.800.071.

sceSblFwLoaderLoadForDriver

Version NID
0.990-3.740.011 0x91C73A54

Loads firmware into the buffer at virtual address "pVA". Actual loaded size is returned in "puiLoadedSize".

/**
 * Loads firmware in the provided buffer.
 *
 * @param[in]  unk_on        - unknown. Maybe a boolean. Example: 1.
 * @param[out] pVA           - destination buffer address
 * @param[in]  maxSize       - destnation buffer size
 * @param[out] puiLoadedSize - read byte
 *
 * @return 0 on success, < 0 on error
 */
int sceSblFwLoaderLoadForDriver(int unk_one, void *pVA, SceSize maxSize, SceSize *puiLoadedSize);

sceSblFwLoaderLockForDriver

Version NID
0.990-3.740.011 0xA6278D27

Inline calls sceSblFwLoaderSetPath.

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

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

sceSblFwLoaderUnlockForDriver

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