PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
xloadcore.h
Go to the documentation of this file.
1
/*
2
# _____ ___ ____ ___ ____
3
# ____| | ____| | | |____|
4
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5
#-----------------------------------------------------------------------
6
# Copyright 2001-2004, ps2dev - http://www.ps2dev.org
7
# Licenced under Academic Free License version 2.0
8
# Review ps2sdk README & LICENSE files for further details.
9
*/
10
16
#ifndef __XLOADCORE_H__
17
#define __XLOADCORE_H__
18
19
#include <
loadcore.h
>
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
25
#define xloadcore_IMPORTS_start DECLARE_IMPORT_TABLE(loadcore, 1, 3)
26
#define xloadcore_IMPORTS_end END_IMPORT_TABLE
27
28
void
ApplyElfRelSection(
void
*buffer,
const
void
*module,
int
element_count);
29
void
CopyModInfo(
FileInfo_t
*
ModuleInfo
,
ModuleInfo_t
*
ModInfo
);
30
int
SetRebootTimeLibraryHandlingMode(
struct
irx_export_table
*exports,
int
mode);
31
32
#define I_ApplyElfRelSection DECLARE_IMPORT(25, ApplyElfRelSection)
33
#define I_CopyModInfo DECLARE_IMPORT(26, CopyModInfo)
34
#define I_SetRebootTimeLibraryHandlingMode DECLARE_IMPORT(27, SetRebootTimeLibraryHandlingMode)
35
36
// For backwards compatibility
37
#define InitLoadedModInfo(...) CopyModInfo(__VA_ARGS__)
38
#define I_InitLoadedModInfo I_CopyModInfo
39
40
#ifdef __cplusplus
41
}
42
#endif
43
44
#endif
/* __XLOADCORE_H__ */
irx_export_table
Definition
irx.h:90
loadcore.h
_FileInfo
Definition
loadcore.h:56
_ModuleInfo
Definition
loadcore.h:31
ModInfo
Definition
udnl.c:628
ModuleInfo
Definition
udnl.c:400
iop
kernel
include
xloadcore.h
Generated on Thu Nov 14 2024 05:25:27 for PS2SDK by
1.9.8