wut  v1.7.0
Wii U Toolchain
Data Structures | Typedefs | Enumerations | Functions
kernel.h File Reference
#include <wut.h>
#include <coreinit/exception.h>
Include dependency graph for kernel.h:

Go to the source code of this file.

Data Structures

struct  OSExceptionChainInfo
 
struct  KernelInfo0
 
struct  KernelInfo0::CoreinitInfo
 
struct  KernelInfo6
 

Typedefs

typedef enum OSICICommand OSICICommand
 
typedef void(* OSExceptionCallbackExFn) (OSExceptionType exceptionType, OSContext *interruptedContext, OSContext *cbContext)
 
typedef void(* KernelTimerCallbackFn) (OSExceptionType exception, OSContext *interruptedContext, OSContext *currentContext)
 
typedef uint32_t KernelTimerHandle
 
typedef struct OSExceptionChainInfo OSExceptionChainInfo
 
typedef struct KernelInfo0 KernelInfo0
 
typedef struct KernelInfo6 KernelInfo6
 

Enumerations

enum  OSICICommand {
  OS_ICI_COMMAND_INVALID_IC_RANGE = 1 ,
  OS_ICI_COMMAND_RESCHEDULE_CORE = 2 ,
  OS_ICI_COMMAND_HALT_CORE = 3 ,
  OS_ICI_COMMAND_PROC_EXIT = 4 ,
  OS_ICI_COMMAND_SET_DABR = 5 ,
  OS_ICI_COMMAND_PROC_SCHED = 6 ,
  OS_ICI_COMMAND_FAST_BG_EXIT = 7 ,
  OS_ICI_COMMAND_IOP_SHELL_CORE_TRACE = 8 ,
  OS_ICI_COMMAND_SYSTEM_FATAL = 9 ,
  OS_ICI_COMMAND_SET_IABR = 10 ,
  OS_ICI_COMMAND_PANIC_0X15 = 0xB ,
  OS_ICI_COMMAND_PROC_KILL = 0xC ,
  OS_ICI_COMMAND_PROC_CRASH = 0xD ,
  OS_ICI_COMMAND_UNKNOWN = 0xE ,
  OS_ICI_COMMAND_OVERLAY_ARENA = 0xF
}
 

Functions

void __KernelSetUserModeExHandler (OSExceptionType exceptionType, OSExceptionChainInfo *chainInfo, OSExceptionChainInfo *prevChainInfo)
 
KernelTimerHandle __KernelAllocateTimer (KernelTimerCallbackFn, void *exceptionStack, OSContext *context)
 
uint32_t __KernelPrimeTimer (KernelTimerHandle handle, uint64_t startTimeInTicks, uint64_t intervalInTicks, uint32_t unknown)
 
void __KernelSendICI (OSICICommand cmd, void *arg1, uint32_t unknown1, uint32_t unknown2)
 
void __KernelGetInfo (uint32_t type, void *outBuffer, uint32_t outBufferSize, uint32_t core)
 
static void __KernelGetInfo0 (KernelInfo0 *outBuffer, uint32_t core)
 
static void __KernelGetInfo6 (KernelInfo6 *outBuffer, uint32_t core)
 

Data Structure Documentation

◆ KernelInfo0::CoreinitInfo

struct KernelInfo0::CoreinitInfo

Definition at line 50 of file kernel.h.

Data Fields
void * loaderHandle
void * textAddr
uint32_t textOffset
uint32_t textSize
void * dataAddr
uint32_t dataOffset
uint32_t dataSize
void * loadAddr
uint32_t loadOffset
uint32_t loadSize