mirror of
https://github.com/Maschell/dynamic_libs.git
synced 2024-11-19 03:09:24 +01:00
added missed functions. OSGetCoreId and OSForceFulLRelaunch
This commit is contained in:
parent
451c406012
commit
c3a91ebe96
@ -36,6 +36,7 @@ EXPORT_DECL(s32, OSDynLoad_FindExport, u32 handle, s32 isdata, const char *symbo
|
|||||||
//! Security functions
|
//! Security functions
|
||||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
EXPORT_DECL(s32, OSGetSecurityLevel, void);
|
EXPORT_DECL(s32, OSGetSecurityLevel, void);
|
||||||
|
EXPORT_DECL(s32, OSForceFullRelaunch, void);
|
||||||
|
|
||||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
//! Thread functions
|
//! Thread functions
|
||||||
@ -54,6 +55,7 @@ EXPORT_DECL(void ,OSGetActiveThreadLink,OSThread * thread, void* link);
|
|||||||
EXPORT_DECL(u32 ,OSGetThreadAffinity,OSThread * thread);
|
EXPORT_DECL(u32 ,OSGetThreadAffinity,OSThread * thread);
|
||||||
EXPORT_DECL(s32 ,OSGetThreadPriority,OSThread * thread);
|
EXPORT_DECL(s32 ,OSGetThreadPriority,OSThread * thread);
|
||||||
EXPORT_DECL(void ,OSSetThreadName,OSThread * thread, const char *name);
|
EXPORT_DECL(void ,OSSetThreadName,OSThread * thread, const char *name);
|
||||||
|
EXPORT_DECL(s32, OSGetCoreId, void);
|
||||||
EXPORT_DECL(void, OSSleepTicks, u64 ticks);
|
EXPORT_DECL(void, OSSleepTicks, u64 ticks);
|
||||||
EXPORT_DECL(u64, OSGetTick, void);
|
EXPORT_DECL(u64, OSGetTick, void);
|
||||||
EXPORT_DECL(u64, OSGetTime, void);
|
EXPORT_DECL(u64, OSGetTime, void);
|
||||||
@ -222,6 +224,7 @@ void InitOSFunctionPointers(void)
|
|||||||
//! Security functions
|
//! Security functions
|
||||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
OS_FIND_EXPORT(coreinit_handle, OSGetSecurityLevel);
|
OS_FIND_EXPORT(coreinit_handle, OSGetSecurityLevel);
|
||||||
|
OS_FIND_EXPORT(coreinit_handle, OSForceFullRelaunch);
|
||||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
//! System functions
|
//! System functions
|
||||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
@ -265,6 +268,7 @@ void InitOSFunctionPointers(void)
|
|||||||
OS_FIND_EXPORT(coreinit_handle, OSGetThreadAffinity);
|
OS_FIND_EXPORT(coreinit_handle, OSGetThreadAffinity);
|
||||||
OS_FIND_EXPORT(coreinit_handle, OSGetThreadPriority);
|
OS_FIND_EXPORT(coreinit_handle, OSGetThreadPriority);
|
||||||
OS_FIND_EXPORT(coreinit_handle, OSSetThreadName);
|
OS_FIND_EXPORT(coreinit_handle, OSSetThreadName);
|
||||||
|
OS_FIND_EXPORT(coreinit_handle, OSGetCoreId);
|
||||||
|
|
||||||
OS_FIND_EXPORT(coreinit_handle, OSSleepTicks);
|
OS_FIND_EXPORT(coreinit_handle, OSSleepTicks);
|
||||||
OS_FIND_EXPORT(coreinit_handle, OSGetTick);
|
OS_FIND_EXPORT(coreinit_handle, OSGetTick);
|
||||||
|
@ -75,6 +75,7 @@ extern s32 (* OSDynLoad_FindExport)(u32 handle, s32 isdata, const char *symbol,
|
|||||||
//! Security functions
|
//! Security functions
|
||||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
extern s32 (* OSGetSecurityLevel)(void);
|
extern s32 (* OSGetSecurityLevel)(void);
|
||||||
|
extern s32 (* OSForceFullRelaunch)(void);
|
||||||
|
|
||||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
//! Thread functions
|
//! Thread functions
|
||||||
@ -94,6 +95,7 @@ extern void (* OSGetActiveThreadLink)(OSThread * thread, void* link);
|
|||||||
extern u32 (* OSGetThreadAffinity)(OSThread * thread);
|
extern u32 (* OSGetThreadAffinity)(OSThread * thread);
|
||||||
extern s32 (* OSGetThreadPriority)(OSThread * thread);
|
extern s32 (* OSGetThreadPriority)(OSThread * thread);
|
||||||
extern void (* OSSetThreadName)(OSThread * thread, const char *name);
|
extern void (* OSSetThreadName)(OSThread * thread, const char *name);
|
||||||
|
extern s32 (* OSGetCoreId)(void);
|
||||||
|
|
||||||
extern void (* OSSleepTicks)(u64 ticks);
|
extern void (* OSSleepTicks)(u64 ticks);
|
||||||
extern u64 (* OSGetTick)(void);
|
extern u64 (* OSGetTick)(void);
|
||||||
|
Loading…
Reference in New Issue
Block a user