PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
xloadcore.h File Reference
#include <loadcore.h>
+ Include dependency graph for xloadcore.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define xloadcore_IMPORTS_start   DECLARE_IMPORT_TABLE(loadcore, 1, 3)
 
#define xloadcore_IMPORTS_end   END_IMPORT_TABLE
 
#define I_ApplyElfRelSection   DECLARE_IMPORT(25, ApplyElfRelSection)
 
#define I_CopyModInfo   DECLARE_IMPORT(26, CopyModInfo)
 
#define I_SetRebootTimeLibraryHandlingMode   DECLARE_IMPORT(27, SetRebootTimeLibraryHandlingMode)
 
#define InitLoadedModInfo(...)   CopyModInfo(__VA_ARGS__)
 
#define I_InitLoadedModInfo   I_CopyModInfo
 

Functions

void ApplyElfRelSection (void *buffer, const void *module, int element_count)
 
void CopyModInfo (FileInfo_t *ModuleInfo, ModuleInfo_t *ModInfo)
 
int SetRebootTimeLibraryHandlingMode (struct irx_export_table *exports, int mode)
 

Detailed Description

Additional loadcore functions only found in newer IOPRP images

Definition in file xloadcore.h.

Macro Definition Documentation

◆ xloadcore_IMPORTS_start

#define xloadcore_IMPORTS_start   DECLARE_IMPORT_TABLE(loadcore, 1, 3)

Definition at line 25 of file xloadcore.h.

◆ xloadcore_IMPORTS_end

#define xloadcore_IMPORTS_end   END_IMPORT_TABLE

Definition at line 26 of file xloadcore.h.

◆ I_ApplyElfRelSection

#define I_ApplyElfRelSection   DECLARE_IMPORT(25, ApplyElfRelSection)

Definition at line 32 of file xloadcore.h.

◆ I_CopyModInfo

#define I_CopyModInfo   DECLARE_IMPORT(26, CopyModInfo)

Definition at line 33 of file xloadcore.h.

◆ I_SetRebootTimeLibraryHandlingMode

#define I_SetRebootTimeLibraryHandlingMode   DECLARE_IMPORT(27, SetRebootTimeLibraryHandlingMode)

Definition at line 34 of file xloadcore.h.

◆ InitLoadedModInfo

#define InitLoadedModInfo (   ...)    CopyModInfo(__VA_ARGS__)

Definition at line 37 of file xloadcore.h.

◆ I_InitLoadedModInfo

#define I_InitLoadedModInfo   I_CopyModInfo

Definition at line 38 of file xloadcore.h.

Function Documentation

◆ ApplyElfRelSection()

void ApplyElfRelSection ( void *  buffer,
const void *  module,
int  element_count 
)

Definition at line 1323 of file loadcore.c.

◆ CopyModInfo()

void CopyModInfo ( FileInfo_t ModuleInfo,
ModuleInfo_t ModInfo 
)

Definition at line 1224 of file loadcore.c.

◆ SetRebootTimeLibraryHandlingMode()

int SetRebootTimeLibraryHandlingMode ( struct irx_export_table exports,
int  mode 
)

Definition at line 892 of file loadcore.c.