diff --git a/alarm_8h_source.html b/alarm_8h_source.html index 6fff36f..d089666 100644 --- a/alarm_8h_source.html +++ b/alarm_8h_source.html @@ -178,7 +178,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
111 CHECK_OFFSET(OSAlarm, 0x18, nextFire);
112 CHECK_OFFSET(OSAlarm, 0x20, link);
113 CHECK_OFFSET(OSAlarm, 0x28, period);
-
114 CHECK_OFFSET(OSAlarm, 0x30, tbrStart);
+
114 CHECK_OFFSET(OSAlarm, 0x30, start);
115 CHECK_OFFSET(OSAlarm, 0x38, userData);
116 CHECK_OFFSET(OSAlarm, 0x3c, state);
117 CHECK_OFFSET(OSAlarm, 0x40, threadQueue);
diff --git a/annotated.html b/annotated.html index d45b3f5..c09a780 100644 --- a/annotated.html +++ b/annotated.html @@ -115,36 +115,37 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');  CGX2Texture  CGX2ViewportReg  CMEMExpandedHeap - CMEMMemoryLink - CMEMMemoryList - CMEMUnitHeap - CMPTask - CMPTaskInfo - CMPTaskQueue - CMPTaskQueueInfo - COSAlarm - COSAlarmLink - COSAlarmQueue - COSCalendarTime - COSCondition - COSContext - COSEvent - COSFastCondition - COSFastMutex - COSFastMutexLink - COSFastMutexQueue - COSMessage - COSMessageQueue - COSMutex - COSMutexLink - COSMutexQueue - COSRendezvous - COSSemaphore - COSSpinLock - COSThread - COSThreadLink - COSThreadQueue - COSThreadSimpleQueue + CMEMFrameHeap + CMEMMemoryLink + CMEMMemoryList + CMEMUnitHeap + CMPTask + CMPTaskInfo + CMPTaskQueue + CMPTaskQueueInfo + COSAlarm + COSAlarmLink + COSAlarmQueue + COSCalendarTime + COSCondition + COSContext + COSEvent + COSFastCondition + COSFastMutex + COSFastMutexLink + COSFastMutexQueue + COSMessage + COSMessageQueue + COSMutex + COSMutexLink + COSMutexQueue + COSRendezvous + COSSemaphore + COSSpinLock + COSThread + COSThreadLink + COSThreadQueue + COSThreadSimpleQueue diff --git a/classes.html b/classes.html index 580e5db..246262e 100644 --- a/classes.html +++ b/classes.html @@ -95,17 +95,18 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); OSAlarmLink   OSMutexLink    GX2PointLimitsReg   OSAlarmQueue   OSMutexQueue    GX2AAMaskReg   GX2PointSizeReg   MEMExpandedHeap   OSCalendarTime   OSRendezvous    -GX2AlphaTestReg   GX2PolygonControlReg   MEMMemoryLink   OSCondition   OSSemaphore    -GX2AlphaToMaskReg   GX2PolygonOffsetReg   MEMMemoryList   OSContext   OSSpinLock    -GX2BlendConstantColorReg   GX2Sampler   MEMUnitHeap   OSEvent   OSThread    -GX2BlendControlReg   GX2ScissorReg   MPTask   OSFastCondition   OSThreadLink    -GX2ColorBuffer   GX2ShadowState   MPTaskInfo   OSFastMutex   OSThreadQueue    -GX2ColorControlReg   GX2StencilMaskReg   MPTaskQueue   OSFastMutexLink   OSThreadSimpleQueue    -GX2ContextState   GX2Surface   MPTaskQueueInfo   OSFastMutexQueue    -GX2DepthBuffer   GX2TargetChannelMaskReg   
  O  
-OSMessage    -GX2DepthStencilControlReg   GX2Texture   OSMessageQueue    -GX2DisplayListOverrunData   GX2ViewportReg   OSAlarm   OSMutex    +GX2AlphaTestReg   GX2PolygonControlReg   MEMFrameHeap   OSCondition   OSSemaphore    +GX2AlphaToMaskReg   GX2PolygonOffsetReg   MEMMemoryLink   OSContext   OSSpinLock    +GX2BlendConstantColorReg   GX2Sampler   MEMMemoryList   OSEvent   OSThread    +GX2BlendControlReg   GX2ScissorReg   MEMUnitHeap   OSFastCondition   OSThreadLink    +GX2ColorBuffer   GX2ShadowState   MPTask   OSFastMutex   OSThreadQueue    +GX2ColorControlReg   GX2StencilMaskReg   MPTaskInfo   OSFastMutexLink   OSThreadSimpleQueue    +GX2ContextState   GX2Surface   MPTaskQueue   OSFastMutexQueue    +GX2DepthBuffer   GX2TargetChannelMaskReg   MPTaskQueueInfo   OSMessage    +GX2DepthStencilControlReg   GX2Texture   
  O  
+OSMessageQueue    +GX2DisplayListOverrunData   GX2ViewportReg   OSMutex    +OSAlarm   
G | M | O
diff --git a/clear_8h_source.html b/clear_8h_source.html index 392b95c..3a88641 100644 --- a/clear_8h_source.html +++ b/clear_8h_source.html @@ -169,10 +169,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
GX2SetClearStencil
void GX2SetClearStencil(GX2DepthBuffer *depthBuffer, uint8_t stencil)
GX2ClearDepthStencilEx
void GX2ClearDepthStencilEx(GX2DepthBuffer *depthBuffer, float depth, uint8_t stencil, GX2ClearFlags clearMode)
GX2ClearDepthStencil
void GX2ClearDepthStencil(GX2DepthBuffer *depthBuffer, GX2ClearFlags clearMode)
-
GX2ColorBuffer
Definition: surface.h:228
+
GX2ColorBuffer
Definition: surface.h:243
GX2_CLEAR_FLAGS_STENCIL
Definition: clear.h:20
GX2ClearBuffersEx
void GX2ClearBuffersEx(GX2ColorBuffer *colorBuffer, GX2DepthBuffer *depthBuffer, float red, float green, float blue, float alpha, float depth, uint8_t stencil, GX2ClearFlags clearMode)
-
GX2DepthBuffer
Definition: surface.h:204
+
GX2DepthBuffer
Definition: surface.h:219
GX2ClearBuffers
void GX2ClearBuffers(GX2ColorBuffer *colorBuffer, GX2DepthBuffer *depthBuffer, float red, float green, float blue, float alpha, GX2ClearFlags clearMode)
GX2SetClearDepthStencil
void GX2SetClearDepthStencil(GX2DepthBuffer *depthBuffer, float depth, uint8_t stencil)
diff --git a/condition_8h_source.html b/condition_8h_source.html index 5f1e205..96e2a4b 100644 --- a/condition_8h_source.html +++ b/condition_8h_source.html @@ -149,7 +149,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
OSCondition
Definition: condition.h:24
wut.h
OSInitCond
void OSInitCond(OSCondition *condition)
-
OSMutex
Definition: mutex.h:36
+
OSMutex
Definition: mutex.h:35
OSCondition::queue
OSThreadQueue queue
Queue of threads currently waiting on condition with OSWaitCond.
Definition: condition.h:35
OSCondition::tag
uint32_t tag
Should always be set to the value OS_CONDITION_TAG.
Definition: condition.h:27
OSThreadQueue
Definition: threadqueue.h:29
diff --git a/context_8h.html b/context_8h.html index 212d856..5817501 100644 --- a/context_8h.html +++ b/context_8h.html @@ -89,6 +89,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
Data Structures | +Typedefs | Functions
context.h File Reference
@@ -105,6 +106,13 @@ Data Structures struct  GX2ContextState   + + + + + +

+Typedefs

typedef struct GX2ShadowState GX2ShadowState
 
typedef struct GX2ContextState GX2ContextState
 
diff --git a/context_8h_source.html b/context_8h_source.html index 951747b..878e348 100644 --- a/context_8h_source.html +++ b/context_8h_source.html @@ -98,68 +98,71 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
11 extern "C" {
12 #endif
13 
-
14 struct GX2ShadowState
-
15 {
-
16  uint32_t config[0xB00];
-
17  uint32_t context[0x400];
-
18  uint32_t alu[0x800];
-
19  uint32_t loop[0x60];
-
20  PADDING((0x80 - 0x60) * 4);
-
21  uint32_t resource[0xD9E];
-
22  PADDING((0xDC0 - 0xD9E) * 4);
-
23  uint32_t sampler[0xA2];
-
24  PADDING((0xC0 - 0xA2) * 4);
-
25 };
-
26 
-
27 struct GX2ContextState
-
28 {
-
29  GX2ShadowState shadowState;
-
30  UNKNOWN(4);
-
31  uint32_t shadowDisplayListSize;
-
32  UNKNOWN(0x9e00 - 0x9808);
-
33  uint32_t shadowDisplayList[192];
-
34 };
-
35 CHECK_OFFSET(GX2ContextState, 0x0000, shadowState);
-
36 CHECK_OFFSET(GX2ContextState, 0x9804, shadowDisplayListSize);
-
37 CHECK_OFFSET(GX2ContextState, 0x9e00, shadowDisplayList);
-
38 CHECK_SIZE(GX2ContextState, 0xa100);
-
39 
-
40 void
-
41 GX2SetupContextStateEx(GX2ContextState *state,
-
42  BOOL unk1);
-
43 
-
44 void
-
45 GX2GetContextStateDisplayList(GX2ContextState *state,
-
46  void *outDisplayList,
-
47  uint32_t *outSize);
-
48 
-
49 void
-
50 GX2SetContextState(GX2ContextState *state);
+
14 typedef struct GX2ShadowState GX2ShadowState;
+
15 typedef struct GX2ContextState GX2ContextState;
+
16 
+
17 struct GX2ShadowState
+
18 {
+
19  uint32_t config[0xB00];
+
20  uint32_t context[0x400];
+
21  uint32_t alu[0x800];
+
22  uint32_t loop[0x60];
+
23  PADDING((0x80 - 0x60) * 4);
+
24  uint32_t resource[0xD9E];
+
25  PADDING((0xDC0 - 0xD9E) * 4);
+
26  uint32_t sampler[0xA2];
+
27  PADDING((0xC0 - 0xA2) * 4);
+
28 };
+
29 
+
30 struct GX2ContextState
+
31 {
+
32  GX2ShadowState shadowState;
+
33  UNKNOWN(4);
+
34  uint32_t shadowDisplayListSize;
+
35  UNKNOWN(0x9e00 - 0x9808);
+
36  uint32_t shadowDisplayList[192];
+
37 };
+
38 CHECK_OFFSET(GX2ContextState, 0x0000, shadowState);
+
39 CHECK_OFFSET(GX2ContextState, 0x9804, shadowDisplayListSize);
+
40 CHECK_OFFSET(GX2ContextState, 0x9e00, shadowDisplayList);
+
41 CHECK_SIZE(GX2ContextState, 0xa100);
+
42 
+
43 void
+
44 GX2SetupContextStateEx(GX2ContextState *state,
+
45  BOOL unk1);
+
46 
+
47 void
+
48 GX2GetContextStateDisplayList(GX2ContextState *state,
+
49  void *outDisplayList,
+
50  uint32_t *outSize);
51 
52 void
-
53 GX2SetDefaultState();
+
53 GX2SetContextState(GX2ContextState *state);
54 
-
55 #ifdef __cplusplus
-
56 }
-
57 #endif
-
58 
-
uint32_t resource[0xD9E]
Definition: context.h:21
-
uint32_t sampler[0xA2]
Definition: context.h:23
+
55 void
+
56 GX2SetDefaultState();
+
57 
+
58 #ifdef __cplusplus
+
59 }
+
60 #endif
+
61 
+
uint32_t resource[0xD9E]
Definition: context.h:24
+
uint32_t sampler[0xA2]
Definition: context.h:26
void GX2SetupContextStateEx(GX2ContextState *state, BOOL unk1)
-
uint32_t shadowDisplayList[192]
Definition: context.h:33
+
uint32_t shadowDisplayList[192]
Definition: context.h:36
void GX2SetDefaultState()
-
uint32_t config[0xB00]
Definition: context.h:16
+
uint32_t config[0xB00]
Definition: context.h:19
void GX2GetContextStateDisplayList(GX2ContextState *state, void *outDisplayList, uint32_t *outSize)
-
Definition: context.h:14
-
Definition: context.h:27
-
GX2ShadowState shadowState
Definition: context.h:29
+
Definition: context.h:17
+
Definition: context.h:30
+
GX2ShadowState shadowState
Definition: context.h:32
-
uint32_t context[0x400]
Definition: context.h:17
-
uint32_t alu[0x800]
Definition: context.h:18
+
uint32_t context[0x400]
Definition: context.h:20
+
uint32_t alu[0x800]
Definition: context.h:21
int BOOL
Definition: wut_types.h:4
void GX2SetContextState(GX2ContextState *state)
-
uint32_t loop[0x60]
Definition: context.h:19
-
uint32_t shadowDisplayListSize
Definition: context.h:31
+
uint32_t loop[0x60]
Definition: context.h:22
+
uint32_t shadowDisplayListSize
Definition: context.h:34

Functions

void GX2SetupContextStateEx (GX2ContextState *state, BOOL unk1)
- - + +

Typedefs

typedef uint32_t OSExceptionType
 
typedef BOOL(* OSExceptionCallbackFn) (OSContext *context)
 
typedef enum OSExceptionType OSExceptionType
 
- + }

Enumerations

enum  OSExceptionType {
-  OS_EXCEPTION_TYPE_SYSTEM_RESET = 0, -OS_EXCEPTION_TYPE_MACHINE_CHECK = 1, -OS_EXCEPTION_TYPE_DSI = 2, -OS_EXCEPTION_TYPE_ISI = 3, +
enum  OSExceptionType {
+  OS_EXCEPTION_TYPE_SYSTEM_RESET = 0, +OS_EXCEPTION_TYPE_MACHINE_CHECK = 1, +OS_EXCEPTION_TYPE_DSI = 2, +OS_EXCEPTION_TYPE_ISI = 3,
-  OS_EXCEPTION_TYPE_EXTERNAL_INTERRUPT = 4, -OS_EXCEPTION_TYPE_ALIGNMENT = 5, -OS_EXCEPTION_TYPE_PROGRAM = 6, -OS_EXCEPTION_TYPE_FLOATING_POINT = 7, +  OS_EXCEPTION_TYPE_EXTERNAL_INTERRUPT = 4, +OS_EXCEPTION_TYPE_ALIGNMENT = 5, +OS_EXCEPTION_TYPE_PROGRAM = 6, +OS_EXCEPTION_TYPE_FLOATING_POINT = 7,
-  OS_EXCEPTION_TYPE_DECREMENTER = 8, -OS_EXCEPTION_TYPE_SYSTEM_CALL = 9, -OS_EXCEPTION_TYPE_TRACE = 10, -OS_EXCEPTION_TYPE_PERFORMANCE_MONITOR = 11, +  OS_EXCEPTION_TYPE_DECREMENTER = 8, +OS_EXCEPTION_TYPE_SYSTEM_CALL = 9, +OS_EXCEPTION_TYPE_TRACE = 10, +OS_EXCEPTION_TYPE_PERFORMANCE_MONITOR = 11,
-  OS_EXCEPTION_TYPE_BREAKPOINT = 12, -OS_EXCEPTION_TYPE_SYSTEM_INTERRUPT = 13, -OS_EXCEPTION_TYPE_ICI = 14 +  OS_EXCEPTION_TYPE_BREAKPOINT = 12, +OS_EXCEPTION_TYPE_SYSTEM_INTERRUPT = 13, +OS_EXCEPTION_TYPE_ICI = 14
- }
 
 
- + - +

Functions

OSExceptionCallbackFn OSSetExceptionCallback (OSExceptionType exceptionType, OSExceptionCallbackFn callback)
OSExceptionCallbackFn OSSetExceptionCallback (OSExceptionType exceptionType, OSExceptionCallbackFn callback)
 
OSExceptionCallbackFn OSSetExceptionCallbackEx (UNKNOWN_ARG, OSExceptionType exceptionType, OSExceptionCallbackFn callback)
OSExceptionCallbackFn OSSetExceptionCallbackEx (UNKNOWN_ARG, OSExceptionType exceptionType, OSExceptionCallbackFn callback)
 
diff --git a/exception_8h_source.html b/exception_8h_source.html index 141634e..fee92b2 100644 --- a/exception_8h_source.html +++ b/exception_8h_source.html @@ -98,63 +98,62 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
11 extern "C" {
12 #endif
13 
-
14 typedef uint32_t OSExceptionType;
-
15 typedef BOOL (*OSExceptionCallbackFn)(OSContext *context);
-
16 
-
17 typedef enum OSExceptionType
-
18 {
- - - - - - - - - - - - - - - - -
35 
- -
37 OSSetExceptionCallback(OSExceptionType exceptionType,
-
38  OSExceptionCallbackFn callback);
-
39 
- -
41 OSSetExceptionCallbackEx(UNKNOWN_ARG,
-
42  OSExceptionType exceptionType,
-
43  OSExceptionCallbackFn callback);
-
44 
-
45 #ifdef __cplusplus
-
46 }
-
47 #endif
-
48 
- - - - - +
14 typedef BOOL (*OSExceptionCallbackFn)(OSContext *context);
+
15 
+
16 typedef enum OSExceptionType
+
17 {
+ + + + + + + + + + + + + + + + +
34 
+ + +
37  OSExceptionCallbackFn callback);
+
38 
+ +
40 OSSetExceptionCallbackEx(UNKNOWN_ARG,
+
41  OSExceptionType exceptionType,
+
42  OSExceptionCallbackFn callback);
+
43 
+
44 #ifdef __cplusplus
+
45 }
+
46 #endif
+
47 
+ + + - -
OSExceptionType
Definition: exception.h:17
+ + + +
OSExceptionCallbackFn OSSetExceptionCallback(OSExceptionType exceptionType, OSExceptionCallbackFn callback)
- - - + +
OSExceptionType
Definition: exception.h:16
+ + -
BOOL(* OSExceptionCallbackFn)(OSContext *context)
Definition: exception.h:15
+
BOOL(* OSExceptionCallbackFn)(OSContext *context)
Definition: exception.h:14
int BOOL
Definition: wut_types.h:4
- - - - - + + +
OSExceptionCallbackFn OSSetExceptionCallbackEx(UNKNOWN_ARG, OSExceptionType exceptionType, OSExceptionCallbackFn callback)
- + +