mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-06 15:08:13 +01:00
coreinit: Add DisassemblePPCRange.
This commit is contained in:
parent
46b3c9c7e0
commit
5a07bf6c1d
@ -11,6 +11,14 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef void (*DisassemblyPrintFn)(const char *fmt, ...);
|
||||
typedef uint32_t (*DisassemblyFindSymbolFn)(uint32_t addr, char *symbolNameBuf, uint32_t symbolNameBufSize);
|
||||
|
||||
typedef enum DisassemblePPCFlags
|
||||
{
|
||||
DISASSEMBLE_PPC_FLAGS_NONE = 0,
|
||||
} DisassemblePPCFlags;
|
||||
|
||||
|
||||
void
|
||||
OSConsoleWrite(const char *msg,
|
||||
@ -31,6 +39,13 @@ void
|
||||
OSFatal(const char *msg);
|
||||
|
||||
|
||||
void
|
||||
DisassemblePPCRange(void *start,
|
||||
void *end,
|
||||
DisassemblyPrintFn printFn,
|
||||
DisassemblyFindSymbolFn findSymbolFn,
|
||||
DisassemblePPCFlags flags);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
@ -85,6 +85,7 @@ EXPORT(OSConsoleWrite);
|
||||
EXPORT(OSReport);
|
||||
EXPORT(OSPanic);
|
||||
EXPORT(OSFatal);
|
||||
EXPORT(DisassemblePPCRange);
|
||||
|
||||
// coreinit/dynload.h
|
||||
EXPORT(OSDynLoad_SetAllocator);
|
||||
|
Loading…
Reference in New Issue
Block a user