uOFW
Reverse engineered PSP kernel 6.60.
|
#include <loadcore.h>
Data Fields | |
const char * | libName |
u8 | version [LIBRARY_VERSION_NUMBER_CATEGORY_SIZE] |
s16 | attribute |
u8 | len |
u8 | vStubCount |
u16 | stubCount |
u32 * | entryTable |
u16 | unk16 |
u8 | unk18 |
u8 | unk19 |
This structure is used to record the functions a resident library provides to other modules. This entry table is used to register a resident library to the system. A module can register multiple libraries and multiple libraries with the same name can be in use simultaneously .
const char* SceResidentLibraryEntryTable::libName |
The name of the library.
u8 SceResidentLibraryEntryTable::version[LIBRARY_VERSION_NUMBER_CATEGORY_SIZE] |
The version of the library. It consists of a 'major' and 'minor' field. If you want to register another version of an already registered resident library, make sure that the new library has a higher version than all its currently registered versions.
s16 SceResidentLibraryEntryTable::attribute |
The library's attributes. One or more of SceLibAttr.
u8 SceResidentLibraryEntryTable::len |
The length of this entry table in 32-Bit words. Set this to "LIBRARY_ENTRY_TABLE_NEW_LEN". Use this member when you want to iterate through a list of entry tables (size = len * 4).
u8 SceResidentLibraryEntryTable::vStubCount |
The number of exported variables by the resident library.
u16 SceResidentLibraryEntryTable::stubCount |
The number of exported functions by the resident library.
u32* SceResidentLibraryEntryTable::entryTable |
Pointer to an array of NIDs, followed by an array of function- and variable pointers. Each function-/variable pointer must have a NID value. These arrays are used to correctly perform linking between a resident library and its corresponding stub libraries.
u16 SceResidentLibraryEntryTable::unk16 |
Unknown.
u8 SceResidentLibraryEntryTable::unk18 |
Unknown.
u8 SceResidentLibraryEntryTable::unk19 |
Unknown.