mirror of
https://github.com/Maschell/dynamic_libs.git
synced 2024-11-15 01:15:15 +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
|
||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
EXPORT_DECL(s32, OSGetSecurityLevel, void);
|
||||
EXPORT_DECL(s32, OSForceFullRelaunch, void);
|
||||
|
||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
//! Thread functions
|
||||
@ -54,6 +55,7 @@ EXPORT_DECL(void ,OSGetActiveThreadLink,OSThread * thread, void* link);
|
||||
EXPORT_DECL(u32 ,OSGetThreadAffinity,OSThread * thread);
|
||||
EXPORT_DECL(s32 ,OSGetThreadPriority,OSThread * thread);
|
||||
EXPORT_DECL(void ,OSSetThreadName,OSThread * thread, const char *name);
|
||||
EXPORT_DECL(s32, OSGetCoreId, void);
|
||||
EXPORT_DECL(void, OSSleepTicks, u64 ticks);
|
||||
EXPORT_DECL(u64, OSGetTick, void);
|
||||
EXPORT_DECL(u64, OSGetTime, void);
|
||||
@ -222,6 +224,7 @@ void InitOSFunctionPointers(void)
|
||||
//! Security functions
|
||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
OS_FIND_EXPORT(coreinit_handle, OSGetSecurityLevel);
|
||||
OS_FIND_EXPORT(coreinit_handle, OSForceFullRelaunch);
|
||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
//! System functions
|
||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
@ -265,6 +268,7 @@ void InitOSFunctionPointers(void)
|
||||
OS_FIND_EXPORT(coreinit_handle, OSGetThreadAffinity);
|
||||
OS_FIND_EXPORT(coreinit_handle, OSGetThreadPriority);
|
||||
OS_FIND_EXPORT(coreinit_handle, OSSetThreadName);
|
||||
OS_FIND_EXPORT(coreinit_handle, OSGetCoreId);
|
||||
|
||||
OS_FIND_EXPORT(coreinit_handle, OSSleepTicks);
|
||||
OS_FIND_EXPORT(coreinit_handle, OSGetTick);
|
||||
|
@ -75,6 +75,7 @@ extern s32 (* OSDynLoad_FindExport)(u32 handle, s32 isdata, const char *symbol,
|
||||
//! Security functions
|
||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
extern s32 (* OSGetSecurityLevel)(void);
|
||||
extern s32 (* OSForceFullRelaunch)(void);
|
||||
|
||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
//! Thread functions
|
||||
@ -94,6 +95,7 @@ extern void (* OSGetActiveThreadLink)(OSThread * thread, void* link);
|
||||
extern u32 (* OSGetThreadAffinity)(OSThread * thread);
|
||||
extern s32 (* OSGetThreadPriority)(OSThread * thread);
|
||||
extern void (* OSSetThreadName)(OSThread * thread, const char *name);
|
||||
extern s32 (* OSGetCoreId)(void);
|
||||
|
||||
extern void (* OSSleepTicks)(u64 ticks);
|
||||
extern u64 (* OSGetTick)(void);
|
||||
|
Loading…
Reference in New Issue
Block a user