diff --git a/include/coreinit/debug.h b/include/coreinit/debug.h index 511e05f..0dcd152 100644 --- a/include/coreinit/debug.h +++ b/include/coreinit/debug.h @@ -39,6 +39,16 @@ void OSFatal(const char *msg); +uint32_t +OSGetSymbolName(uint32_t addr, + char *symbolNameBuf, + uint32_t symbolNameBufSize); + + +uint32_t +OSGetUPID(); + + void DisassemblePPCRange(void *start, void *end, diff --git a/src/rpl/coreinit/exports.h b/src/rpl/coreinit/exports.h index 4b8f364..512cc83 100644 --- a/src/rpl/coreinit/exports.h +++ b/src/rpl/coreinit/exports.h @@ -85,6 +85,8 @@ EXPORT(OSConsoleWrite); EXPORT(OSReport); EXPORT(OSPanic); EXPORT(OSFatal); +EXPORT(OSGetSymbolName); +EXPORT(OSGetUPID); EXPORT(DisassemblePPCRange); // coreinit/dynload.h