uOFW
Reverse engineered PSP kernel 6.60.
Loading...
Searching...
No Matches
Data Fields
SceResidentLibraryEntryTable Struct Reference

#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
 

Detailed Description

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 .

Field Documentation

◆ libName

const char* SceResidentLibraryEntryTable::libName

The name of the library.

◆ version

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.

◆ attribute

s16 SceResidentLibraryEntryTable::attribute

The library's attributes. One or more of SceLibAttr.

◆ len

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

◆ vStubCount

u8 SceResidentLibraryEntryTable::vStubCount

The number of exported variables by the resident library.

◆ stubCount

u16 SceResidentLibraryEntryTable::stubCount

The number of exported functions by the resident library.

◆ entryTable

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.

◆ unk16

u16 SceResidentLibraryEntryTable::unk16

Unknown.

◆ unk18

u8 SceResidentLibraryEntryTable::unk18

Unknown.

◆ unk19

u8 SceResidentLibraryEntryTable::unk19

Unknown.


The documentation for this struct was generated from the following file: