add DCStoreRange

This commit is contained in:
Maschell 2017-08-28 18:10:22 +02:00
parent 13f5b5caa8
commit f5041f5d7f
2 changed files with 3 additions and 0 deletions

View File

@ -85,6 +85,7 @@ EXPORT_DECL(void *, OSSetExceptionCallback, u8 exceptionType, exception_callback
EXPORT_DECL(void *, OSSetExceptionCallbackEx, s32 unkwn, u8 exceptionType, exception_callback newCallback); EXPORT_DECL(void *, OSSetExceptionCallbackEx, s32 unkwn, u8 exceptionType, exception_callback newCallback);
EXPORT_DECL(void , OSLoadContext, OSContext * context); EXPORT_DECL(void , OSLoadContext, OSContext * context);
EXPORT_DECL(void, DCFlushRange, const void *addr, u32 length); EXPORT_DECL(void, DCFlushRange, const void *addr, u32 length);
EXPORT_DECL(void, DCStoreRange, const void *addr, u32 length);
EXPORT_DECL(void, ICInvalidateRange, const void *addr, u32 length); EXPORT_DECL(void, ICInvalidateRange, const void *addr, u32 length);
EXPORT_DECL(void*, OSEffectiveToPhysical, const void*); EXPORT_DECL(void*, OSEffectiveToPhysical, const void*);
EXPORT_DECL(s32, __os_snprintf, char* s, s32 n, const char * format, ...); EXPORT_DECL(s32, __os_snprintf, char* s, s32 n, const char * format, ...);
@ -231,6 +232,7 @@ void InitOSFunctionPointers(void)
OS_FIND_EXPORT(coreinit_handle, OSSetExceptionCallbackEx); OS_FIND_EXPORT(coreinit_handle, OSSetExceptionCallbackEx);
OS_FIND_EXPORT(coreinit_handle, OSLoadContext); OS_FIND_EXPORT(coreinit_handle, OSLoadContext);
OS_FIND_EXPORT(coreinit_handle, DCFlushRange); OS_FIND_EXPORT(coreinit_handle, DCFlushRange);
OS_FIND_EXPORT(coreinit_handle, DCStoreRange);
OS_FIND_EXPORT(coreinit_handle, ICInvalidateRange); OS_FIND_EXPORT(coreinit_handle, ICInvalidateRange);
OS_FIND_EXPORT(coreinit_handle, OSEffectiveToPhysical); OS_FIND_EXPORT(coreinit_handle, OSEffectiveToPhysical);
OS_FIND_EXPORT(coreinit_handle, __os_snprintf); OS_FIND_EXPORT(coreinit_handle, __os_snprintf);

View File

@ -123,6 +123,7 @@ extern void (* OSGetArgcArgv)(s32* argc, char*** argv);
extern void (* __Exit)(void); extern void (* __Exit)(void);
extern void (* OSFatal)(const char* msg); extern void (* OSFatal)(const char* msg);
extern void (* DCFlushRange)(const void *addr, u32 length); extern void (* DCFlushRange)(const void *addr, u32 length);
extern void (* DCStoreRange)(const void *addr, u32 length);
extern void (* ICInvalidateRange)(const void *addr, u32 length); extern void (* ICInvalidateRange)(const void *addr, u32 length);
extern void* (* OSEffectiveToPhysical)(const void*); extern void* (* OSEffectiveToPhysical)(const void*);
extern s32 (* __os_snprintf)(char* s, s32 n, const char * format, ...); extern s32 (* __os_snprintf)(char* s, s32 n, const char * format, ...);