diff --git a/annotated.html b/annotated.html index d943632..3cb21c2 100644 --- a/annotated.html +++ b/annotated.html @@ -146,24 +146,25 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');  COSCalendarTime  COSCondition  COSContext - COSEvent - COSFastCondition - COSFastMutex - COSFastMutexLink - COSFastMutexQueue - COSMessage - COSMessageQueue - COSMutex - COSMutexLink - COSMutexQueue - COSRendezvous - COSSemaphore - COSSpinLock - COSSystemInfo - COSThread - COSThreadLink - COSThreadQueue - COSThreadSimpleQueue + COSCoroutine + COSEvent + COSFastCondition + COSFastMutex + COSFastMutexLink + COSFastMutexQueue + COSMessage + COSMessageQueue + COSMutex + COSMutexLink + COSMutexQueue + COSRendezvous + COSSemaphore + COSSpinLock + COSSystemInfo + COSThread + COSThreadLink + COSThreadQueue + COSThreadSimpleQueue diff --git a/classes.html b/classes.html index 150eca8..d1464ae 100644 --- a/classes.html +++ b/classes.html @@ -91,26 +91,26 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
F | G | M | O
- - - - + + + + + - - + + + - - + + + - - - - - + + + + + +
  F  
-
GX2ColorBuffer   GX2ScissorReg   MEMUnitHeap   OSFastMutexQueue   
GX2ColorControlReg   GX2ShadowState   MPTask   OSMessage   
FSAsyncData   GX2ContextState   GX2StencilMaskReg   MPTaskInfo   OSMessageQueue   
FSClient   GX2DepthBuffer   GX2Surface   MPTaskQueue   OSMutex   
FSCmdBlock   GX2DepthStencilControlReg   GX2TargetChannelMaskReg   MPTaskQueueInfo   OSMutexLink   
GX2ColorBuffer   GX2ScissorReg   MEMUnitHeap   OSFastMutexLink   
GX2ColorControlReg   GX2ShadowState   MPTask   OSFastMutexQueue   
FSAsyncData   GX2ContextState   GX2StencilMaskReg   MPTaskInfo   OSMessage   
FSClient   GX2DepthBuffer   GX2Surface   MPTaskQueue   OSMessageQueue   
FSCmdBlock   GX2DepthStencilControlReg   GX2TargetChannelMaskReg   MPTaskQueueInfo   OSMutex   
FSDirectoryEntry   GX2DisplayListOverrunData   GX2Texture   
  O  
-
OSMutexQueue   
FSStat   GX2FetchShader   GX2UniformBlock   OSRendezvous   
FSStateChangeInfo   GX2GeometryShader   GX2UniformInitialValue   OSAlarm   OSSemaphore   
OSMutexLink   
FSStat   GX2FetchShader   GX2UniformBlock   OSMutexQueue   
FSStateChangeInfo   GX2GeometryShader   GX2UniformInitialValue   OSAlarm   OSRendezvous   
  G  
-
GX2LineWidthReg   GX2UniformVar   OSAlarmLink   OSSpinLock   
GX2LoopVar   GX2VertexShader   OSAlarmQueue   OSSystemInfo   
GX2AAMaskReg   GX2PixelShader   GX2ViewportReg   OSCalendarTime   OSThread   
GX2LineWidthReg   GX2UniformVar   OSAlarmLink   OSSemaphore   
GX2LoopVar   GX2VertexShader   OSAlarmQueue   OSSpinLock   
GX2AAMaskReg   GX2PixelShader   GX2ViewportReg   OSCalendarTime   OSSystemInfo   
GX2AlphaTestReg   GX2PointLimitsReg   
  M  
-
OSCondition   OSThreadLink   
GX2AlphaToMaskReg   GX2PointSizeReg   OSContext   OSThreadQueue   
GX2AttribStream   GX2PolygonControlReg   MEMExpandedHeap   OSEvent   OSThreadSimpleQueue   
GX2AttribVar   GX2PolygonOffsetReg   MEMFrameHeap   OSFastCondition   
GX2BlendConstantColorReg   GX2Sampler   MEMMemoryLink   OSFastMutex   
GX2BlendControlReg   GX2SamplerVar   MEMMemoryList   OSFastMutexLink   
OSCondition   OSThread   
GX2AlphaToMaskReg   GX2PointSizeReg   OSContext   OSThreadLink   
GX2AttribStream   GX2PolygonControlReg   MEMExpandedHeap   OSCoroutine   OSThreadQueue   
GX2AttribVar   GX2PolygonOffsetReg   MEMFrameHeap   OSEvent   OSThreadSimpleQueue   
GX2BlendConstantColorReg   GX2Sampler   MEMMemoryLink   OSFastCondition   
GX2BlendControlReg   GX2SamplerVar   MEMMemoryList   OSFastMutex   
F | G | M | O
diff --git a/coroutine_8h.html b/coroutine_8h.html new file mode 100644 index 0000000..260786b --- /dev/null +++ b/coroutine_8h.html @@ -0,0 +1,131 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/coroutine.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+Data Structures | +Typedefs | +Functions
+
+
coroutine.h File Reference
+
+
+
#include <wut.h>
+
+

Go to the source code of this file.

+ + + + +

+Data Structures

struct  OSCoroutine
 
+ + + +

+Typedefs

typedef struct OSCoroutine OSCoroutine
 
+ + + + + + + + + +

+Functions

void OSInitCoroutine (OSCoroutine *coroutine, void *entry, void *stack)
 
uint32_t OSLoadCoroutine (OSCoroutine *coroutine, uint32_t result)
 
uint32_t OSSaveCoroutine (OSCoroutine *coroutine)
 
void OSSwitchCoroutine (OSCoroutine *from, OSCoroutine *to)
 
+
+ + + + diff --git a/coroutine_8h_source.html b/coroutine_8h_source.html new file mode 100644 index 0000000..0729519 --- /dev/null +++ b/coroutine_8h_source.html @@ -0,0 +1,169 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/coroutine.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
coroutine.h
+
+
+Go to the documentation of this file.
1 #pragma once
+
2 #include <wut.h>
+
3 
+
10 #ifdef __cplusplus
+
11 extern "C" {
+
12 #endif
+
13 
+
14 typedef struct OSCoroutine OSCoroutine;
+
15 
+ +
17 {
+
18  uint32_t nia;
+
19  uint32_t cr;
+
20  uint32_t ugqr1;
+
21  uint32_t stack;
+
22  uint32_t sda2Base;
+
23  uint32_t sdaBase;
+
24  uint32_t gpr[18];
+
25  double fpr[18];
+
26  double psr[18];
+
27 };
+
28 CHECK_OFFSET(OSCoroutine, 0x00, nia);
+
29 CHECK_OFFSET(OSCoroutine, 0x04, cr);
+
30 CHECK_OFFSET(OSCoroutine, 0x08, ugqr1);
+
31 CHECK_OFFSET(OSCoroutine, 0x0C, stack);
+
32 CHECK_OFFSET(OSCoroutine, 0x10, sda2Base);
+
33 CHECK_OFFSET(OSCoroutine, 0x14, sdaBase);
+
34 CHECK_OFFSET(OSCoroutine, 0x18, gpr);
+
35 CHECK_OFFSET(OSCoroutine, 0x60, fpr);
+
36 CHECK_OFFSET(OSCoroutine, 0xF0, psr);
+
37 CHECK_SIZE(OSCoroutine, 0x180);
+
38 
+
39 void
+
40 OSInitCoroutine(OSCoroutine *coroutine,
+
41  void *entry,
+
42  void *stack);
+
43 
+
44 uint32_t
+
45 OSLoadCoroutine(OSCoroutine *coroutine,
+
46  uint32_t result);
+
47 
+
48 uint32_t
+
49 OSSaveCoroutine(OSCoroutine *coroutine);
+
50 
+
51 void
+ +
53  OSCoroutine *to);
+
54 
+
55 #ifdef __cplusplus
+
56 }
+
57 #endif
+
58 
+
uint32_t nia
Definition: coroutine.h:18
+
double fpr[18]
Definition: coroutine.h:25
+
void OSInitCoroutine(OSCoroutine *coroutine, void *entry, void *stack)
+
uint32_t gpr[18]
Definition: coroutine.h:24
+
uint32_t OSLoadCoroutine(OSCoroutine *coroutine, uint32_t result)
+
uint32_t stack
Definition: coroutine.h:21
+
uint32_t OSSaveCoroutine(OSCoroutine *coroutine)
+
uint32_t sda2Base
Definition: coroutine.h:22
+
uint32_t ugqr1
Definition: coroutine.h:20
+
void OSSwitchCoroutine(OSCoroutine *from, OSCoroutine *to)
+ + +
double psr[18]
Definition: coroutine.h:26
+
uint32_t sdaBase
Definition: coroutine.h:23
+
uint32_t cr
Definition: coroutine.h:19
+
+ + + + diff --git a/dir_5050f3de292bd66075be80c4b119f1df.html b/dir_5050f3de292bd66075be80c4b119f1df.html index 40dcbf3..dcdcf50 100644 --- a/dir_5050f3de292bd66075be80c4b119f1df.html +++ b/dir_5050f3de292bd66075be80c4b119f1df.html @@ -100,6 +100,8 @@ Files   file  core.h [code]   +file  coroutine.h [code] +  file  debug.h [code]   file  dynload.h [code] diff --git a/files.html b/files.html index 255f9d8..c9acf90 100644 --- a/files.html +++ b/files.html @@ -97,45 +97,46 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');  cache.h  condition.h  core.h - debug.h - dynload.h - event.h - exception.h - exit.h - expandedheap.h - fastcondition.h - fastmutex.h - filesystem.h - frameheap.h - memlist.h - messagequeue.h - mutex.h - rendezvous.h - semaphore.h - spinlock.h - systeminfo.h - taskqueue.h - thread.h - threadqueue.h - time.h - unitheap.h -  gx2 - clear.h - context.h - display.h - displaylist.h - draw.h - enum.h - event.h - registers.h - sampler.h - shaders.h - state.h - surface.h - swap.h - texture.h - wut.h - wut_types.h + coroutine.h + debug.h + dynload.h + event.h + exception.h + exit.h + expandedheap.h + fastcondition.h + fastmutex.h + filesystem.h + frameheap.h + memlist.h + messagequeue.h + mutex.h + rendezvous.h + semaphore.h + spinlock.h + systeminfo.h + taskqueue.h + thread.h + threadqueue.h + time.h + unitheap.h +  gx2 + clear.h + context.h + display.h + displaylist.h + draw.h + enum.h + event.h + registers.h + sampler.h + shaders.h + state.h + surface.h + swap.h + texture.h + wut.h + wut_types.h diff --git a/functions_c.html b/functions_c.html index 0495102..099ab4f 100644 --- a/functions_c.html +++ b/functions_c.html @@ -178,6 +178,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • cr : OSContext +, OSCoroutine
  • ctr : OSContext diff --git a/functions_f.html b/functions_f.html index 2e4fbbd..b0fd3aa 100644 --- a/functions_f.html +++ b/functions_f.html @@ -132,6 +132,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • fpr : OSContext +, OSCoroutine
  • fpscr : OSContext diff --git a/functions_g.html b/functions_g.html index 525aac3..13a3df3 100644 --- a/functions_g.html +++ b/functions_g.html @@ -122,6 +122,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

    - g -

    diff --git a/functions_s.html b/functions_s.html index 9fd041f..9980ed6 100644 --- a/functions_s.html +++ b/functions_s.html @@ -133,6 +133,12 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , GX2PixelShader , GX2VertexShader
  • +
  • sda2Base +: OSCoroutine +
  • +
  • sdaBase +: OSCoroutine +
  • self : MPTask , MPTaskQueue @@ -215,6 +221,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • srr1 : OSContext
  • +
  • stack +: OSCoroutine +
  • stackEnd : OSThread
  • diff --git a/functions_u.html b/functions_u.html index ab61195..af6878f 100644 --- a/functions_u.html +++ b/functions_u.html @@ -120,6 +120,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    Here is a list of all struct and union fields with links to the structures/unions they belong to:

    - u -