wut  v1.7.0
Wii U Toolchain
Typedefs | Enumerations | Functions
Collaboration diagram for Debug:

Typedefs

typedef void(* DisassemblyPrintFn) (const char *fmt,...)
 
typedef uint32_t(* DisassemblyFindSymbolFn) (uint32_t addr, char *symbolNameBuf, uint32_t symbolNameBufSize)
 
typedef enum DisassemblePPCFlags DisassemblePPCFlags
 

Enumerations

enum  DisassemblePPCFlags { DISASSEMBLE_PPC_FLAGS_NONE = 0 }
 

Functions

void OSConsoleWrite (const char *msg, uint32_t size)
 
void __OSConsoleWrite (const char *msg, uint32_t size)
 
void OSReport (const char *fmt,...)
 
void OSReportVerbose (const char *fmt,...)
 
void OSReportInfo (const char *fmt,...)
 
void OSReportWarn (const char *fmt,...)
 
void OSPanic (const char *file, uint32_t line, const char *fmt,...)
 
void OSFatal (const char *msg)
 
uint32_t OSGetSymbolName (uint32_t addr, char *symbolNameBuf, uint32_t symbolNameBufSize)
 
uint32_t OSGetUPID ()
 
BOOL OSIsDebuggerInitialized ()
 
BOOL OSIsDebuggerPresent ()
 
BOOL OSIsECOBoot ()
 
BOOL OSIsECOMode ()
 
void __OSSetCrashRecovery (uint32_t crashRecovery)
 
uint32_t __OSGetCrashRecovery ()
 
BOOL DisassemblePPCOpcode (uint32_t *opcode, char *buffer, uint32_t bufferSize, DisassemblyFindSymbolFn findSymbolFn, DisassemblePPCFlags flags)
 
void DisassemblePPCRange (void *start, void *end, DisassemblyPrintFn printFn, DisassemblyFindSymbolFn findSymbolFn, DisassemblePPCFlags flags)
 

Detailed Description

Typedef Documentation

◆ DisassemblyPrintFn

typedef void(* DisassemblyPrintFn) (const char *fmt,...)

Definition at line 14 of file debug.h.

◆ DisassemblyFindSymbolFn

typedef uint32_t(* DisassemblyFindSymbolFn) (uint32_t addr, char *symbolNameBuf, uint32_t symbolNameBufSize)

Definition at line 16 of file debug.h.

◆ DisassemblePPCFlags

Enumeration Type Documentation

◆ DisassemblePPCFlags

Enumerator
DISASSEMBLE_PPC_FLAGS_NONE 

Definition at line 18 of file debug.h.

Function Documentation

◆ OSConsoleWrite()

void OSConsoleWrite ( const char *  msg,
uint32_t  size 
)

◆ __OSConsoleWrite()

void __OSConsoleWrite ( const char *  msg,
uint32_t  size 
)

◆ OSReport()

void OSReport ( const char *  fmt,
  ... 
)

◆ OSReportVerbose()

void OSReportVerbose ( const char *  fmt,
  ... 
)

◆ OSReportInfo()

void OSReportInfo ( const char *  fmt,
  ... 
)

◆ OSReportWarn()

void OSReportWarn ( const char *  fmt,
  ... 
)

◆ OSPanic()

void OSPanic ( const char *  file,
uint32_t  line,
const char *  fmt,
  ... 
)

◆ OSFatal()

void OSFatal ( const char *  msg)

◆ OSGetSymbolName()

uint32_t OSGetSymbolName ( uint32_t  addr,
char *  symbolNameBuf,
uint32_t  symbolNameBufSize 
)

◆ OSGetUPID()

uint32_t OSGetUPID ( )

◆ OSIsDebuggerInitialized()

BOOL OSIsDebuggerInitialized ( )

◆ OSIsDebuggerPresent()

BOOL OSIsDebuggerPresent ( )

◆ OSIsECOBoot()

BOOL OSIsECOBoot ( )

◆ OSIsECOMode()

BOOL OSIsECOMode ( )

◆ __OSSetCrashRecovery()

void __OSSetCrashRecovery ( uint32_t  crashRecovery)

◆ __OSGetCrashRecovery()

uint32_t __OSGetCrashRecovery ( )

◆ DisassemblePPCOpcode()

BOOL DisassemblePPCOpcode ( uint32_t *  opcode,
char *  buffer,
uint32_t  bufferSize,
DisassemblyFindSymbolFn  findSymbolFn,
DisassemblePPCFlags  flags 
)

◆ DisassemblePPCRange()

void DisassemblePPCRange ( void *  start,
void *  end,
DisassemblyPrintFn  printFn,
DisassemblyFindSymbolFn  findSymbolFn,
DisassemblePPCFlags  flags 
)