From 9828ed07f599a0d34a8c339f162ee4487d3d28ec Mon Sep 17 00:00:00 2001 From: James Benton Date: Thu, 7 Jan 2016 16:06:06 +0000 Subject: [PATCH] Latest doxygen output. --- .gitattributes | 63 + alarm_8h.html | 168 +++ alarm_8h_source.html | 302 +++++ annotated.html | 134 ++ arrowdown.png | Bin 0 -> 246 bytes arrowright.png | Bin 0 -> 229 bytes atomic64_8h.html | 133 ++ atomic64_8h_source.html | 172 +++ baseheap_8h.html | 134 ++ baseheap_8h_source.html | 142 ++ bc_s.png | Bin 0 -> 676 bytes bdwn.png | Bin 0 -> 147 bytes cache_8h.html | 125 ++ cache_8h_source.html | 149 +++ classes.html | 113 ++ closed.png | Bin 0 -> 132 bytes condition_8h.html | 140 ++ condition_8h_source.html | 160 +++ core_8h.html | 119 ++ core_8h_source.html | 136 ++ coreinit_8dox.html | 98 ++ coreinit_8h.html | 104 ++ coreinit_8h_source.html | 103 ++ debug_8h.html | 119 ++ debug_8h_source.html | 138 ++ dir_5050f3de292bd66075be80c4b119f1df.html | 152 +++ dir_64fe89c4a61f5742775721f1d8222d0c.html | 102 ++ dir_d44c64559bbebec7f509842c48db8b23.html | 111 ++ doc.png | Bin 0 -> 746 bytes doxygen.css | 1454 +++++++++++++++++++++ doxygen.png | Bin 0 -> 3779 bytes dynload_8h.html | 133 ++ dynload_8h_source.html | 157 +++ dynsections.js | 104 ++ event_8h.html | 155 +++ event_8h_source.html | 193 +++ exception_8h.html | 149 +++ exception_8h_source.html | 166 +++ exit_8h.html | 115 ++ exit_8h_source.html | 122 ++ expandedheap_8h.html | 177 +++ expandedheap_8h_source.html | 219 ++++ fastcondition_8h.html | 138 ++ fastcondition_8h_source.html | 153 +++ fastmutex_8h.html | 144 ++ fastmutex_8h_source.html | 173 +++ files.html | 134 ++ folderclosed.png | Bin 0 -> 616 bytes folderopen.png | Bin 0 -> 597 bytes frameheap_8h.html | 149 +++ frameheap_8h_source.html | 186 +++ functions.html | 578 ++++++++ functions_vars.html | 578 ++++++++ globals.html | 124 ++ globals_b.html | 124 ++ globals_d.html | 142 ++ globals_defs.html | 145 ++ globals_e.html | 124 ++ globals_enum.html | 142 ++ globals_eval.html | 273 ++++ globals_f.html | 124 ++ globals_func.html | 121 ++ globals_func_d.html | 139 ++ globals_func_e.html | 121 ++ globals_func_g.html | 124 ++ globals_func_m.html | 322 +++++ globals_func_o.html | 511 ++++++++ globals_g.html | 145 ++ globals_m.html | 403 ++++++ globals_o.html | 761 +++++++++++ globals_t.html | 124 ++ globals_type.html | 291 +++++ group__alarms.html | 547 ++++++++ group__atomic64.html | 416 ++++++ group__coreinit.html | 152 +++ group__coreinit__alarms.html | 547 ++++++++ group__coreinit__atomic64.html | 417 ++++++ group__coreinit__baseheap.html | 233 ++++ group__coreinit__cache.html | 296 +++++ group__coreinit__cond.html | 256 ++++ group__coreinit__core.html | 172 +++ group__coreinit__debug.html | 214 +++ group__coreinit__dynload.html | 303 +++++ group__coreinit__event.html | 367 ++++++ group__coreinit__exception.html | 272 ++++ group__coreinit__exit.html | 135 ++ group__coreinit__expheap.html | 662 ++++++++++ group__coreinit__fastcond.html | 239 ++++ group__coreinit__fastmutex.html | 264 ++++ group__coreinit__frameheap.html | 474 +++++++ group__coreinit__memlist.html | 338 +++++ group__coreinit__msgq.html | 400 ++++++ group__coreinit__mutex.html | 282 ++++ group__coreinit__rendezvous.html | 207 +++ group__coreinit__semaphore.html | 282 ++++ group__coreinit__spinlock.html | 309 +++++ group__coreinit__taskq.html | 730 +++++++++++ group__coreinit__thread.html | 1268 ++++++++++++++++++ group__coreinit__threadq.html | 225 ++++ group__coreinit__time.html | 273 ++++ group__coreinit__unitheap.html | 307 +++++ group__gx2.html | 102 ++ group__gx2__state.html | 197 +++ gx2_8dox.html | 98 ++ index.html | 98 ++ jquery.js | 68 + mainpage_8dox.html | 98 ++ memlist_8h.html | 135 ++ memlist_8h_source.html | 186 +++ messagequeue_8h.html | 153 +++ messagequeue_8h_source.html | 214 +++ modules.html | 125 ++ mutex_8h.html | 146 +++ mutex_8h_source.html | 197 +++ nav_f.png | Bin 0 -> 153 bytes nav_g.png | Bin 0 -> 95 bytes nav_h.png | Bin 0 -> 98 bytes open.png | Bin 0 -> 123 bytes rendezvous_8h.html | 129 ++ rendezvous_8h_source.html | 145 ++ semaphore_8h.html | 142 ++ semaphore_8h_source.html | 167 +++ spinlock_8h.html | 142 ++ spinlock_8h_source.html | 174 +++ splitbar.png | Bin 0 -> 314 bytes state_8h.html | 135 ++ state_8h_source.html | 139 ++ struct_m_e_m_expanded_heap.html | 107 ++ struct_m_e_m_memory_link.html | 146 +++ struct_m_e_m_memory_list.html | 178 +++ struct_m_e_m_unit_heap.html | 107 ++ struct_m_p_task.html | 274 ++++ struct_m_p_task_info.html | 178 +++ struct_m_p_task_queue.html | 290 ++++ struct_m_p_task_queue_info.html | 194 +++ struct_o_s_alarm.html | 361 +++++ struct_o_s_alarm_link.html | 146 +++ struct_o_s_alarm_queue.html | 194 +++ struct_o_s_calendar_time.html | 210 +++ struct_o_s_condition.html | 171 +++ struct_o_s_context.html | 482 +++++++ struct_o_s_event.html | 194 +++ struct_o_s_fast_condition.html | 162 +++ struct_o_s_fast_mutex.html | 178 +++ struct_o_s_fast_mutex_link.html | 146 +++ struct_o_s_fast_mutex_queue.html | 146 +++ struct_o_s_message.html | 146 +++ struct_o_s_message_queue.html | 242 ++++ struct_o_s_mutex.html | 210 +++ struct_o_s_mutex_link.html | 146 +++ struct_o_s_mutex_queue.html | 162 +++ struct_o_s_rendezvous.html | 130 ++ struct_o_s_semaphore.html | 178 +++ struct_o_s_spin_lock.html | 146 +++ struct_o_s_thread.html | 562 ++++++++ struct_o_s_thread_link.html | 146 +++ struct_o_s_thread_queue.html | 162 +++ struct_o_s_thread_simple_queue.html | 146 +++ sync_off.png | Bin 0 -> 853 bytes sync_on.png | Bin 0 -> 845 bytes tab_a.png | Bin 0 -> 142 bytes tab_b.png | Bin 0 -> 169 bytes tab_h.png | Bin 0 -> 177 bytes tab_s.png | Bin 0 -> 184 bytes tabs.css | 60 + taskqueue_8h.html | 188 +++ taskqueue_8h_source.html | 350 +++++ thread_8h.html | 264 ++++ thread_8h_source.html | 554 ++++++++ threadqueue_8h.html | 137 ++ threadqueue_8h_source.html | 170 +++ time_8h.html | 139 ++ time_8h_source.html | 170 +++ unitheap_8h.html | 137 ++ unitheap_8h_source.html | 157 +++ wish8.5.exe.stackdump | 19 + wut_8h.html | 106 ++ wut_8h_source.html | 106 ++ wut__types_8h.html | 165 +++ wut__types_8h_source.html | 115 ++ 180 files changed, 35408 insertions(+) create mode 100644 .gitattributes create mode 100644 alarm_8h.html create mode 100644 alarm_8h_source.html create mode 100644 annotated.html create mode 100644 arrowdown.png create mode 100644 arrowright.png create mode 100644 atomic64_8h.html create mode 100644 atomic64_8h_source.html create mode 100644 baseheap_8h.html create mode 100644 baseheap_8h_source.html create mode 100644 bc_s.png create mode 100644 bdwn.png create mode 100644 cache_8h.html create mode 100644 cache_8h_source.html create mode 100644 classes.html create mode 100644 closed.png create mode 100644 condition_8h.html create mode 100644 condition_8h_source.html create mode 100644 core_8h.html create mode 100644 core_8h_source.html create mode 100644 coreinit_8dox.html create mode 100644 coreinit_8h.html create mode 100644 coreinit_8h_source.html create mode 100644 debug_8h.html create mode 100644 debug_8h_source.html create mode 100644 dir_5050f3de292bd66075be80c4b119f1df.html create mode 100644 dir_64fe89c4a61f5742775721f1d8222d0c.html create mode 100644 dir_d44c64559bbebec7f509842c48db8b23.html create mode 100644 doc.png create mode 100644 doxygen.css create mode 100644 doxygen.png create mode 100644 dynload_8h.html create mode 100644 dynload_8h_source.html create mode 100644 dynsections.js create mode 100644 event_8h.html create mode 100644 event_8h_source.html create mode 100644 exception_8h.html create mode 100644 exception_8h_source.html create mode 100644 exit_8h.html create mode 100644 exit_8h_source.html create mode 100644 expandedheap_8h.html create mode 100644 expandedheap_8h_source.html create mode 100644 fastcondition_8h.html create mode 100644 fastcondition_8h_source.html create mode 100644 fastmutex_8h.html create mode 100644 fastmutex_8h_source.html create mode 100644 files.html create mode 100644 folderclosed.png create mode 100644 folderopen.png create mode 100644 frameheap_8h.html create mode 100644 frameheap_8h_source.html create mode 100644 functions.html create mode 100644 functions_vars.html create mode 100644 globals.html create mode 100644 globals_b.html create mode 100644 globals_d.html create mode 100644 globals_defs.html create mode 100644 globals_e.html create mode 100644 globals_enum.html create mode 100644 globals_eval.html create mode 100644 globals_f.html create mode 100644 globals_func.html create mode 100644 globals_func_d.html create mode 100644 globals_func_e.html create mode 100644 globals_func_g.html create mode 100644 globals_func_m.html create mode 100644 globals_func_o.html create mode 100644 globals_g.html create mode 100644 globals_m.html create mode 100644 globals_o.html create mode 100644 globals_t.html create mode 100644 globals_type.html create mode 100644 group__alarms.html create mode 100644 group__atomic64.html create mode 100644 group__coreinit.html create mode 100644 group__coreinit__alarms.html create mode 100644 group__coreinit__atomic64.html create mode 100644 group__coreinit__baseheap.html create mode 100644 group__coreinit__cache.html create mode 100644 group__coreinit__cond.html create mode 100644 group__coreinit__core.html create mode 100644 group__coreinit__debug.html create mode 100644 group__coreinit__dynload.html create mode 100644 group__coreinit__event.html create mode 100644 group__coreinit__exception.html create mode 100644 group__coreinit__exit.html create mode 100644 group__coreinit__expheap.html create mode 100644 group__coreinit__fastcond.html create mode 100644 group__coreinit__fastmutex.html create mode 100644 group__coreinit__frameheap.html create mode 100644 group__coreinit__memlist.html create mode 100644 group__coreinit__msgq.html create mode 100644 group__coreinit__mutex.html create mode 100644 group__coreinit__rendezvous.html create mode 100644 group__coreinit__semaphore.html create mode 100644 group__coreinit__spinlock.html create mode 100644 group__coreinit__taskq.html create mode 100644 group__coreinit__thread.html create mode 100644 group__coreinit__threadq.html create mode 100644 group__coreinit__time.html create mode 100644 group__coreinit__unitheap.html create mode 100644 group__gx2.html create mode 100644 group__gx2__state.html create mode 100644 gx2_8dox.html create mode 100644 index.html create mode 100644 jquery.js create mode 100644 mainpage_8dox.html create mode 100644 memlist_8h.html create mode 100644 memlist_8h_source.html create mode 100644 messagequeue_8h.html create mode 100644 messagequeue_8h_source.html create mode 100644 modules.html create mode 100644 mutex_8h.html create mode 100644 mutex_8h_source.html create mode 100644 nav_f.png create mode 100644 nav_g.png create mode 100644 nav_h.png create mode 100644 open.png create mode 100644 rendezvous_8h.html create mode 100644 rendezvous_8h_source.html create mode 100644 semaphore_8h.html create mode 100644 semaphore_8h_source.html create mode 100644 spinlock_8h.html create mode 100644 spinlock_8h_source.html create mode 100644 splitbar.png create mode 100644 state_8h.html create mode 100644 state_8h_source.html create mode 100644 struct_m_e_m_expanded_heap.html create mode 100644 struct_m_e_m_memory_link.html create mode 100644 struct_m_e_m_memory_list.html create mode 100644 struct_m_e_m_unit_heap.html create mode 100644 struct_m_p_task.html create mode 100644 struct_m_p_task_info.html create mode 100644 struct_m_p_task_queue.html create mode 100644 struct_m_p_task_queue_info.html create mode 100644 struct_o_s_alarm.html create mode 100644 struct_o_s_alarm_link.html create mode 100644 struct_o_s_alarm_queue.html create mode 100644 struct_o_s_calendar_time.html create mode 100644 struct_o_s_condition.html create mode 100644 struct_o_s_context.html create mode 100644 struct_o_s_event.html create mode 100644 struct_o_s_fast_condition.html create mode 100644 struct_o_s_fast_mutex.html create mode 100644 struct_o_s_fast_mutex_link.html create mode 100644 struct_o_s_fast_mutex_queue.html create mode 100644 struct_o_s_message.html create mode 100644 struct_o_s_message_queue.html create mode 100644 struct_o_s_mutex.html create mode 100644 struct_o_s_mutex_link.html create mode 100644 struct_o_s_mutex_queue.html create mode 100644 struct_o_s_rendezvous.html create mode 100644 struct_o_s_semaphore.html create mode 100644 struct_o_s_spin_lock.html create mode 100644 struct_o_s_thread.html create mode 100644 struct_o_s_thread_link.html create mode 100644 struct_o_s_thread_queue.html create mode 100644 struct_o_s_thread_simple_queue.html create mode 100644 sync_off.png create mode 100644 sync_on.png create mode 100644 tab_a.png create mode 100644 tab_b.png create mode 100644 tab_h.png create mode 100644 tab_s.png create mode 100644 tabs.css create mode 100644 taskqueue_8h.html create mode 100644 taskqueue_8h_source.html create mode 100644 thread_8h.html create mode 100644 thread_8h_source.html create mode 100644 threadqueue_8h.html create mode 100644 threadqueue_8h_source.html create mode 100644 time_8h.html create mode 100644 time_8h_source.html create mode 100644 unitheap_8h.html create mode 100644 unitheap_8h_source.html create mode 100644 wish8.5.exe.stackdump create mode 100644 wut_8h.html create mode 100644 wut_8h_source.html create mode 100644 wut__types_8h.html create mode 100644 wut__types_8h_source.html diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1ff0c42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,63 @@ +############################################################################### +# Set default behavior to automatically normalize line endings. +############################################################################### +* text=auto + +############################################################################### +# Set default behavior for command prompt diff. +# +# This is need for earlier builds of msysgit that does not have it on by +# default for csharp files. +# Note: This is only used by command line +############################################################################### +#*.cs diff=csharp + +############################################################################### +# Set the merge driver for project and solution files +# +# Merging from the command prompt will add diff markers to the files if there +# are conflicts (Merging from VS is not affected by the settings below, in VS +# the diff markers are never inserted). Diff markers may cause the following +# file extensions to fail to load in VS. An alternative would be to treat +# these files as binary and thus will always conflict and require user +# intervention with every merge. To do so, just uncomment the entries below +############################################################################### +#*.sln merge=binary +#*.csproj merge=binary +#*.vbproj merge=binary +#*.vcxproj merge=binary +#*.vcproj merge=binary +#*.dbproj merge=binary +#*.fsproj merge=binary +#*.lsproj merge=binary +#*.wixproj merge=binary +#*.modelproj merge=binary +#*.sqlproj merge=binary +#*.wwaproj merge=binary + +############################################################################### +# behavior for image files +# +# image files are treated as binary by default. +############################################################################### +#*.jpg binary +#*.png binary +#*.gif binary + +############################################################################### +# diff behavior for common document formats +# +# Convert binary document formats to text before diffing them. This feature +# is only available from the command line. Turn it on by uncommenting the +# entries below. +############################################################################### +#*.doc diff=astextplain +#*.DOC diff=astextplain +#*.docx diff=astextplain +#*.DOCX diff=astextplain +#*.dot diff=astextplain +#*.DOT diff=astextplain +#*.pdf diff=astextplain +#*.PDF diff=astextplain +#*.rtf diff=astextplain +#*.RTF diff=astextplain diff --git a/alarm_8h.html b/alarm_8h.html new file mode 100644 index 0000000..aa0e917 --- /dev/null +++ b/alarm_8h.html @@ -0,0 +1,168 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/alarm.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
alarm.h File Reference
+
+
+
#include <wut.h>
+#include "thread.h"
+#include "threadqueue.h"
+#include "time.h"
+
+

Go to the source code of this file.

+ + + + + + + + +

+Data Structures

struct  OSAlarmQueue
 
struct  OSAlarmLink
 
struct  OSAlarm
 
+ + + + + +

+Macros

#define OS_ALARM_QUEUE_TAG   0x614C6D51u
 
#define OS_ALARM_TAG   0x614C724Du
 
+ + + + + + + + + +

+Typedefs

typedef struct OSAlarm OSAlarm
 
typedef struct OSAlarmLink OSAlarmLink
 
typedef struct OSAlarmQueue OSAlarmQueue
 
typedef void(* OSAlarmCallback) (OSAlarm *, OSContext *)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

BOOL OSCancelAlarm (OSAlarm *alarm)
 
void OSCancelAlarms (uint32_t group)
 
void OSCreateAlarm (OSAlarm *alarm)
 
void OSCreateAlarmEx (OSAlarm *alarm, const char *name)
 
void * OSGetAlarmUserData (OSAlarm *alarm)
 
void OSInitAlarmQueue (OSAlarmQueue *queue)
 
void OSInitAlarmQueueEx (OSAlarmQueue *queue, const char *name)
 
BOOL OSSetAlarm (OSAlarm *alarm, OSTime time, OSAlarmCallback callback)
 
BOOL OSSetPeriodicAlarm (OSAlarm *alarm, OSTime start, OSTime interval, OSAlarmCallback callback)
 
void OSSetAlarmTag (OSAlarm *alarm, uint32_t group)
 
void OSSetAlarmUserData (OSAlarm *alarm, void *data)
 
BOOL OSWaitAlarm (OSAlarm *alarm)
 
+
+ + + + diff --git a/alarm_8h_source.html b/alarm_8h_source.html new file mode 100644 index 0000000..94f2a82 --- /dev/null +++ b/alarm_8h_source.html @@ -0,0 +1,302 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/alarm.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
alarm.h
+
+
+Go to the documentation of this file.
1 #pragma once
+
2 #include <wut.h>
+
3 #include "thread.h"
+
4 #include "threadqueue.h"
+
5 #include "time.h"
+
6 
+
20 #ifdef __cplusplus
+
21 extern "C" {
+
22 #endif
+
23 
+
24 typedef struct OSAlarm OSAlarm;
+
25 typedef struct OSAlarmLink OSAlarmLink;
+
26 typedef struct OSAlarmQueue OSAlarmQueue;
+
27 
+
28 typedef void (*OSAlarmCallback)(OSAlarm *, OSContext *);
+
29 
+
30 #define OS_ALARM_QUEUE_TAG 0x614C6D51u
+
31 
+ +
33 {
+
34  // OS_ALARM_QUEUE_TAG
+
35  uint32_t tag;
+
36 
+
37  // Name set by OSInitAlarmQueueEx
+
38  const char *name;
+
39  UNKNOWN(4);
+
40 
+ +
42  OSAlarm *head;
+
43  OSAlarm *tail;
+
44 };
+
45 CHECK_OFFSET(OSAlarmQueue, 0x00, tag);
+
46 CHECK_OFFSET(OSAlarmQueue, 0x04, name);
+
47 CHECK_OFFSET(OSAlarmQueue, 0x0c, threadQueue);
+
48 CHECK_OFFSET(OSAlarmQueue, 0x1c, head);
+
49 CHECK_OFFSET(OSAlarmQueue, 0x20, tail);
+
50 CHECK_SIZE(OSAlarmQueue, 0x24);
+
51 
+ +
53 {
+
54  OSAlarm *prev;
+
55  OSAlarm *next;
+
56 };
+
57 CHECK_OFFSET(OSAlarmLink, 0x00, prev);
+
58 CHECK_OFFSET(OSAlarmLink, 0x04, next);
+
59 CHECK_SIZE(OSAlarmLink, 0x08);
+
60 
+
61 #define OS_ALARM_TAG 0x614C724Du
+
62 struct OSAlarm
+
63 {
+
65  uint32_t tag;
+
66 
+
68  const char *name;
+
69 
+
70  UNKNOWN(4);
+
71 
+ +
74 
+
76  uint32_t group;
+
77 
+
78  UNKNOWN(4);
+
79 
+ +
82 
+ +
85 
+ +
88 
+ +
91 
+
93  void *userData;
+
94 
+
96  uint32_t state;
+
97 
+ +
100 
+ +
103 
+ +
106 };
+
107 CHECK_OFFSET(OSAlarm, 0x00, tag);
+
108 CHECK_OFFSET(OSAlarm, 0x04, name);
+
109 CHECK_OFFSET(OSAlarm, 0x0c, callback);
+
110 CHECK_OFFSET(OSAlarm, 0x10, group);
+
111 CHECK_OFFSET(OSAlarm, 0x18, nextFire);
+
112 CHECK_OFFSET(OSAlarm, 0x20, link);
+
113 CHECK_OFFSET(OSAlarm, 0x28, period);
+
114 CHECK_OFFSET(OSAlarm, 0x30, tbrStart);
+
115 CHECK_OFFSET(OSAlarm, 0x38, userData);
+
116 CHECK_OFFSET(OSAlarm, 0x3c, state);
+
117 CHECK_OFFSET(OSAlarm, 0x40, threadQueue);
+
118 CHECK_OFFSET(OSAlarm, 0x50, alarmQueue);
+
119 CHECK_OFFSET(OSAlarm, 0x54, context);
+
120 CHECK_SIZE(OSAlarm, 0x58);
+
121 
+
122 
+
126 BOOL
+
127 OSCancelAlarm(OSAlarm *alarm);
+
128 
+
129 
+
135 void
+
136 OSCancelAlarms(uint32_t group);
+
137 
+
138 
+
142 void
+
143 OSCreateAlarm(OSAlarm *alarm);
+
144 
+
145 
+
149 void
+
150 OSCreateAlarmEx(OSAlarm *alarm,
+
151  const char *name);
+
152 
+
153 
+
157 void *
+
158 OSGetAlarmUserData(OSAlarm *alarm);
+
159 
+
160 
+
164 void
+ +
166 
+
167 
+
171 void
+ +
173  const char *name);
+
174 
+
175 
+
183 BOOL
+
184 OSSetAlarm(OSAlarm *alarm,
+
185  OSTime time,
+
186  OSAlarmCallback callback);
+
187 
+
188 
+
197 BOOL
+
198 OSSetPeriodicAlarm(OSAlarm *alarm,
+
199  OSTime start,
+
200  OSTime interval,
+
201  OSAlarmCallback callback);
+
202 
+
203 
+
207 void
+
208 OSSetAlarmTag(OSAlarm *alarm,
+
209  uint32_t group);
+
210 
+
211 
+
215 void
+
216 OSSetAlarmUserData(OSAlarm *alarm,
+
217  void *data);
+
218 
+
219 
+
223 BOOL
+
224 OSWaitAlarm(OSAlarm *alarm);
+
225 
+
226 #ifdef __cplusplus
+
227 }
+
228 #endif
+
229 
+
uint32_t tag
Definition: alarm.h:35
+
OSAlarmQueue * alarmQueue
The queue that this alarm is currently in.
Definition: alarm.h:102
+
void(* OSAlarmCallback)(OSAlarm *, OSContext *)
Definition: alarm.h:28
+
const char * name
Definition: alarm.h:38
+
Definition: alarm.h:62
+
const char * name
Name set from OSCreateAlarmEx.
Definition: alarm.h:68
+
int64_t OSTime
Definition: time.h:17
+ +
BOOL OSSetAlarm(OSAlarm *alarm, OSTime time, OSAlarmCallback callback)
+
uint32_t group
Used with OSCancelAlarms for bulk cancellation of alarms.
Definition: alarm.h:76
+ +
OSAlarm * tail
Definition: alarm.h:43
+ +
OSThreadQueue threadQueue
Definition: alarm.h:41
+ +
BOOL OSCancelAlarm(OSAlarm *alarm)
+
void OSCreateAlarmEx(OSAlarm *alarm, const char *name)
+
OSTime nextFire
The time when the alarm will next be triggered.
Definition: alarm.h:81
+ +
OSAlarm * head
Definition: alarm.h:42
+
void OSInitAlarmQueueEx(OSAlarmQueue *queue, const char *name)
+
OSTime period
The period between alarm triggers, this is only set for periodic alarms.
Definition: alarm.h:87
+
void * OSGetAlarmUserData(OSAlarm *alarm)
+
OSAlarmLink link
Link used for when this OSAlarm object is inside an OSAlarmQueue.
Definition: alarm.h:84
+ +
uint32_t tag
Should always be set to the value OS_ALARM_TAG.
Definition: alarm.h:65
+ + +
BOOL OSWaitAlarm(OSAlarm *alarm)
+
void * userData
User data set with OSSetAlarmUserData and retrieved with OSGetAlarmUserData.
Definition: alarm.h:93
+
int BOOL
Definition: wut_types.h:4
+
void OSSetAlarmUserData(OSAlarm *alarm, void *data)
+
void OSInitAlarmQueue(OSAlarmQueue *queue)
+
OSContext * context
The context the alarm was triggered on.
Definition: alarm.h:105
+
uint32_t state
The current state of the alarm, internal values.
Definition: alarm.h:96
+
BOOL OSSetPeriodicAlarm(OSAlarm *alarm, OSTime start, OSTime interval, OSAlarmCallback callback)
+ +
OSTime start
The time the alarm was started.
Definition: alarm.h:90
+
void OSCreateAlarm(OSAlarm *alarm)
+
OSAlarmCallback callback
The callback to execute once the alarm is triggered.
Definition: alarm.h:73
+
OSThreadQueue threadQueue
Queue of threads currently waiting for the alarm to trigger with OSWaitAlarm.
Definition: alarm.h:99
+
void OSSetAlarmTag(OSAlarm *alarm, uint32_t group)
+
void OSCancelAlarms(uint32_t group)
+ +
+ + + + diff --git a/annotated.html b/annotated.html new file mode 100644 index 0000000..4c97001 --- /dev/null +++ b/annotated.html @@ -0,0 +1,134 @@ + + + + + + +WUT: Data Structures + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + +
+ +
+
+ + +
+ +
+ +
+
+
Data Structures
+
+
+
Here are the data structures with brief descriptions:
+
+ + + + diff --git a/arrowdown.png b/arrowdown.png new file mode 100644 index 0000000000000000000000000000000000000000..0b63f6d38c4b9ec907b820192ebe9724ed6eca22 GIT binary patch literal 246 zcmVkw!R34#Lv2LOS^S2tZA31X++9RY}n zChwn@Z)Wz*WWHH{)HDtJnq&A2hk$b-y(>?@z0iHr41EKCGp#T5?07*qoM6N<$f(V3Pvj6}9 literal 0 HcmV?d00001 diff --git a/arrowright.png b/arrowright.png new file mode 100644 index 0000000000000000000000000000000000000000..c6ee22f937a07d1dbfc27c669d11f8ed13e2f152 GIT binary patch literal 229 zcmV^P)R?RzRoKvklcaQ%HF6%rK2&ZgO(-ihJ_C zzrKgp4jgO( fd_(yg|3PpEQb#9`a?Pz_00000NkvXXu0mjftR`5K literal 0 HcmV?d00001 diff --git a/atomic64_8h.html b/atomic64_8h.html new file mode 100644 index 0000000..f9f2d57 --- /dev/null +++ b/atomic64_8h.html @@ -0,0 +1,133 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/atomic64.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
atomic64.h File Reference
+
+
+
#include <wut.h>
+
+

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

uint64_t OSGetAtomic64 (uint64_t *ptr)
 
uint64_t OSSetAtomic64 (uint64_t *ptr, uint64_t value)
 
BOOL OSCompareAndSwapAtomic64 (uint64_t *ptr, uint64_t compare, uint64_t value)
 
BOOL OSCompareAndSwapAtomicEx64 (uint64_t *ptr, uint64_t compare, uint64_t value, uint64_t *old)
 
uint64_t OSSwapAtomic64 (uint64_t *ptr, uint64_t value)
 
int64_t OSAddAtomic64 (int64_t *ptr, int64_t value)
 
uint64_t OSAndAtomic64 (uint64_t *ptr, uint64_t value)
 
uint64_t OSOrAtomic64 (uint64_t *ptr, uint64_t value)
 
uint64_t OSXorAtomic64 (uint64_t *ptr, uint64_t value)
 
BOOL OSTestAndClearAtomic64 (uint64_t *ptr, uint32_t bit)
 
BOOL OSTestAndSetAtomic64 (uint64_t *ptr, uint32_t bit)
 
+
+ + + + diff --git a/atomic64_8h_source.html b/atomic64_8h_source.html new file mode 100644 index 0000000..4bfdd35 --- /dev/null +++ b/atomic64_8h_source.html @@ -0,0 +1,172 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/atomic64.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
atomic64.h
+
+
+Go to the documentation of this file.
1 #pragma once
+
2 #include <wut.h>
+
3 
+
12 #ifdef __cplusplus
+
13 extern "C" {
+
14 #endif
+
15 
+
16 uint64_t
+
17 OSGetAtomic64(uint64_t *ptr);
+
18 
+
19 uint64_t
+
20 OSSetAtomic64(uint64_t *ptr,
+
21  uint64_t value);
+
22 
+
23 BOOL
+
24 OSCompareAndSwapAtomic64(uint64_t *ptr,
+
25  uint64_t compare,
+
26  uint64_t value);
+
27 
+
28 BOOL
+
29 OSCompareAndSwapAtomicEx64(uint64_t *ptr,
+
30  uint64_t compare,
+
31  uint64_t value,
+
32  uint64_t *old);
+
33 
+
34 uint64_t
+
35 OSSwapAtomic64(uint64_t *ptr,
+
36  uint64_t value);
+
37 
+
38 int64_t
+
39 OSAddAtomic64(int64_t *ptr,
+
40  int64_t value);
+
41 
+
42 uint64_t
+
43 OSAndAtomic64(uint64_t *ptr,
+
44  uint64_t value);
+
45 
+
46 uint64_t
+
47 OSOrAtomic64(uint64_t *ptr,
+
48  uint64_t value);
+
49 
+
50 uint64_t
+
51 OSXorAtomic64(uint64_t *ptr,
+
52  uint64_t value);
+
53 
+
54 BOOL
+
55 OSTestAndClearAtomic64(uint64_t *ptr,
+
56  uint32_t bit);
+
57 
+
58 BOOL
+
59 OSTestAndSetAtomic64(uint64_t *ptr,
+
60  uint32_t bit);
+
61 
+
62 #ifdef __cplusplus
+
63 }
+
64 #endif
+
65 
+
uint64_t OSSwapAtomic64(uint64_t *ptr, uint64_t value)
+
uint64_t OSAndAtomic64(uint64_t *ptr, uint64_t value)
+
uint64_t OSSetAtomic64(uint64_t *ptr, uint64_t value)
+
BOOL OSCompareAndSwapAtomic64(uint64_t *ptr, uint64_t compare, uint64_t value)
+
BOOL OSTestAndSetAtomic64(uint64_t *ptr, uint32_t bit)
+ +
BOOL OSTestAndClearAtomic64(uint64_t *ptr, uint32_t bit)
+
uint64_t OSXorAtomic64(uint64_t *ptr, uint64_t value)
+
int BOOL
Definition: wut_types.h:4
+
int64_t OSAddAtomic64(int64_t *ptr, int64_t value)
+
uint64_t OSOrAtomic64(uint64_t *ptr, uint64_t value)
+
BOOL OSCompareAndSwapAtomicEx64(uint64_t *ptr, uint64_t compare, uint64_t value, uint64_t *old)
+
uint64_t OSGetAtomic64(uint64_t *ptr)
+
+ + + + diff --git a/baseheap_8h.html b/baseheap_8h.html new file mode 100644 index 0000000..96af49b --- /dev/null +++ b/baseheap_8h.html @@ -0,0 +1,134 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/baseheap.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
baseheap.h File Reference
+
+
+
#include <wut.h>
+
+

Go to the source code of this file.

+ + + + + + +

+Typedefs

typedef uint32_t MEMBaseHeapType
 
typedef void * MEMHeapHandle
 
+ + + +

+Enumerations

enum  MEMBaseHeapType { MEM_BASE_HEAP_MEM1 = 0, +MEM_BASE_HEAP_MEM2 = 1, +MEM_BASE_HEAP_FG = 8 + }
 
+ + + + + + + +

+Functions

MEMBaseHeapType MEMGetArena (MEMHeapHandle handle)
 
MEMHeapHandle MEMGetBaseHeapHandle (MEMBaseHeapType type)
 
MEMHeapHandle MEMSetBaseHeapHandle (MEMBaseHeapType type, MEMHeapHandle handle)
 
+
+ + + + diff --git a/baseheap_8h_source.html b/baseheap_8h_source.html new file mode 100644 index 0000000..db66d73 --- /dev/null +++ b/baseheap_8h_source.html @@ -0,0 +1,142 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/baseheap.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
baseheap.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 uint32_t MEMBaseHeapType;
+
15 typedef void *MEMHeapHandle;
+
16 
+
17 enum MEMBaseHeapType
+
18 {
+ + + +
22 };
+
23 
+
24 MEMBaseHeapType
+
25 MEMGetArena(MEMHeapHandle handle);
+
26 
+
27 MEMHeapHandle
+
28 MEMGetBaseHeapHandle(MEMBaseHeapType type);
+
29 
+
30 MEMHeapHandle
+
31 MEMSetBaseHeapHandle(MEMBaseHeapType type,
+
32  MEMHeapHandle handle);
+
33 
+
34 #ifdef __cplusplus
+
35 }
+
36 #endif
+
37 
+
MEMBaseHeapType
Definition: baseheap.h:17
+
MEMHeapHandle MEMGetBaseHeapHandle(MEMBaseHeapType type)
+
void * MEMHeapHandle
Definition: baseheap.h:15
+ + + + +
MEMHeapHandle MEMSetBaseHeapHandle(MEMBaseHeapType type, MEMHeapHandle handle)
+
MEMBaseHeapType MEMGetArena(MEMHeapHandle handle)
+
+ + + + diff --git a/bc_s.png b/bc_s.png new file mode 100644 index 0000000000000000000000000000000000000000..224b29aa9847d5a4b3902efd602b7ddf7d33e6c2 GIT binary patch literal 676 zcmV;V0$crwP)y__>=_9%My z{n931IS})GlGUF8K#6VIbs%684A^L3@%PlP2>_sk`UWPq@f;rU*V%rPy_ekbhXT&s z(GN{DxFv}*vZp`F>S!r||M`I*nOwwKX+BC~3P5N3-)Y{65c;ywYiAh-1*hZcToLHK ztpl1xomJ+Yb}K(cfbJr2=GNOnT!UFA7Vy~fBz8?J>XHsbZoDad^8PxfSa0GDgENZS zuLCEqzb*xWX2CG*b&5IiO#NzrW*;`VC9455M`o1NBh+(k8~`XCEEoC1Ybwf;vr4K3 zg|EB<07?SOqHp9DhLpS&bzgo70I+ghB_#)K7H%AMU3v}xuyQq9&Bm~++VYhF09a+U zl7>n7Jjm$K#b*FONz~fj;I->Bf;ule1prFN9FovcDGBkpg>)O*-}eLnC{6oZHZ$o% zXKW$;0_{8hxHQ>l;_*HATI(`7t#^{$(zLe}h*mqwOc*nRY9=?Sx4OOeVIfI|0V(V2 zBrW#G7Ss9wvzr@>H*`r>zE z+e8bOBgqIgldUJlG(YUDviMB`9+DH8n-s9SXRLyJHO1!=wY^79WYZMTa(wiZ!zP66 zA~!21vmF3H2{ngD;+`6j#~6j;$*f*G_2ZD1E;9(yaw7d-QnSCpK(cR1zU3qU0000< KMNUMnLSTYoA~SLT literal 0 HcmV?d00001 diff --git a/bdwn.png b/bdwn.png new file mode 100644 index 0000000000000000000000000000000000000000..940a0b950443a0bb1b216ac03c45b8a16c955452 GIT binary patch literal 147 zcmeAS@N?(olHy`uVBq!ia0vp^>_E)H!3HEvS)PKZC{Gv1kP61Pb5HX&C2wk~_T + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/cache.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
cache.h File Reference
+
+
+
#include <wut.h>
+
+

Go to the source code of this file.

+ + + + + + + + + + + + + + + + +

+Functions

void DCInvalidateRange (void *addr, uint32_t size)
 
void DCFlushRange (void *addr, uint32_t size)
 
void DCStoreRange (void *addr, uint32_t size)
 
void DCFlushRangeNoSync (void *addr, uint32_t size)
 
void DCStoreRangeNoSync (void *addr, uint32_t size)
 
void DCZeroRange (void *addr, uint32_t size)
 
void DCTouchRange (void *addr, uint32_t size)
 
+
+ + + + diff --git a/cache_8h_source.html b/cache_8h_source.html new file mode 100644 index 0000000..df165f9 --- /dev/null +++ b/cache_8h_source.html @@ -0,0 +1,149 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/cache.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
cache.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 void
+
15 DCInvalidateRange(void *addr,
+
16  uint32_t size);
+
17 
+
18 void
+
19 DCFlushRange(void *addr,
+
20  uint32_t size);
+
21 
+
22 void
+
23 DCStoreRange(void *addr,
+
24  uint32_t size);
+
25 
+
26 void
+
27 DCFlushRangeNoSync(void *addr,
+
28  uint32_t size);
+
29 
+
30 void
+
31 DCStoreRangeNoSync(void *addr,
+
32  uint32_t size);
+
33 
+
34 void
+
35 DCZeroRange(void *addr,
+
36  uint32_t size);
+
37 
+
38 void
+
39 DCTouchRange(void *addr,
+
40  uint32_t size);
+
41 
+
42 #ifdef __cplusplus
+
43 }
+
44 #endif
+
45 
+
void DCInvalidateRange(void *addr, uint32_t size)
+
void DCStoreRangeNoSync(void *addr, uint32_t size)
+
void DCFlushRangeNoSync(void *addr, uint32_t size)
+
void DCStoreRange(void *addr, uint32_t size)
+ +
void DCTouchRange(void *addr, uint32_t size)
+
void DCFlushRange(void *addr, uint32_t size)
+
void DCZeroRange(void *addr, uint32_t size)
+
+ + + + diff --git a/classes.html b/classes.html new file mode 100644 index 0000000..772147f --- /dev/null +++ b/classes.html @@ -0,0 +1,113 @@ + + + + + + +WUT: Data Structure Index + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + +
+ +
+
+ + +
+ +
+ +
+
+
Data Structure Index
+
+
+
M | O
+ + + + + + + + + +
  M  
+
MPTaskInfo   OSAlarmQueue   OSFastMutexLink   OSRendezvous   
MPTaskQueue   OSCalendarTime   OSFastMutexQueue   OSSemaphore   
MEMExpandedHeap   MPTaskQueueInfo   OSCondition   OSMessage   OSSpinLock   
MEMMemoryLink   
  O  
+
OSContext   OSMessageQueue   OSThread   
MEMMemoryList   OSEvent   OSMutex   OSThreadLink   
MEMUnitHeap   OSAlarm   OSFastCondition   OSMutexLink   OSThreadQueue   
MPTask   OSAlarmLink   OSFastMutex   OSMutexQueue   OSThreadSimpleQueue   
+
M | O
+
+ + + + diff --git a/closed.png b/closed.png new file mode 100644 index 0000000000000000000000000000000000000000..98cc2c909da37a6df914fbf67780eebd99c597f5 GIT binary patch literal 132 zcmeAS@N?(olHy`uVBq!ia0vp^oFL4>1|%O$WD@{V-kvUwAr*{o@8{^CZMh(5KoB^r_<4^zF@3)Cp&&t3hdujKf f*?bjBoY!V+E))@{xMcbjXe@)LtDnm{r-UW|*e5JT literal 0 HcmV?d00001 diff --git a/condition_8h.html b/condition_8h.html new file mode 100644 index 0000000..e565f22 --- /dev/null +++ b/condition_8h.html @@ -0,0 +1,140 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/condition.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
condition.h File Reference
+
+
+
#include <wut.h>
+#include "threadqueue.h"
+
+

Go to the source code of this file.

+ + + + +

+Data Structures

struct  OSCondition
 
+ + + +

+Macros

#define OS_CONDITION_TAG   0x634E6456u
 
+ + + + + +

+Typedefs

typedef struct OSCondition OSCondition
 
typedef struct OSMutex OSMutex
 
+ + + + + + + + + +

+Functions

void OSInitCond (OSCondition *condition)
 
void OSInitCondEx (OSCondition *condition, const char *name)
 
void OSWaitCond (OSCondition *condition, OSMutex *mutex)
 
void OSSignalCond (OSCondition *condition)
 
+
+ + + + diff --git a/condition_8h_source.html b/condition_8h_source.html new file mode 100644 index 0000000..f077c6d --- /dev/null +++ b/condition_8h_source.html @@ -0,0 +1,160 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/condition.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
condition.h
+
+
+Go to the documentation of this file.
1 #pragma once
+
2 #include <wut.h>
+
3 #include "threadqueue.h"
+
4 
+
11 #ifdef __cplusplus
+
12 extern "C" {
+
13 #endif
+
14 
+
15 typedef struct OSCondition OSCondition;
+
16 typedef struct OSMutex OSMutex;
+
17 
+
18 #define OS_CONDITION_TAG 0x634E6456u
+
19 
+ +
21 {
+
23  uint32_t tag;
+
24 
+
26  const char *name;
+
27 
+
28  UNKNOWN(4);
+
29 
+ +
32 };
+
33 CHECK_OFFSET(OSCondition, 0x00, tag);
+
34 CHECK_OFFSET(OSCondition, 0x04, name);
+
35 CHECK_OFFSET(OSCondition, 0x0c, queue);
+
36 CHECK_SIZE(OSCondition, 0x1c);
+
37 
+
38 void
+
39 OSInitCond(OSCondition *condition);
+
40 
+
41 void
+
42 OSInitCondEx(OSCondition *condition,
+
43  const char *name);
+
44 
+
45 void
+
46 OSWaitCond(OSCondition *condition,
+
47  OSMutex *mutex);
+
48 
+
49 void
+
50 OSSignalCond(OSCondition *condition);
+
51 
+
52 #ifdef __cplusplus
+
53 }
+
54 #endif
+
55 
+
void OSWaitCond(OSCondition *condition, OSMutex *mutex)
+
void OSSignalCond(OSCondition *condition)
+
void OSInitCondEx(OSCondition *condition, const char *name)
+ + + +
void OSInitCond(OSCondition *condition)
+
Definition: mutex.h:32
+
OSThreadQueue queue
Queue of threads currently waiting on condition with OSWaitCond.
Definition: condition.h:31
+
uint32_t tag
Should always be set to the value OS_CONDITION_TAG.
Definition: condition.h:23
+ +
const char * name
Name set by OSInitCondEx.
Definition: condition.h:26
+
+ + + + diff --git a/core_8h.html b/core_8h.html new file mode 100644 index 0000000..4f60e2a --- /dev/null +++ b/core_8h.html @@ -0,0 +1,119 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/core.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
core.h File Reference
+
+
+
#include <wut.h>
+
+

Go to the source code of this file.

+ + + + + + + + + + +

+Functions

uint32_t OSGetCoreCount ()
 
uint32_t OSGetCoreId ()
 
uint32_t OSGetMainCoreId ()
 
BOOL OSIsMainCore ()
 
+
+ + + + diff --git a/core_8h_source.html b/core_8h_source.html new file mode 100644 index 0000000..fa94382 --- /dev/null +++ b/core_8h_source.html @@ -0,0 +1,136 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/core.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
core.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 
+
18 uint32_t
+ +
20 
+
21 
+
25 uint32_t
+
26 OSGetCoreId();
+
27 
+
28 
+
32 uint32_t
+ +
34 
+
35 
+
39 BOOL
+
40 OSIsMainCore();
+
41 
+
42 
+
43 #ifdef __cplusplus
+
44 }
+
45 #endif
+
46 
+
uint32_t OSGetCoreId()
+
uint32_t OSGetMainCoreId()
+
uint32_t OSGetCoreCount()
+ +
int BOOL
Definition: wut_types.h:4
+
BOOL OSIsMainCore()
+
+ + + + diff --git a/coreinit_8dox.html b/coreinit_8dox.html new file mode 100644 index 0000000..d4c9c17 --- /dev/null +++ b/coreinit_8dox.html @@ -0,0 +1,98 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/coreinit.dox File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+
+
D:/Programming/Projects/wut/include/coreinit/coreinit.dox File Reference
+
+
+
+ + + + diff --git a/coreinit_8h.html b/coreinit_8h.html new file mode 100644 index 0000000..c1d5adb --- /dev/null +++ b/coreinit_8h.html @@ -0,0 +1,104 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/coreinit.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
coreinit.h File Reference
+
+ + + + + diff --git a/coreinit_8h_source.html b/coreinit_8h_source.html new file mode 100644 index 0000000..c3f86c8 --- /dev/null +++ b/coreinit_8h_source.html @@ -0,0 +1,103 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/coreinit.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
coreinit.h
+
+ + + + + diff --git a/debug_8h.html b/debug_8h.html new file mode 100644 index 0000000..5f84da9 --- /dev/null +++ b/debug_8h.html @@ -0,0 +1,119 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/debug.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
debug.h File Reference
+
+
+
#include <wut.h>
+
+

Go to the source code of this file.

+ + + + + + + + + + +

+Functions

void OSConsoleWrite (const char *msg, uint32_t size)
 
void OSReport (const char *fmt,...)
 
void OSPanic (const char *file, uint32_t line, const char *fmt,...)
 
void OSFatal (const char *msg)
 
+
+ + + + diff --git a/debug_8h_source.html b/debug_8h_source.html new file mode 100644 index 0000000..292c5ff --- /dev/null +++ b/debug_8h_source.html @@ -0,0 +1,138 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/debug.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
debug.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 
+
15 void
+
16 OSConsoleWrite(const char *msg,
+
17  uint32_t size);
+
18 
+
19 
+
20 void
+
21 OSReport(const char *fmt, ...);
+
22 
+
23 
+
24 void
+
25 OSPanic(const char *file,
+
26  uint32_t line,
+
27  const char *fmt, ...);
+
28 
+
29 
+
30 void
+
31 OSFatal(const char *msg);
+
32 
+
33 
+
34 #ifdef __cplusplus
+
35 }
+
36 #endif
+
37 
+
void OSConsoleWrite(const char *msg, uint32_t size)
+
void OSFatal(const char *msg)
+ +
void OSPanic(const char *file, uint32_t line, const char *fmt,...)
+
void OSReport(const char *fmt,...)
+
+ + + + diff --git a/dir_5050f3de292bd66075be80c4b119f1df.html b/dir_5050f3de292bd66075be80c4b119f1df.html new file mode 100644 index 0000000..f18c748 --- /dev/null +++ b/dir_5050f3de292bd66075be80c4b119f1df.html @@ -0,0 +1,152 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit Directory Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + +
+
+ + +
+ +
+ + +
+
+
+
coreinit Directory Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Files

file  alarm.h [code]
 
file  atomic64.h [code]
 
file  baseheap.h [code]
 
file  cache.h [code]
 
file  condition.h [code]
 
file  core.h [code]
 
file  debug.h [code]
 
file  dynload.h [code]
 
file  event.h [code]
 
file  exception.h [code]
 
file  exit.h [code]
 
file  expandedheap.h [code]
 
file  fastcondition.h [code]
 
file  fastmutex.h [code]
 
file  frameheap.h [code]
 
file  memlist.h [code]
 
file  messagequeue.h [code]
 
file  mutex.h [code]
 
file  rendezvous.h [code]
 
file  semaphore.h [code]
 
file  spinlock.h [code]
 
file  taskqueue.h [code]
 
file  thread.h [code]
 
file  threadqueue.h [code]
 
file  time.h [code]
 
file  unitheap.h [code]
 
+
+ + + + diff --git a/dir_64fe89c4a61f5742775721f1d8222d0c.html b/dir_64fe89c4a61f5742775721f1d8222d0c.html new file mode 100644 index 0000000..517be2e --- /dev/null +++ b/dir_64fe89c4a61f5742775721f1d8222d0c.html @@ -0,0 +1,102 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/gx2 Directory Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + +
+
+ + +
+ +
+ + +
+
+
+
gx2 Directory Reference
+
+
+ + + + +

+Files

file  state.h [code]
 
+
+ + + + diff --git a/dir_d44c64559bbebec7f509842c48db8b23.html b/dir_d44c64559bbebec7f509842c48db8b23.html new file mode 100644 index 0000000..bda2761 --- /dev/null +++ b/dir_d44c64559bbebec7f509842c48db8b23.html @@ -0,0 +1,111 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include Directory Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + +
+
+ + +
+ +
+ + +
+
+
+
include Directory Reference
+
+
+ + + + + + +

+Directories

directory  coreinit
 
directory  gx2
 
+ + + + + +

+Files

file  wut.h [code]
 
file  wut_types.h [code]
 
+
+ + + + diff --git a/doc.png b/doc.png new file mode 100644 index 0000000000000000000000000000000000000000..17edabff95f7b8da13c9516a04efe05493c29501 GIT binary patch literal 746 zcmV7=@pnbNXRFEm&G8P!&WHG=d)>K?YZ1bzou)2{$)) zumDct!>4SyxL;zgaG>wy`^Hv*+}0kUfCrz~BCOViSb$_*&;{TGGn2^x9K*!Sf0=lV zpP=7O;GA0*Jm*tTYj$IoXvimpnV4S1Z5f$p*f$Db2iq2zrVGQUz~yq`ahn7ck(|CE z7Gz;%OP~J6)tEZWDzjhL9h2hdfoU2)Nd%T<5Kt;Y0XLt&<@6pQx!nw*5`@bq#?l*?3z{Hlzoc=Pr>oB5(9i6~_&-}A(4{Q$>c>%rV&E|a(r&;?i5cQB=} zYSDU5nXG)NS4HEs0it2AHe2>shCyr7`6@4*6{r@8fXRbTA?=IFVWAQJL&H5H{)DpM#{W(GL+Idzf^)uRV@oB8u$ z8v{MfJbTiiRg4bza<41NAzrl{=3fl_D+$t+^!xlQ8S}{UtY`e z;;&9UhyZqQRN%2pot{*Ei0*4~hSF_3AH2@fKU!$NSflS>{@tZpDT4`M2WRTTVH+D? z)GFlEGGHe?koB}i|1w45!BF}N_q&^HJ&-tyR{(afC6H7|aml|tBBbv}55C5DNP8p3 z)~jLEO4Z&2hZmP^i-e%(@d!(E|KRafiU8Q5u(wU((j8un3OR*Hvj+t literal 0 HcmV?d00001 diff --git a/doxygen.css b/doxygen.css new file mode 100644 index 0000000..b2c94ac --- /dev/null +++ b/doxygen.css @@ -0,0 +1,1454 @@ +/* The standard CSS for doxygen 1.8.10 */ + +body, table, div, p, dl { + font: 400 14px/22px Roboto,sans-serif; +} + +/* @group Heading Levels */ + +h1.groupheader { + font-size: 150%; +} + +.title { + font: 400 14px/28px Roboto,sans-serif; + font-size: 150%; + font-weight: bold; + margin: 10px 2px; +} + +h2.groupheader { + border-bottom: 1px solid #879ECB; + color: #354C7B; + font-size: 150%; + font-weight: normal; + margin-top: 1.75em; + padding-top: 8px; + padding-bottom: 4px; + width: 100%; +} + +h3.groupheader { + font-size: 100%; +} + +h1, h2, h3, h4, h5, h6 { + -webkit-transition: text-shadow 0.5s linear; + -moz-transition: text-shadow 0.5s linear; + -ms-transition: text-shadow 0.5s linear; + -o-transition: text-shadow 0.5s linear; + transition: text-shadow 0.5s linear; + margin-right: 15px; +} + +h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { + text-shadow: 0 0 15px cyan; +} + +dt { + font-weight: bold; +} + +div.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; +} + +p.startli, p.startdd { + margin-top: 2px; +} + +p.starttd { + margin-top: 0px; +} + +p.endli { + margin-bottom: 0px; +} + +p.enddd { + margin-bottom: 4px; +} + +p.endtd { + margin-bottom: 2px; +} + +/* @end */ + +caption { + font-weight: bold; +} + +span.legend { + font-size: 70%; + text-align: center; +} + +h3.version { + font-size: 90%; + text-align: center; +} + +div.qindex, div.navtab{ + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; +} + +div.qindex, div.navpath { + width: 100%; + line-height: 140%; +} + +div.navtab { + margin-right: 15px; +} + +/* @group Link Styling */ + +a { + color: #3D578C; + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: #4665A2; +} + +a:hover { + text-decoration: underline; +} + +a.qindex { + font-weight: bold; +} + +a.qindexHL { + font-weight: bold; + background-color: #9CAFD4; + color: #ffffff; + border: 1px double #869DCA; +} + +.contents a.qindexHL:visited { + color: #ffffff; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code, a.code:visited, a.line, a.line:visited { + color: #4665A2; +} + +a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { + color: #4665A2; +} + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +pre.fragment { + border: 1px solid #C4CFE5; + background-color: #FBFCFD; + padding: 4px 6px; + margin: 4px 8px 4px 2px; + overflow: auto; + word-wrap: break-word; + font-size: 9pt; + line-height: 125%; + font-family: monospace, fixed; + font-size: 105%; +} + +div.fragment { + padding: 4px 6px; + margin: 4px 8px 4px 2px; + background-color: #FBFCFD; + border: 1px solid #C4CFE5; +} + +div.line { + font-family: monospace, fixed; + font-size: 13px; + min-height: 13px; + line-height: 1.0; + text-wrap: unrestricted; + white-space: -moz-pre-wrap; /* Moz */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + white-space: pre-wrap; /* CSS3 */ + word-wrap: break-word; /* IE 5.5+ */ + text-indent: -53px; + padding-left: 53px; + padding-bottom: 0px; + margin: 0px; + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +div.line.glow { + background-color: cyan; + box-shadow: 0 0 10px cyan; +} + + +span.lineno { + padding-right: 4px; + text-align: right; + border-right: 2px solid #0F0; + background-color: #E8E8E8; + white-space: pre; +} +span.lineno a { + background-color: #D8D8D8; +} + +span.lineno a:hover { + background-color: #C8C8C8; +} + +div.ah, span.ah { + background-color: black; + font-weight: bold; + color: #ffffff; + margin-bottom: 3px; + margin-top: 3px; + padding: 0.2em; + border: solid thin #333; + border-radius: 0.5em; + -webkit-border-radius: .5em; + -moz-border-radius: .5em; + box-shadow: 2px 2px 3px #999; + -webkit-box-shadow: 2px 2px 3px #999; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); + background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000); +} + +div.classindex ul { + list-style: none; + padding-left: 0; +} + +div.classindex span.ai { + display: inline-block; +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + background-color: white; + color: black; + margin: 0; +} + +div.contents { + margin-top: 10px; + margin-left: 12px; + margin-right: 8px; +} + +td.indexkey { + background-color: #EBEFF6; + font-weight: bold; + border: 1px solid #C4CFE5; + margin: 2px 0px 2px 0; + padding: 2px 10px; + white-space: nowrap; + vertical-align: top; +} + +td.indexvalue { + background-color: #EBEFF6; + border: 1px solid #C4CFE5; + padding: 2px 10px; + margin: 2px 0px; +} + +tr.memlist { + background-color: #EEF1F7; +} + +p.formulaDsp { + text-align: center; +} + +img.formulaDsp { + +} + +img.formulaInl { + vertical-align: middle; +} + +div.center { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; +} + +div.center img { + border: 0px; +} + +address.footer { + text-align: right; + padding-right: 12px; +} + +img.footer { + border: 0px; + vertical-align: middle; +} + +/* @group Code Colorization */ + +span.keyword { + color: #008000 +} + +span.keywordtype { + color: #604020 +} + +span.keywordflow { + color: #e08000 +} + +span.comment { + color: #800000 +} + +span.preprocessor { + color: #806020 +} + +span.stringliteral { + color: #002080 +} + +span.charliteral { + color: #008080 +} + +span.vhdldigit { + color: #ff00ff +} + +span.vhdlchar { + color: #000000 +} + +span.vhdlkeyword { + color: #700070 +} + +span.vhdllogic { + color: #ff0000 +} + +blockquote { + background-color: #F7F8FB; + border-left: 2px solid #9CAFD4; + margin: 0 24px 0 4px; + padding: 0 12px 0 16px; +} + +/* @end */ + +/* +.search { + color: #003399; + font-weight: bold; +} + +form.search { + margin-bottom: 0px; + margin-top: 0px; +} + +input.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} +*/ + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #A3B4D7; +} + +th.dirtab { + background: #EBEFF6; + font-weight: bold; +} + +hr { + height: 0px; + border: none; + border-top: 1px solid #4A6AAA; +} + +hr.footer { + height: 1px; +} + +/* @group Member Descriptions */ + +table.memberdecls { + border-spacing: 0px; + padding: 0px; +} + +.memberdecls td, .fieldtable tr { + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +.memberdecls td.glow, .fieldtable tr.glow { + background-color: cyan; + box-shadow: 0 0 15px cyan; +} + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: #F9FAFC; + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: #555; +} + +.memSeparator { + border-bottom: 1px solid #DEE4F0; + line-height: 1px; + margin: 0px; + padding: 0px; +} + +.memItemLeft, .memTemplItemLeft { + white-space: nowrap; +} + +.memItemRight { + width: 100%; +} + +.memTemplParams { + color: #4665A2; + white-space: nowrap; + font-size: 80%; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtemplate { + font-size: 80%; + color: #4665A2; + font-weight: normal; + margin-left: 9px; +} + +.memnav { + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} + +.mempage { + width: 100%; +} + +.memitem { + padding: 0; + margin-bottom: 10px; + margin-right: 5px; + -webkit-transition: box-shadow 0.5s linear; + -moz-transition: box-shadow 0.5s linear; + -ms-transition: box-shadow 0.5s linear; + -o-transition: box-shadow 0.5s linear; + transition: box-shadow 0.5s linear; + display: table !important; + width: 100%; +} + +.memitem.glow { + box-shadow: 0 0 15px cyan; +} + +.memname { + font-weight: bold; + margin-left: 6px; +} + +.memname td { + vertical-align: bottom; +} + +.memproto, dl.reflist dt { + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 0px 6px 0px; + color: #253555; + font-weight: bold; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + /* opera specific markup */ + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + border-top-right-radius: 4px; + border-top-left-radius: 4px; + /* firefox specific markup */ + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + -moz-border-radius-topright: 4px; + -moz-border-radius-topleft: 4px; + /* webkit specific markup */ + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + -webkit-border-top-right-radius: 4px; + -webkit-border-top-left-radius: 4px; + +} + +.memdoc, dl.reflist dd { + border-bottom: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 10px 2px 10px; + background-color: #FBFCFD; + border-top-width: 0; + background-image:url('nav_g.png'); + background-repeat:repeat-x; + background-color: #FFFFFF; + /* opera specific markup */ + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + /* firefox specific markup */ + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-bottomright: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + /* webkit specific markup */ + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +dl.reflist dt { + padding: 5px; +} + +dl.reflist dd { + margin: 0px 0px 10px 0px; + padding: 5px; +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; +} + +.paramname { + color: #602020; + white-space: nowrap; +} +.paramname em { + font-style: normal; +} +.paramname code { + line-height: 14px; +} + +.params, .retval, .exception, .tparams { + margin-left: 0px; + padding-left: 0px; +} + +.params .paramname, .retval .paramname { + font-weight: bold; + vertical-align: top; +} + +.params .paramtype { + font-style: italic; + vertical-align: top; +} + +.params .paramdir { + font-family: "courier new",courier,monospace; + vertical-align: top; +} + +table.mlabels { + border-spacing: 0px; +} + +td.mlabels-left { + width: 100%; + padding: 0px; +} + +td.mlabels-right { + vertical-align: bottom; + padding: 0px; + white-space: nowrap; +} + +span.mlabels { + margin-left: 8px; +} + +span.mlabel { + background-color: #728DC1; + border-top:1px solid #5373B4; + border-left:1px solid #5373B4; + border-right:1px solid #C4CFE5; + border-bottom:1px solid #C4CFE5; + text-shadow: none; + color: white; + margin-right: 4px; + padding: 2px 3px; + border-radius: 3px; + font-size: 7pt; + white-space: nowrap; + vertical-align: middle; +} + + + +/* @end */ + +/* these are for tree view inside a (index) page */ + +div.directory { + margin: 10px 0px; + border-top: 1px solid #9CAFD4; + border-bottom: 1px solid #9CAFD4; + width: 100%; +} + +.directory table { + border-collapse:collapse; +} + +.directory td { + margin: 0px; + padding: 0px; + vertical-align: top; +} + +.directory td.entry { + white-space: nowrap; + padding-right: 6px; + padding-top: 3px; +} + +.directory td.entry a { + outline:none; +} + +.directory td.entry a img { + border: none; +} + +.directory td.desc { + width: 100%; + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + border-left: 1px solid rgba(0,0,0,0.05); +} + +.directory tr.even { + padding-left: 6px; + background-color: #F7F8FB; +} + +.directory img { + vertical-align: -30%; +} + +.directory .levels { + white-space: nowrap; + width: 100%; + text-align: right; + font-size: 9pt; +} + +.directory .levels span { + cursor: pointer; + padding-left: 2px; + padding-right: 2px; + color: #3D578C; +} + +.arrow { + color: #9CAFD4; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: pointer; + font-size: 80%; + display: inline-block; + width: 16px; + height: 22px; +} + +.icon { + font-family: Arial, Helvetica; + font-weight: bold; + font-size: 12px; + height: 14px; + width: 16px; + display: inline-block; + background-color: #728DC1; + color: white; + text-align: center; + border-radius: 4px; + margin-left: 2px; + margin-right: 2px; +} + +.icona { + width: 24px; + height: 22px; + display: inline-block; +} + +.iconfopen { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderopen.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.iconfclosed { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderclosed.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.icondoc { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('doc.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +table.directory { + font: 400 14px Roboto,sans-serif; +} + +/* @end */ + +div.dynheader { + margin-top: 8px; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +address { + font-style: normal; + color: #2A3D61; +} + +table.doxtable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.doxtable td, table.doxtable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.doxtable th { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +table.fieldtable { + /*width: 100%;*/ + margin-bottom: 10px; + border: 1px solid #A8B8D9; + border-spacing: 0px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); + box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); +} + +.fieldtable td, .fieldtable th { + padding: 3px 7px 2px; +} + +.fieldtable td.fieldtype, .fieldtable td.fieldname { + white-space: nowrap; + border-right: 1px solid #A8B8D9; + border-bottom: 1px solid #A8B8D9; + vertical-align: top; +} + +.fieldtable td.fieldname { + padding-top: 3px; +} + +.fieldtable td.fielddoc { + border-bottom: 1px solid #A8B8D9; + /*width: 100%;*/ +} + +.fieldtable td.fielddoc p:first-child { + margin-top: 0px; +} + +.fieldtable td.fielddoc p:last-child { + margin-bottom: 2px; +} + +.fieldtable tr:last-child td { + border-bottom: none; +} + +.fieldtable th { + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + font-size: 90%; + color: #253555; + padding-bottom: 4px; + padding-top: 5px; + text-align:left; + -moz-border-radius-topleft: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom: 1px solid #A8B8D9; +} + + +.tabsearch { + top: 0px; + left: 10px; + height: 36px; + background-image: url('tab_b.png'); + z-index: 101; + overflow: hidden; + font-size: 13px; +} + +.navpath ul +{ + font-size: 11px; + background-image:url('tab_b.png'); + background-repeat:repeat-x; + background-position: 0 -5px; + height:30px; + line-height:30px; + color:#8AA0CC; + border:solid 1px #C2CDE4; + overflow:hidden; + margin:0px; + padding:0px; +} + +.navpath li +{ + list-style-type:none; + float:left; + padding-left:10px; + padding-right:15px; + background-image:url('bc_s.png'); + background-repeat:no-repeat; + background-position:right; + color:#364D7C; +} + +.navpath li.navelem a +{ + height:32px; + display:block; + text-decoration: none; + outline: none; + color: #283A5D; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; +} + +.navpath li.navelem a:hover +{ + color:#6884BD; +} + +.navpath li.footer +{ + list-style-type:none; + float:right; + padding-left:10px; + padding-right:15px; + background-image:none; + background-repeat:no-repeat; + background-position:right; + color:#364D7C; + font-size: 8pt; +} + + +div.summary +{ + float: right; + font-size: 8pt; + padding-right: 5px; + width: 50%; + text-align: right; +} + +div.summary a +{ + white-space: nowrap; +} + +div.ingroups +{ + font-size: 8pt; + width: 50%; + text-align: left; +} + +div.ingroups a +{ + white-space: nowrap; +} + +div.header +{ + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F9FAFC; + margin: 0px; + border-bottom: 1px solid #C4CFE5; +} + +div.headertitle +{ + padding: 5px 5px 5px 10px; +} + +dl +{ + padding: 0 0 0 10px; +} + +/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */ +dl.section +{ + margin-left: 0px; + padding-left: 0px; +} + +dl.note +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #D0C000; +} + +dl.warning, dl.attention +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #FF0000; +} + +dl.pre, dl.post, dl.invariant +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00D000; +} + +dl.deprecated +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #505050; +} + +dl.todo +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00C0E0; +} + +dl.test +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #3030E0; +} + +dl.bug +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #C08050; +} + +dl.section dd { + margin-bottom: 6px; +} + + +#projectlogo +{ + text-align: center; + vertical-align: bottom; + border-collapse: separate; +} + +#projectlogo img +{ + border: 0px none; +} + +#projectalign +{ + vertical-align: middle; +} + +#projectname +{ + font: 300% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 2px 0px; +} + +#projectbrief +{ + font: 120% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#projectnumber +{ + font: 50% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#titlearea +{ + padding: 0px; + margin: 0px; + width: 100%; + border-bottom: 1px solid #5373B4; +} + +.image +{ + text-align: center; +} + +.dotgraph +{ + text-align: center; +} + +.mscgraph +{ + text-align: center; +} + +.diagraph +{ + text-align: center; +} + +.caption +{ + font-weight: bold; +} + +div.zoom +{ + border: 1px solid #90A5CE; +} + +dl.citelist { + margin-bottom:50px; +} + +dl.citelist dt { + color:#334975; + float:left; + font-weight:bold; + margin-right:10px; + padding:5px; +} + +dl.citelist dd { + margin:2px 0; + padding:5px 0; +} + +div.toc { + padding: 14px 25px; + background-color: #F4F6FA; + border: 1px solid #D8DFEE; + border-radius: 7px 7px 7px 7px; + float: right; + height: auto; + margin: 0 20px 10px 10px; + width: 200px; +} + +div.toc li { + background: url("bdwn.png") no-repeat scroll 0 5px transparent; + font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; + margin-top: 5px; + padding-left: 10px; + padding-top: 2px; +} + +div.toc h3 { + font: bold 12px/1.2 Arial,FreeSans,sans-serif; + color: #4665A2; + border-bottom: 0 none; + margin: 0; +} + +div.toc ul { + list-style: none outside none; + border: medium none; + padding: 0px; +} + +div.toc li.level1 { + margin-left: 0px; +} + +div.toc li.level2 { + margin-left: 15px; +} + +div.toc li.level3 { + margin-left: 30px; +} + +div.toc li.level4 { + margin-left: 45px; +} + +.inherit_header { + font-weight: bold; + color: gray; + cursor: pointer; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.inherit_header td { + padding: 6px 0px 2px 5px; +} + +.inherit { + display: none; +} + +tr.heading h2 { + margin-top: 12px; + margin-bottom: 4px; +} + +/* tooltip related style info */ + +.ttc { + position: absolute; + display: none; +} + +#powerTip { + cursor: default; + white-space: nowrap; + background-color: white; + border: 1px solid gray; + border-radius: 4px 4px 4px 4px; + box-shadow: 1px 1px 7px gray; + display: none; + font-size: smaller; + max-width: 80%; + opacity: 0.9; + padding: 1ex 1em 1em; + position: absolute; + z-index: 2147483647; +} + +#powerTip div.ttdoc { + color: grey; + font-style: italic; +} + +#powerTip div.ttname a { + font-weight: bold; +} + +#powerTip div.ttname { + font-weight: bold; +} + +#powerTip div.ttdeci { + color: #006318; +} + +#powerTip div { + margin: 0px; + padding: 0px; + font: 12px/16px Roboto,sans-serif; +} + +#powerTip:before, #powerTip:after { + content: ""; + position: absolute; + margin: 0px; +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.s:after, #powerTip.s:before, +#powerTip.w:after, #powerTip.w:before, +#powerTip.e:after, #powerTip.e:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.nw:after, #powerTip.nw:before, +#powerTip.sw:after, #powerTip.sw:before { + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; +} + +#powerTip.n:after, #powerTip.s:after, +#powerTip.w:after, #powerTip.e:after, +#powerTip.nw:after, #powerTip.ne:after, +#powerTip.sw:after, #powerTip.se:after { + border-color: rgba(255, 255, 255, 0); +} + +#powerTip.n:before, #powerTip.s:before, +#powerTip.w:before, #powerTip.e:before, +#powerTip.nw:before, #powerTip.ne:before, +#powerTip.sw:before, #powerTip.se:before { + border-color: rgba(128, 128, 128, 0); +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.nw:after, #powerTip.nw:before { + top: 100%; +} + +#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { + border-top-color: #ffffff; + border-width: 10px; + margin: 0px -10px; +} +#powerTip.n:before { + border-top-color: #808080; + border-width: 11px; + margin: 0px -11px; +} +#powerTip.n:after, #powerTip.n:before { + left: 50%; +} + +#powerTip.nw:after, #powerTip.nw:before { + right: 14px; +} + +#powerTip.ne:after, #powerTip.ne:before { + left: 14px; +} + +#powerTip.s:after, #powerTip.s:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.sw:after, #powerTip.sw:before { + bottom: 100%; +} + +#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { + border-bottom-color: #ffffff; + border-width: 10px; + margin: 0px -10px; +} + +#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { + border-bottom-color: #808080; + border-width: 11px; + margin: 0px -11px; +} + +#powerTip.s:after, #powerTip.s:before { + left: 50%; +} + +#powerTip.sw:after, #powerTip.sw:before { + right: 14px; +} + +#powerTip.se:after, #powerTip.se:before { + left: 14px; +} + +#powerTip.e:after, #powerTip.e:before { + left: 100%; +} +#powerTip.e:after { + border-left-color: #ffffff; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.e:before { + border-left-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +#powerTip.w:after, #powerTip.w:before { + right: 100%; +} +#powerTip.w:after { + border-right-color: #ffffff; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.w:before { + border-right-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +@media print +{ + #top { display: none; } + #side-nav { display: none; } + #nav-path { display: none; } + body { overflow:visible; } + h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } + .summary { display: none; } + .memitem { page-break-inside: avoid; } + #doc-content + { + margin-left:0 !important; + height:auto !important; + width:auto !important; + overflow:inherit; + display:inline; + } +} + diff --git a/doxygen.png b/doxygen.png new file mode 100644 index 0000000000000000000000000000000000000000..3ff17d807fd8aa003bed8bb2a69e8f0909592fd1 GIT binary patch literal 3779 zcmV;!4m|ORP)tMIv#Q0*~7*`IBSO7_x;@a8#Zk6_PeKR_s92J&)(m+);m9Iz3blw)z#Gi zP!9lj4$%+*>Hz@HCmM9L9|8c+0u=!H$O3?R0Kgx|#WP<6fKfC8fM-CQZT|_r@`>VO zX^Hgb|9cJqpdJA5$MCEK`F_2@2Y@s>^+;pF`~jdI0Pvr|vl4`=C)EH@1IFe7pdJ8F zH(qGi004~QnF)Ggga~8v08kGAs2hKTATxr7pwfNk|4#_AaT>w8P6TV+R2kbS$v==} zAjf`s0g#V8lB+b3)5oEI*q+{Yt$MZDruD2^;$+(_%Qn+%v0X-bJO=;@kiJ^ygLBnC z?1OVv_%aex1M@jKU|Z~$eI?PoF4Vj>fDzyo zAiLfpXY*a^Sj-S5D0S3@#V$sRW)g)_1e#$%8xdM>Jm7?!h zu0P2X=xoN>^!4DoPRgph2(2va07yfpXF+WH7EOg1GY%Zn z7~1A<(z7Q$ktEXhW_?GMpHp9l_UL18F3KOsxu81pqoBiNbFSGsof-W z6~eloMoz=4?OOnl2J268x5rOY`dCk0us(uS#Ud4yqOr@?=Q57a}tit|BhY>}~frH1sP`ScHS_d)oqH^lYy zZ%VP`#10MlE~P?cE(%(#(AUSv_T{+;t@$U}El}(1ig`vZo`Rm;+5&(AYzJ^Ae=h2X z@Re%vHwZU>|f0NI&%$*4eJweC5OROQrpPMA@*w|o z()A==l}(@bv^&>H1Ob3C=<^|hob?0+xJ?QQ3-ueQC}zy&JQNib!OqSO@-=>XzxlSF zAZ^U*1l6EEmg3r};_HY>&Jo_{dOPEFTWPmt=U&F#+0(O59^UIlHbNX+eF8UzyDR*T z(=5X$VF3!gm@RooS-&iiUYGG^`hMR(07zr_xP`d!^BH?uD>Phl8Rdifx3Af^Zr`Ku ztL+~HkVeL#bJ)7;`=>;{KNRvjmc}1}c58Sr#Treq=4{xo!ATy|c>iRSp4`dzMMVd@ zL8?uwXDY}Wqgh4mH`|$BTXpUIu6A1-cSq%hJw;@^Zr8TP=GMh*p(m(tN7@!^D~sl$ zz^tf4II4|};+irE$Fnm4NTc5%p{PRA`%}Zk`CE5?#h3|xcyQsS#iONZ z6H(@^i9td!$z~bZiJLTax$o>r(p}3o@< zyD7%(>ZYvy=6$U3e!F{Z`uSaYy`xQyl?b{}eg|G3&fz*`QH@mDUn)1%#5u`0m$%D} z?;tZ0u(mWeMV0QtzjgN!lT*pNRj;6510Wwx?Yi_=tYw|J#7@(Xe7ifDzXuK;JB;QO z#bg~K$cgm$@{QiL_3yr}y&~wuv=P=#O&Tj=Sr)aCUlYmZMcw?)T?c%0rUe1cS+o!qs_ zQ6Gp)-{)V!;=q}llyK3|^WeLKyjf%y;xHku;9(vM!j|~<7w1c*Mk-;P{T&yG) z@C-8E?QPynNQ<8f01D`2qexcVEIOU?y}MG)TAE6&VT5`rK8s(4PE;uQ92LTXUQ<>^ ztyQ@=@kRdh@ebUG^Z6NWWIL;_IGJ2ST>$t!$m$qvtj0Qmw8moN6GUV^!QKNK zHBXCtUH8)RY9++gH_TUV4^=-j$t}dD3qsN7GclJ^Zc&(j6&a_!$jCf}%c5ey`pm~1)@{yI3 zTdWyB+*X{JFw#z;PwRr5evb2!ueWF;v`B0HoUu4-(~aL=z;OXUUEtG`_$)Oxw6FKg zEzY`CyKaSBK3xt#8gA|r_|Kehn_HYVBMpEwbn9-fI*!u*eTA1ef8Mkl1=!jV4oYwWYM}i`A>_F4nhmlCIC6WLa zY%;4&@AlnaG11ejl61Jev21|r*m+?Kru3;1tFDl}#!OzUp6c>go4{C|^erwpG*&h6bspUPJag}oOkN2912Y3I?(eRc@U9>z#HPBHC?nps7H5!zP``90!Q1n80jo+B3TWXp!8Pe zwuKuLLI6l3Gv@+QH*Y}2wPLPQ1^EZhT#+Ed8q8Wo z1pTmIBxv14-{l&QVKxAyQF#8Q@NeJwWdKk>?cpiJLkJr+aZ!Me+Cfp!?FWSRf^j2k z73BRR{WSKaMkJ>1Nbx5dan5hg^_}O{Tj6u%iV%#QGz0Q@j{R^Ik)Z*+(YvY2ziBG)?AmJa|JV%4UT$k`hcOg5r9R?5>?o~JzK zJCrj&{i#hG>N7!B4kNX(%igb%kDj0fOQThC-8mtfap82PNRXr1D>lbgg)dYTQ(kbx z`Ee5kXG~Bh+BHQBf|kJEy6(ga%WfhvdQNDuOfQoe377l#ht&DrMGeIsI5C<&ai zWG$|hop2@@q5YDa)_-A?B02W;#fH!%k`daQLEItaJJ8Yf1L%8x;kg?)k)00P-lH+w z)5$QNV6r2$YtnV(4o=0^3{kmaXn*Dm0F*fU(@o)yVVjk|ln8ea6BMy%vZAhW9|wvA z8RoDkVoMEz1d>|5(k0Nw>22ZT){V<3$^C-cN+|~hKt2)){+l-?3m@-$c?-dlzQ)q- zZ)j%n^gerV{|+t}9m1_&&Ly!9$rtG4XX|WQ8`xYzGC~U@nYh~g(z9)bdAl#xH)xd5a=@|qql z|FzEil{P5(@gy!4ek05i$>`E^G~{;pnf6ftpLh$h#W?^#4UkPfa;;?bsIe&kz!+40 zI|6`F2n020)-r`pFaZ38F!S-lJM-o&inOw|66=GMeP@xQU5ghQH{~5Uh~TMTd;I9` z>YhVB`e^EVj*S7JF39ZgNf}A-0DwOcTT63ydN$I3b?yBQtUI*_fae~kPvzoD$zjX3 zoqBe#>12im4WzZ=f^4+u=!lA|#r%1`WB0-6*3BL#at`47#ebPpR|D1b)3BjT34nYY z%Ds%d?5$|{LgOIaRO{{oC&RK`O91$fqwM0(C_TALcozu*fWHb%%q&p-q{_8*2Zsi^ zh1ZCnr^UYa;4vQEtHk{~zi>wwMC5o{S=$P0X681y`SXwFH?Ewn{x-MOZynmc)JT5v zuHLwh;tLfxRrr%|k370}GofLl7thg>ACWWY&msqaVu&ry+`7+Ss>NL^%T1|z{IGMA zW-SKl=V-^{(f!Kf^#3(|T2W47d(%JVCI4JgRrT1pNz>+ietmFToNv^`gzC@&O-)+i zPQ~RwK8%C_vf%;%e>NyTp~dM5;!C|N0Q^6|CEb7Bw=Vz~$1#FA;Z*?mKSC)Hl-20s t8QyHj(g6VK0RYbl8UjE)0O0w=e*@m04r>stuEhWV002ovPDHLkV1hl;dM*F} literal 0 HcmV?d00001 diff --git a/dynload_8h.html b/dynload_8h.html new file mode 100644 index 0000000..a9d5c66 --- /dev/null +++ b/dynload_8h.html @@ -0,0 +1,133 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/dynload.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
dynload.h File Reference
+
+
+
#include <wut.h>
+#include "thread.h"
+#include "time.h"
+
+

Go to the source code of this file.

+ + + + + + + + +

+Typedefs

typedef void * OSDynLoadModule
 
typedef int(* OSDynLoadAllocFn) (int size, int align, void **outAddr)
 
typedef void(* OSDynLoadFreeFn) (void *addr)
 
+ + + + + + + + + + + +

+Functions

int32_t OSDynLoad_SetAllocator (OSDynLoadAllocFn allocFn, OSDynLoadFreeFn freeFn)
 
int32_t OSDynLoad_GetAllocator (OSDynLoadAllocFn *outAllocFn, OSDynLoadFreeFn *outFreeFn)
 
int32_t OSDynLoad_Acquire (char const *name, OSDynLoadModule *outModule)
 
int32_t OSDynLoad_FindExport (OSDynLoadModule module, int32_t isData, char const *name, void **outAddr)
 
void OSDynLoad_Release (OSDynLoadModule module)
 
+
+ + + + diff --git a/dynload_8h_source.html b/dynload_8h_source.html new file mode 100644 index 0000000..250614b --- /dev/null +++ b/dynload_8h_source.html @@ -0,0 +1,157 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/dynload.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
dynload.h
+
+
+Go to the documentation of this file.
1 #pragma once
+
2 #include <wut.h>
+
3 #include "thread.h"
+
4 #include "time.h"
+
5 
+
12 #ifdef __cplusplus
+
13 extern "C" {
+
14 #endif
+
15 
+
16 typedef void *OSDynLoadModule;
+
17 
+
18 typedef int (*OSDynLoadAllocFn)(int size, int align, void **outAddr);
+
19 typedef void (*OSDynLoadFreeFn)(void *addr);
+
20 
+
21 
+
25 int32_t
+ +
27  OSDynLoadFreeFn freeFn);
+
28 
+
29 
+
33 int32_t
+ +
35  OSDynLoadFreeFn *outFreeFn);
+
36 
+
37 
+
44 int32_t
+
45 OSDynLoad_Acquire(char const *name,
+
46  OSDynLoadModule *outModule);
+
47 
+
48 
+
54 int32_t
+
55 OSDynLoad_FindExport(OSDynLoadModule module,
+
56  int32_t isData,
+
57  char const *name,
+
58  void **outAddr);
+
59 
+
60 
+
67 void
+
68 OSDynLoad_Release(OSDynLoadModule module);
+
69 
+
70 #ifdef __cplusplus
+
71 }
+
72 #endif
+
73 
+ +
void OSDynLoad_Release(OSDynLoadModule module)
+
int32_t OSDynLoad_Acquire(char const *name, OSDynLoadModule *outModule)
+ +
void * OSDynLoadModule
Definition: dynload.h:16
+
int32_t OSDynLoad_FindExport(OSDynLoadModule module, int32_t isData, char const *name, void **outAddr)
+ +
void(* OSDynLoadFreeFn)(void *addr)
Definition: dynload.h:19
+
int32_t OSDynLoad_GetAllocator(OSDynLoadAllocFn *outAllocFn, OSDynLoadFreeFn *outFreeFn)
+
int32_t OSDynLoad_SetAllocator(OSDynLoadAllocFn allocFn, OSDynLoadFreeFn freeFn)
+
int(* OSDynLoadAllocFn)(int size, int align, void **outAddr)
Definition: dynload.h:18
+
+ + + + diff --git a/dynsections.js b/dynsections.js new file mode 100644 index 0000000..1e6bf07 --- /dev/null +++ b/dynsections.js @@ -0,0 +1,104 @@ +function toggleVisibility(linkObj) +{ + var base = $(linkObj).attr('id'); + var summary = $('#'+base+'-summary'); + var content = $('#'+base+'-content'); + var trigger = $('#'+base+'-trigger'); + var src=$(trigger).attr('src'); + if (content.is(':visible')===true) { + content.hide(); + summary.show(); + $(linkObj).addClass('closed').removeClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); + } else { + content.show(); + summary.hide(); + $(linkObj).removeClass('closed').addClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); + } + return false; +} + +function updateStripes() +{ + $('table.directory tr'). + removeClass('even').filter(':visible:even').addClass('even'); +} + +function toggleLevel(level) +{ + $('table.directory tr').each(function() { + var l = this.id.split('_').length-1; + var i = $('#img'+this.id.substring(3)); + var a = $('#arr'+this.id.substring(3)); + if (l + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/event.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
event.h File Reference
+
+
+
#include <wut.h>
+#include "thread.h"
+#include "threadqueue.h"
+
+

Go to the source code of this file.

+ + + + +

+Data Structures

struct  OSEvent
 
+ + + +

+Macros

#define OS_EVENT_TAG   0x65566E54u
 
+ + + + + +

+Typedefs

typedef struct OSEvent OSEvent
 
typedef uint32_t OSEventMode
 
+ + + +

+Enumerations

enum  OSEventMode { OS_EVENT_MODE_MANUAL = 0, +OS_EVENT_MODE_AUTO = 1 + }
 
+ + + + + + + + + + + + + + + +

+Functions

void OSInitEvent (OSEvent *event, BOOL value, OSEventMode mode)
 
void OSInitEventEx (OSEvent *event, BOOL value, OSEventMode mode, char *name)
 
void OSSignalEvent (OSEvent *event)
 
void OSSignalEventAll (OSEvent *event)
 
void OSWaitEvent (OSEvent *event)
 
void OSResetEvent (OSEvent *event)
 
BOOL OSWaitEventWithTimeout (OSEvent *event, OSTime timeout)
 
+
+ + + + diff --git a/event_8h_source.html b/event_8h_source.html new file mode 100644 index 0000000..013de8b --- /dev/null +++ b/event_8h_source.html @@ -0,0 +1,193 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/event.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
event.h
+
+
+Go to the documentation of this file.
1 #pragma once
+
2 #include <wut.h>
+
3 #include "thread.h"
+
4 #include "threadqueue.h"
+
5 
+
12 #ifdef __cplusplus
+
13 extern "C" {
+
14 #endif
+
15 
+
16 typedef struct OSEvent OSEvent;
+
17 typedef uint32_t OSEventMode;
+
18 
+
19 enum OSEventMode
+
20 {
+ + +
23 };
+
24 
+
25 #define OS_EVENT_TAG 0x65566E54u
+
26 
+
27 struct OSEvent
+
28 {
+
29  uint32_t tag;
+
30  const char *name;
+
31  UNKNOWN(4);
+ + +
34  OSEventMode mode;
+
35 };
+
36 CHECK_OFFSET(OSEvent, 0x0, tag);
+
37 CHECK_OFFSET(OSEvent, 0x4, name);
+
38 CHECK_OFFSET(OSEvent, 0xc, value);
+
39 CHECK_OFFSET(OSEvent, 0x10, queue);
+
40 CHECK_OFFSET(OSEvent, 0x20, mode);
+
41 CHECK_SIZE(OSEvent, 0x24);
+
42 
+
43 #pragma pack(pop)
+
44 
+
45 void
+
46 OSInitEvent(OSEvent *event,
+
47  BOOL value,
+
48  OSEventMode mode);
+
49 
+
50 void
+
51 OSInitEventEx(OSEvent *event,
+
52  BOOL value,
+
53  OSEventMode mode,
+
54  char *name);
+
55 
+
56 void
+
57 OSSignalEvent(OSEvent *event);
+
58 
+
59 void
+ +
61 
+
62 void
+
63 OSWaitEvent(OSEvent *event);
+
64 
+
65 void
+
66 OSResetEvent(OSEvent *event);
+
67 
+
68 BOOL
+ +
70  OSTime timeout);
+
71 
+
72 #ifdef __cplusplus
+
73 }
+
74 #endif
+
75 
+
int64_t OSTime
Definition: time.h:17
+
void OSResetEvent(OSEvent *event)
+ +
void OSSignalEvent(OSEvent *event)
+ +
void OSInitEvent(OSEvent *event, BOOL value, OSEventMode mode)
+ +
const char * name
Definition: event.h:30
+
void OSSignalEventAll(OSEvent *event)
+
BOOL value
Definition: event.h:32
+
void OSWaitEvent(OSEvent *event)
+
BOOL OSWaitEventWithTimeout(OSEvent *event, OSTime timeout)
+
uint32_t tag
Definition: event.h:29
+ +
OSEventMode
Definition: event.h:19
+
void OSInitEventEx(OSEvent *event, BOOL value, OSEventMode mode, char *name)
+
int BOOL
Definition: wut_types.h:4
+ +
OSEventMode mode
Definition: event.h:34
+ +
Definition: event.h:27
+
OSThreadQueue queue
Definition: event.h:33
+
+ + + + diff --git a/exception_8h.html b/exception_8h.html new file mode 100644 index 0000000..b73035f --- /dev/null +++ b/exception_8h.html @@ -0,0 +1,149 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/exception.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
exception.h File Reference
+
+ + + + + diff --git a/exception_8h_source.html b/exception_8h_source.html new file mode 100644 index 0000000..a05e57a --- /dev/null +++ b/exception_8h_source.html @@ -0,0 +1,166 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/exception.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
exception.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 uint32_t OSExceptionType;
+
15 typedef BOOL (*OSExceptionCallbackFn)(OSContext *context);
+
16 
+
17 enum OSExceptionType
+
18 {
+ + + + + + + + + + + + + + + +
34 };
+
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 
+ + + + + + + + +
OSExceptionCallbackFn OSSetExceptionCallback(OSExceptionType exceptionType, OSExceptionCallbackFn callback)
+ +
OSExceptionType
Definition: exception.h:17
+ + + +
BOOL(* OSExceptionCallbackFn)(OSContext *context)
Definition: exception.h:15
+
int BOOL
Definition: wut_types.h:4
+ + + +
OSExceptionCallbackFn OSSetExceptionCallbackEx(UNKNOWN_ARG, OSExceptionType exceptionType, OSExceptionCallbackFn callback)
+ + +
+ + + + diff --git a/exit_8h.html b/exit_8h.html new file mode 100644 index 0000000..4dc1eb0 --- /dev/null +++ b/exit_8h.html @@ -0,0 +1,115 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/exit.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
exit.h File Reference
+
+
+
#include <wut.h>
+
+

Go to the source code of this file.

+ + + + + + +

+Functions

void exit (int code)
 
void _Exit ()
 
+
+ + + + diff --git a/exit_8h_source.html b/exit_8h_source.html new file mode 100644 index 0000000..368f9b5 --- /dev/null +++ b/exit_8h_source.html @@ -0,0 +1,122 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/exit.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
exit.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 void
+
15 exit(int code);
+
16 
+
17 void
+
18 _Exit();
+
19 
+
20 #ifdef __cplusplus
+
21 }
+
22 #endif
+
23 
+ +
void _Exit()
+
void exit(int code)
+
+ + + + diff --git a/expandedheap_8h.html b/expandedheap_8h.html new file mode 100644 index 0000000..3652f15 --- /dev/null +++ b/expandedheap_8h.html @@ -0,0 +1,177 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/expandedheap.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
expandedheap.h File Reference
+
+
+
#include <wut.h>
+
+

Go to the source code of this file.

+ + + + +

+Data Structures

struct  MEMExpandedHeap
 
+ + + + + + + +

+Typedefs

typedef struct MEMExpandedHeap MEMExpandedHeap
 
typedef uint32_t MEMExpHeapMode
 
typedef uint32_t MEMExpHeapDirection
 
+ + + + + +

+Enumerations

enum  MEMExpHeapMode { MEM_EXP_HEAP_MODE_FIRST_FREE = 0, +MEM_EXP_HEAP_MODE_NEAREST_SIZE = 1 + }
 
enum  MEMExpHeapDirection { MEM_EXP_HEAP_DIR_FROM_TOP = 0, +MEM_EXP_HEAP_DIR_FROM_BOTTOM = 1 + }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

MEMExpandedHeapMEMCreateExpHeap (MEMExpandedHeap *heap, uint32_t size)
 
MEMExpandedHeapMEMCreateExpHeapEx (MEMExpandedHeap *heap, uint32_t size, uint16_t flags)
 
MEMExpandedHeapMEMDestroyExpHeap (MEMExpandedHeap *heap)
 
void MEMiDumpExpHeap (MEMExpandedHeap *heap)
 
void * MEMAllocFromExpHeap (MEMExpandedHeap *heap, uint32_t size)
 
void * MEMAllocFromExpHeapEx (MEMExpandedHeap *heap, uint32_t size, int alignment)
 
void MEMFreeToExpHeap (MEMExpandedHeap *heap, uint8_t *block)
 
MEMExpHeapMode MEMSetAllocModeForExpHeap (MEMExpandedHeap *heap, MEMExpHeapMode mode)
 
MEMExpHeapMode MEMGetAllocModeForExpHeap (MEMExpandedHeap *heap)
 
uint32_t MEMAdjustExpHeap (MEMExpandedHeap *heap)
 
uint32_t MEMResizeForMBlockExpHeap (MEMExpandedHeap *heap, uint8_t *address, uint32_t size)
 
uint32_t MEMGetTotalFreeSizeForExpHeap (MEMExpandedHeap *heap)
 
uint32_t MEMGetAllocatableSizeForExpHeap (MEMExpandedHeap *heap)
 
uint32_t MEMGetAllocatableSizeForExpHeapEx (MEMExpandedHeap *heap, int alignment)
 
uint16_t MEMSetGroupIDForExpHeap (MEMExpandedHeap *heap, uint16_t id)
 
uint16_t MEMGetGroupIDForExpHeap (MEMExpandedHeap *heap)
 
uint32_t MEMGetSizeForMBlockExpHeap (uint8_t *addr)
 
uint16_t MEMGetGroupIDForMBlockExpHeap (uint8_t *addr)
 
MEMExpHeapDirection MEMGetAllocDirForMBlockExpHeap (uint8_t *addr)
 
+
+ + + + diff --git a/expandedheap_8h_source.html b/expandedheap_8h_source.html new file mode 100644 index 0000000..82ee6ab --- /dev/null +++ b/expandedheap_8h_source.html @@ -0,0 +1,219 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/expandedheap.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
expandedheap.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 
+ +
15 
+
16 typedef uint32_t MEMExpHeapMode;
+
17 typedef uint32_t MEMExpHeapDirection;
+
18 
+ +
20 {
+
21 };
+
22 UNKNOWN_SIZE(MEMExpandedHeap);
+
23 
+
24 enum MEMExpHeapMode
+
25 {
+ + +
28 };
+
29 
+
30 enum MEMExpHeapDirection
+
31 {
+ + +
34 };
+
35 
+ +
37 MEMCreateExpHeap(MEMExpandedHeap *heap, uint32_t size);
+
38 
+ +
40 MEMCreateExpHeapEx(MEMExpandedHeap *heap, uint32_t size, uint16_t flags);
+
41 
+ + +
44 
+
45 void
+ +
47 
+
48 void *
+
49 MEMAllocFromExpHeap(MEMExpandedHeap *heap, uint32_t size);
+
50 
+
51 void *
+
52 MEMAllocFromExpHeapEx(MEMExpandedHeap *heap, uint32_t size, int alignment);
+
53 
+
54 void
+
55 MEMFreeToExpHeap(MEMExpandedHeap *heap, uint8_t *block);
+
56 
+
57 MEMExpHeapMode
+
58 MEMSetAllocModeForExpHeap(MEMExpandedHeap *heap, MEMExpHeapMode mode);
+
59 
+
60 MEMExpHeapMode
+ +
62 
+
63 uint32_t
+ +
65 
+
66 uint32_t
+
67 MEMResizeForMBlockExpHeap(MEMExpandedHeap *heap, uint8_t *address, uint32_t size);
+
68 
+
69 uint32_t
+ +
71 
+
72 uint32_t
+ +
74 
+
75 uint32_t
+ +
77 
+
78 uint16_t
+
79 MEMSetGroupIDForExpHeap(MEMExpandedHeap *heap, uint16_t id);
+
80 
+
81 uint16_t
+ +
83 
+
84 uint32_t
+
85 MEMGetSizeForMBlockExpHeap(uint8_t *addr);
+
86 
+
87 uint16_t
+
88 MEMGetGroupIDForMBlockExpHeap(uint8_t *addr);
+
89 
+
90 MEMExpHeapDirection
+
91 MEMGetAllocDirForMBlockExpHeap(uint8_t *addr);
+
92 
+
93 #ifdef __cplusplus
+
94 }
+
95 #endif
+
96 
+
uint32_t MEMResizeForMBlockExpHeap(MEMExpandedHeap *heap, uint8_t *address, uint32_t size)
+
void MEMiDumpExpHeap(MEMExpandedHeap *heap)
+
MEMExpHeapDirection MEMGetAllocDirForMBlockExpHeap(uint8_t *addr)
+
uint32_t MEMGetAllocatableSizeForExpHeap(MEMExpandedHeap *heap)
+
MEMExpHeapDirection
Definition: expandedheap.h:30
+
uint32_t MEMGetTotalFreeSizeForExpHeap(MEMExpandedHeap *heap)
+ +
MEMExpHeapMode
Definition: expandedheap.h:24
+ +
uint32_t MEMGetAllocatableSizeForExpHeapEx(MEMExpandedHeap *heap, int alignment)
+
void * MEMAllocFromExpHeapEx(MEMExpandedHeap *heap, uint32_t size, int alignment)
+
uint16_t MEMGetGroupIDForMBlockExpHeap(uint8_t *addr)
+
void MEMFreeToExpHeap(MEMExpandedHeap *heap, uint8_t *block)
+
MEMExpandedHeap * MEMDestroyExpHeap(MEMExpandedHeap *heap)
+ +
MEMExpHeapMode MEMGetAllocModeForExpHeap(MEMExpandedHeap *heap)
+
MEMExpandedHeap * MEMCreateExpHeapEx(MEMExpandedHeap *heap, uint32_t size, uint16_t flags)
+ + +
uint32_t MEMGetSizeForMBlockExpHeap(uint8_t *addr)
+ +
uint32_t MEMAdjustExpHeap(MEMExpandedHeap *heap)
+
uint16_t MEMSetGroupIDForExpHeap(MEMExpandedHeap *heap, uint16_t id)
+
MEMExpHeapMode MEMSetAllocModeForExpHeap(MEMExpandedHeap *heap, MEMExpHeapMode mode)
+
MEMExpandedHeap * MEMCreateExpHeap(MEMExpandedHeap *heap, uint32_t size)
+
void * MEMAllocFromExpHeap(MEMExpandedHeap *heap, uint32_t size)
+
uint16_t MEMGetGroupIDForExpHeap(MEMExpandedHeap *heap)
+
+ + + + diff --git a/fastcondition_8h.html b/fastcondition_8h.html new file mode 100644 index 0000000..9973bee --- /dev/null +++ b/fastcondition_8h.html @@ -0,0 +1,138 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/fastcondition.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
fastcondition.h File Reference
+
+
+
#include <wut.h>
+#include "threadqueue.h"
+
+

Go to the source code of this file.

+ + + + +

+Data Structures

struct  OSFastCondition
 
+ + + +

+Macros

#define OS_FAST_CONDITION_TAG   0x664E6456u
 
+ + + + + +

+Typedefs

typedef struct OSFastCondition OSFastCondition
 
typedef struct OSFastMutex OSFastMutex
 
+ + + + + + + +

+Functions

void OSFastCond_Init (OSFastCondition *condition, const char *name)
 
void OSFastCond_Wait (OSFastCondition *condition, OSFastMutex *mutex)
 
void OSFastCond_Signal (OSFastCondition *condition)
 
+
+ + + + diff --git a/fastcondition_8h_source.html b/fastcondition_8h_source.html new file mode 100644 index 0000000..0a5b368 --- /dev/null +++ b/fastcondition_8h_source.html @@ -0,0 +1,153 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/fastcondition.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
fastcondition.h
+
+
+Go to the documentation of this file.
1 #pragma once
+
2 #include <wut.h>
+
3 #include "threadqueue.h"
+
4 
+
14 #ifdef __cplusplus
+
15 extern "C" {
+
16 #endif
+
17 
+ +
19 typedef struct OSFastMutex OSFastMutex;
+
20 
+
21 #define OS_FAST_CONDITION_TAG 0x664E6456u
+
22 
+ +
24 {
+
25  uint32_t tag;
+
26  const char *name;
+
27  UNKNOWN(4);
+ +
29 };
+
30 CHECK_OFFSET(OSFastCondition, 0x00, tag);
+
31 CHECK_OFFSET(OSFastCondition, 0x04, name);
+
32 CHECK_OFFSET(OSFastCondition, 0x0c, queue);
+
33 CHECK_SIZE(OSFastCondition, 0x1c);
+
34 
+
35 void
+ +
37  const char *name);
+
38 
+
39 void
+ +
41  OSFastMutex *mutex);
+
42 
+
43 void
+ +
45 
+
46 #ifdef __cplusplus
+
47 }
+
48 #endif
+
49 
+ + + +
void OSFastCond_Wait(OSFastCondition *condition, OSFastMutex *mutex)
+ +
OSThreadQueue queue
Definition: fastcondition.h:28
+
void OSFastCond_Init(OSFastCondition *condition, const char *name)
+ +
void OSFastCond_Signal(OSFastCondition *condition)
+ +
const char * name
Definition: fastcondition.h:26
+
+ + + + diff --git a/fastmutex_8h.html b/fastmutex_8h.html new file mode 100644 index 0000000..6315190 --- /dev/null +++ b/fastmutex_8h.html @@ -0,0 +1,144 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/fastmutex.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
fastmutex.h File Reference
+
+
+
#include <wut.h>
+#include "threadqueue.h"
+
+

Go to the source code of this file.

+ + + + + + +

+Data Structures

struct  OSFastMutexLink
 
struct  OSFastMutex
 
+ + + +

+Macros

#define OS_FAST_MUTEX_TAG   0x664D7458u
 
+ + + + + + + +

+Typedefs

typedef struct OSFastMutex OSFastMutex
 
typedef struct OSFastMutexLink OSFastMutexLink
 
typedef struct OSFastCondition OSFastCondition
 
+ + + + + + + + + +

+Functions

void OSFastMutex_Init (OSFastMutex *mutex, const char *name)
 
void OSFastMutex_Lock (OSFastMutex *mutex)
 
void OSFastMutex_Unlock (OSFastMutex *mutex)
 
BOOL OSFastMutex_TryLock (OSFastMutex *mutex)
 
+
+ + + + diff --git a/fastmutex_8h_source.html b/fastmutex_8h_source.html new file mode 100644 index 0000000..cd19343 --- /dev/null +++ b/fastmutex_8h_source.html @@ -0,0 +1,173 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/fastmutex.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
fastmutex.h
+
+
+Go to the documentation of this file.
1 #pragma once
+
2 #include <wut.h>
+
3 #include "threadqueue.h"
+
4 
+
11 #ifdef __cplusplus
+
12 extern "C" {
+
13 #endif
+
14 
+
15 typedef struct OSFastMutex OSFastMutex;
+ + +
18 
+ +
20 {
+ + +
23 };
+
24 CHECK_OFFSET(OSFastMutexLink, 0x00, next);
+
25 CHECK_OFFSET(OSFastMutexLink, 0x04, prev);
+
26 CHECK_SIZE(OSFastMutexLink, 0x08);
+
27 
+
28 #define OS_FAST_MUTEX_TAG 0x664D7458u
+
29 
+ +
31 {
+
32  uint32_t tag;
+
33  const char *name;
+
34  UNKNOWN(4);
+ + +
37  UNKNOWN(16);
+
38 };
+
39 CHECK_OFFSET(OSFastMutex, 0x00, tag);
+
40 CHECK_OFFSET(OSFastMutex, 0x04, name);
+
41 CHECK_OFFSET(OSFastMutex, 0x0c, queue);
+
42 CHECK_OFFSET(OSFastMutex, 0x14, link);
+
43 CHECK_SIZE(OSFastMutex, 0x2c);
+
44 
+
45 void
+
46 OSFastMutex_Init(OSFastMutex *mutex, const char *name);
+
47 
+
48 void
+ +
50 
+
51 void
+ +
53 
+
54 BOOL
+ +
56 
+
57 #ifdef __cplusplus
+
58 }
+
59 #endif
+
60 
+
void OSFastMutex_Init(OSFastMutex *mutex, const char *name)
+ + +
uint32_t tag
Definition: fastmutex.h:32
+
BOOL OSFastMutex_TryLock(OSFastMutex *mutex)
+ + +
void OSFastMutex_Unlock(OSFastMutex *mutex)
+ + +
const char * name
Definition: fastmutex.h:33
+ +
OSThreadSimpleQueue queue
Definition: fastmutex.h:35
+
int BOOL
Definition: wut_types.h:4
+
void OSFastMutex_Lock(OSFastMutex *mutex)
+
OSFastMutexLink link
Definition: fastmutex.h:36
+ +
+ + + + diff --git a/files.html b/files.html new file mode 100644 index 0000000..e62b118 --- /dev/null +++ b/files.html @@ -0,0 +1,134 @@ + + + + + + +WUT: File List + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + +
+ +
+
+ + +
+ +
+ +
+
+
File List
+
+
+
Here is a list of all files with brief descriptions:
+
+ + + + diff --git a/folderclosed.png b/folderclosed.png new file mode 100644 index 0000000000000000000000000000000000000000..bb8ab35edce8e97554e360005ee9fc5bffb36e66 GIT binary patch literal 616 zcmV-u0+;=XP)a9#ETzayK)T~Jw&MMH>OIr#&;dC}is*2Mqdf&akCc=O@`qC+4i z5Iu3w#1M@KqXCz8TIZd1wli&kkl2HVcAiZ8PUn5z_kG@-y;?yK06=cA0U%H0PH+kU zl6dp}OR(|r8-RG+YLu`zbI}5TlOU6ToR41{9=uz^?dGTNL;wIMf|V3`d1Wj3y!#6` zBLZ?xpKR~^2x}?~zA(_NUu3IaDB$tKma*XUdOZN~c=dLt_h_k!dbxm_*ibDM zlFX`g{k$X}yIe%$N)cn1LNu=q9_CS)*>A zsX_mM4L@`(cSNQKMFc$RtYbx{79#j-J7hk*>*+ZZhM4Hw?I?rsXCi#mRWJ=-0LGV5a-WR0Qgt<|Nqf)C-@80`5gIz45^_20000IqP)X=#(TiCT&PiIIVc55T}TU}EUh*{q$|`3@{d>{Tc9Bo>e= zfmF3!f>fbI9#GoEHh0f`i5)wkLpva0ztf%HpZneK?w-7AK@b4Itw{y|Zd3k!fH?q2 zlhckHd_V2M_X7+)U&_Xcfvtw60l;--DgZmLSw-Y?S>)zIqMyJ1#FwLU*%bl38ok+! zh78H87n`ZTS;uhzAR$M`zZ`bVhq=+%u9^$5jDplgxd44}9;IRqUH1YHH|@6oFe%z( zo4)_>E$F&^P-f(#)>(TrnbE>Pefs9~@iN=|)Rz|V`sGfHNrJ)0gJb8xx+SBmRf@1l zvuzt=vGfI)<-F9!o&3l?>9~0QbUDT(wFdnQPv%xdD)m*g%!20>Bc9iYmGAp<9YAa( z0QgYgTWqf1qN++Gqp z8@AYPTB3E|6s=WLG?xw0tm|U!o=&zd+H0oRYE;Dbx+Na9s^STqX|Gnq%H8s(nGDGJ j8vwW|`Ts`)fSK|Kx=IK@RG@g200000NkvXXu0mjfauFEA literal 0 HcmV?d00001 diff --git a/frameheap_8h.html b/frameheap_8h.html new file mode 100644 index 0000000..98029f5 --- /dev/null +++ b/frameheap_8h.html @@ -0,0 +1,149 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/frameheap.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
frameheap.h File Reference
+
+
+
#include <wut.h>
+
+

Go to the source code of this file.

+ + + + +

+Typedefs

typedef uint32_t MEMFrameHeapFreeMode
 
+ + + +

+Enumerations

enum  MEMFrameHeapFreeMode { MEM_FRAME_HEAP_FREE_FROM_BOTTOM = 1 << 0, +MEM_FRAME_HEAP_FREE_FROM_TOP = 1 << 1 + }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

MEMFrameHeap * MEMCreateFrmHeap (MEMFrameHeap *heap, uint32_t size)
 
MEMFrameHeap * MEMCreateFrmHeapEx (MEMFrameHeap *heap, uint32_t size, uint16_t flags)
 
void * MEMDestroyFrmHeap (MEMFrameHeap *heap)
 
void * MEMAllocFromFrmHeap (MEMFrameHeap *heap, uint32_t size)
 
void * MEMAllocFromFrmHeapEx (MEMFrameHeap *heap, uint32_t size, int alignment)
 
void MEMFreeToFrmHeap (MEMFrameHeap *heap, MEMFrameHeapFreeMode mode)
 
BOOL MEMRecordStateForFrmHeap (MEMFrameHeap *heap, uint32_t tag)
 
BOOL MEMFreeByStateToFrmHeap (MEMFrameHeap *heap, uint32_t tag)
 
uint32_t MEMAdjustFrmHeap (MEMFrameHeap *heap)
 
uint32_t MEMResizeForMBlockFrmHeap (MEMFrameHeap *heap, uint32_t addr, uint32_t size)
 
uint32_t MEMGetAllocatableSizeForFrmHeap (MEMFrameHeap *heap)
 
uint32_t MEMGetAllocatableSizeForFrmHeapEx (MEMFrameHeap *heap, int alignment)
 
+
+ + + + diff --git a/frameheap_8h_source.html b/frameheap_8h_source.html new file mode 100644 index 0000000..4008288 --- /dev/null +++ b/frameheap_8h_source.html @@ -0,0 +1,186 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/frameheap.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
frameheap.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 uint32_t MEMFrameHeapFreeMode;
+
15 
+
16 enum MEMFrameHeapFreeMode
+
17 {
+ + +
20 };
+
21 
+
22 MEMFrameHeap *
+
23 MEMCreateFrmHeap(MEMFrameHeap *heap,
+
24  uint32_t size);
+
25 
+
26 MEMFrameHeap *
+
27 MEMCreateFrmHeapEx(MEMFrameHeap *heap,
+
28  uint32_t size,
+
29  uint16_t flags);
+
30 
+
31 void *
+
32 MEMDestroyFrmHeap(MEMFrameHeap *heap);
+
33 
+
34 void *
+
35 MEMAllocFromFrmHeap(MEMFrameHeap *heap,
+
36  uint32_t size);
+
37 
+
38 void *
+
39 MEMAllocFromFrmHeapEx(MEMFrameHeap *heap,
+
40  uint32_t size,
+
41  int alignment);
+
42 
+
43 void
+
44 MEMFreeToFrmHeap(MEMFrameHeap *heap,
+
45  MEMFrameHeapFreeMode mode);
+
46 
+
47 BOOL
+
48 MEMRecordStateForFrmHeap(MEMFrameHeap *heap,
+
49  uint32_t tag);
+
50 
+
51 BOOL
+
52 MEMFreeByStateToFrmHeap(MEMFrameHeap *heap,
+
53  uint32_t tag);
+
54 
+
55 uint32_t
+
56 MEMAdjustFrmHeap(MEMFrameHeap *heap);
+
57 
+
58 uint32_t
+
59 MEMResizeForMBlockFrmHeap(MEMFrameHeap *heap,
+
60  uint32_t addr,
+
61  uint32_t size);
+
62 
+
63 uint32_t
+
64 MEMGetAllocatableSizeForFrmHeap(MEMFrameHeap *heap);
+
65 
+
66 uint32_t
+
67 MEMGetAllocatableSizeForFrmHeapEx(MEMFrameHeap *heap,
+
68  int alignment);
+
69 
+
70 #ifdef __cplusplus
+
71 }
+
72 #endif
+
73 
+ +
uint32_t MEMGetAllocatableSizeForFrmHeapEx(MEMFrameHeap *heap, int alignment)
+
BOOL MEMFreeByStateToFrmHeap(MEMFrameHeap *heap, uint32_t tag)
+
uint32_t MEMResizeForMBlockFrmHeap(MEMFrameHeap *heap, uint32_t addr, uint32_t size)
+
MEMFrameHeap * MEMCreateFrmHeap(MEMFrameHeap *heap, uint32_t size)
+ +
void * MEMAllocFromFrmHeap(MEMFrameHeap *heap, uint32_t size)
+
void * MEMAllocFromFrmHeapEx(MEMFrameHeap *heap, uint32_t size, int alignment)
+
BOOL MEMRecordStateForFrmHeap(MEMFrameHeap *heap, uint32_t tag)
+
MEMFrameHeapFreeMode
Definition: frameheap.h:16
+
int BOOL
Definition: wut_types.h:4
+
uint32_t MEMGetAllocatableSizeForFrmHeap(MEMFrameHeap *heap)
+
MEMFrameHeap * MEMCreateFrmHeapEx(MEMFrameHeap *heap, uint32_t size, uint16_t flags)
+ +
uint32_t MEMAdjustFrmHeap(MEMFrameHeap *heap)
+
void * MEMDestroyFrmHeap(MEMFrameHeap *heap)
+
void MEMFreeToFrmHeap(MEMFrameHeap *heap, MEMFrameHeapFreeMode mode)
+
+ + + + diff --git a/functions.html b/functions.html new file mode 100644 index 0000000..55d7b0e --- /dev/null +++ b/functions.html @@ -0,0 +1,578 @@ + + + + + + +WUT: Data Fields + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all struct and union fields with links to the structures/unions they belong to:
+ +

- a -

+ + +

- b -

+ + +

- c -

+ + +

- d -

+ + +

- e -

+ + +

- f -

+ + +

- g -

+ + +

- h -

+ + +

- i -

+ + +

- j -

+ + +

- l -

+ + +

- m -

+ + +

- n -

+ + +

- o -

+ + +

- p -

+ + +

- q -

+ + +

- r -

+ + +

- s -

+ + +

- t -

+ + +

- u -

+ + +

- v -

+ + +

- x -

+
+ + + + diff --git a/functions_vars.html b/functions_vars.html new file mode 100644 index 0000000..da867a3 --- /dev/null +++ b/functions_vars.html @@ -0,0 +1,578 @@ + + + + + + +WUT: Data Fields - Variables + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- a -

+ + +

- b -

+ + +

- c -

+ + +

- d -

+ + +

- e -

+ + +

- f -

+ + +

- g -

+ + +

- h -

+ + +

- i -

+ + +

- j -

+ + +

- l -

+ + +

- m -

+ + +

- n -

+ + +

- o -

+ + +

- p -

+ + +

- q -

+ + +

- r -

+ + +

- s -

+ + +

- t -

+ + +

- u -

+ + +

- v -

+ + +

- x -

+
+ + + + diff --git a/globals.html b/globals.html new file mode 100644 index 0000000..fa2027b --- /dev/null +++ b/globals.html @@ -0,0 +1,124 @@ + + + + + + +WUT: Globals + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- _ -

+
+ + + + diff --git a/globals_b.html b/globals_b.html new file mode 100644 index 0000000..ffb244c --- /dev/null +++ b/globals_b.html @@ -0,0 +1,124 @@ + + + + + + +WUT: Globals + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- b -

+
+ + + + diff --git a/globals_d.html b/globals_d.html new file mode 100644 index 0000000..412789c --- /dev/null +++ b/globals_d.html @@ -0,0 +1,142 @@ + + + + + + +WUT: Globals + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- d -

+
+ + + + diff --git a/globals_defs.html b/globals_defs.html new file mode 100644 index 0000000..7ee8ddc --- /dev/null +++ b/globals_defs.html @@ -0,0 +1,145 @@ + + + + + + +WUT: Globals + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+ +
+
+ + +
+ +
+ +
+
+ + + + diff --git a/globals_e.html b/globals_e.html new file mode 100644 index 0000000..0a65af3 --- /dev/null +++ b/globals_e.html @@ -0,0 +1,124 @@ + + + + + + +WUT: Globals + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- e -

+
+ + + + diff --git a/globals_enum.html b/globals_enum.html new file mode 100644 index 0000000..872e657 --- /dev/null +++ b/globals_enum.html @@ -0,0 +1,142 @@ + + + + + + +WUT: Globals + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+ +
+
+ + +
+ +
+ +
+
+ + + + diff --git a/globals_eval.html b/globals_eval.html new file mode 100644 index 0000000..9fbf621 --- /dev/null +++ b/globals_eval.html @@ -0,0 +1,273 @@ + + + + + + +WUT: Globals + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- g -

+ + +

- m -

+ + +

- o -

+
+ + + + diff --git a/globals_f.html b/globals_f.html new file mode 100644 index 0000000..31ea271 --- /dev/null +++ b/globals_f.html @@ -0,0 +1,124 @@ + + + + + + +WUT: Globals + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- f -

+
+ + + + diff --git a/globals_func.html b/globals_func.html new file mode 100644 index 0000000..242ed5a --- /dev/null +++ b/globals_func.html @@ -0,0 +1,121 @@ + + + + + + +WUT: Globals + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- _ -

+
+ + + + diff --git a/globals_func_d.html b/globals_func_d.html new file mode 100644 index 0000000..bd10921 --- /dev/null +++ b/globals_func_d.html @@ -0,0 +1,139 @@ + + + + + + +WUT: Globals + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- d -

+
+ + + + diff --git a/globals_func_e.html b/globals_func_e.html new file mode 100644 index 0000000..c4a8bf1 --- /dev/null +++ b/globals_func_e.html @@ -0,0 +1,121 @@ + + + + + + +WUT: Globals + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- e -

+
+ + + + diff --git a/globals_func_g.html b/globals_func_g.html new file mode 100644 index 0000000..e06e0fd --- /dev/null +++ b/globals_func_g.html @@ -0,0 +1,124 @@ + + + + + + +WUT: Globals + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- g -

+
+ + + + diff --git a/globals_func_m.html b/globals_func_m.html new file mode 100644 index 0000000..8641486 --- /dev/null +++ b/globals_func_m.html @@ -0,0 +1,322 @@ + + + + + + +WUT: Globals + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- m -

+
+ + + + diff --git a/globals_func_o.html b/globals_func_o.html new file mode 100644 index 0000000..30463ca --- /dev/null +++ b/globals_func_o.html @@ -0,0 +1,511 @@ + + + + + + +WUT: Globals + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- o -

+
+ + + + diff --git a/globals_g.html b/globals_g.html new file mode 100644 index 0000000..514f015 --- /dev/null +++ b/globals_g.html @@ -0,0 +1,145 @@ + + + + + + +WUT: Globals + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- g -

+
+ + + + diff --git a/globals_m.html b/globals_m.html new file mode 100644 index 0000000..657f1f4 --- /dev/null +++ b/globals_m.html @@ -0,0 +1,403 @@ + + + + + + +WUT: Globals + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- m -

+
+ + + + diff --git a/globals_o.html b/globals_o.html new file mode 100644 index 0000000..0f8da32 --- /dev/null +++ b/globals_o.html @@ -0,0 +1,761 @@ + + + + + + +WUT: Globals + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- o -

+
+ + + + diff --git a/globals_t.html b/globals_t.html new file mode 100644 index 0000000..671a76c --- /dev/null +++ b/globals_t.html @@ -0,0 +1,124 @@ + + + + + + +WUT: Globals + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
+ +

- t -

+
+ + + + diff --git a/globals_type.html b/globals_type.html new file mode 100644 index 0000000..42c76e0 --- /dev/null +++ b/globals_type.html @@ -0,0 +1,291 @@ + + + + + + +WUT: Globals + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- b -

+ + +

- g -

+ + +

- m -

+ + +

- o -

+
+ + + + diff --git a/group__alarms.html b/group__alarms.html new file mode 100644 index 0000000..5a78c02 --- /dev/null +++ b/group__alarms.html @@ -0,0 +1,547 @@ + + + + + + +WUT: Alarms + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ + +
+ + + + + + + + +

+Data Structures

struct  OSAlarmQueue
 
struct  OSAlarmLink
 
struct  OSAlarm
 
+ + + + + +

+Macros

#define OS_ALARM_QUEUE_TAG   0x614C6D51u
 
#define OS_ALARM_TAG   0x614C724Du
 
+ + + + + + + + + +

+Typedefs

typedef struct OSAlarm OSAlarm
 
typedef struct OSAlarmLink OSAlarmLink
 
typedef struct OSAlarmQueue OSAlarmQueue
 
typedef void(* OSAlarmCallback) (OSAlarm *, OSContext *)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

BOOL OSCancelAlarm (OSAlarm *alarm)
 
void OSCancelAlarms (uint32_t group)
 
void OSCreateAlarm (OSAlarm *alarm)
 
void OSCreateAlarmEx (OSAlarm *alarm, const char *name)
 
void * OSGetAlarmUserData (OSAlarm *alarm)
 
void OSInitAlarmQueue (OSAlarmQueue *queue)
 
void OSInitAlarmQueueEx (OSAlarmQueue *queue, const char *name)
 
BOOL OSSetAlarm (OSAlarm *alarm, OSTime time, OSAlarmCallback callback)
 
BOOL OSSetPeriodicAlarm (OSAlarm *alarm, OSTime start, OSTime interval, OSAlarmCallback callback)
 
void OSSetAlarmTag (OSAlarm *alarm, uint32_t group)
 
void OSSetAlarmUserData (OSAlarm *alarm, void *data)
 
BOOL OSWaitAlarm (OSAlarm *alarm)
 
+

Detailed Description

+

The alarm family of functions are used for creating alarms which call a callback or wake up waiting threads after a period of time.

+

Alarms can be one shot alarms which trigger once after a period of time, or periodic which trigger at regular intervals until they are cancelled.

+

Macro Definition Documentation

+ +
+
+ + + + +
#define OS_ALARM_QUEUE_TAG   0x614C6D51u
+
+ +

Definition at line 30 of file alarm.h.

+ +
+
+ +
+
+ + + + +
#define OS_ALARM_TAG   0x614C724Du
+
+ +

Definition at line 61 of file alarm.h.

+ +
+
+

Typedef Documentation

+ +
+
+ + + + +
typedef struct OSAlarm OSAlarm
+
+ +

Definition at line 24 of file alarm.h.

+ +
+
+ +
+
+ + + + +
typedef void(* OSAlarmCallback) (OSAlarm *, OSContext *)
+
+ +

Definition at line 28 of file alarm.h.

+ +
+
+ +
+
+ + + + +
typedef struct OSAlarmLink OSAlarmLink
+
+ +

Definition at line 25 of file alarm.h.

+ +
+
+ +
+
+ + + + +
typedef struct OSAlarmQueue OSAlarmQueue
+
+ +

Definition at line 26 of file alarm.h.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + +
BOOL OSCancelAlarm (OSAlarmalarm)
+
+

Cancel an alarm.

+ +
+
+ +
+
+ + + + + + + + +
void OSCancelAlarms (uint32_t group)
+
+

Cancel all alarms which have a matching tag set by OSSetAlarmTag.

+
Parameters
+ + +
groupThe alarm tag to cancel.
+
+
+ +
+
+ +
+
+ + + + + + + + +
void OSCreateAlarm (OSAlarmalarm)
+
+

Initialise an alarm structure.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void OSCreateAlarmEx (OSAlarmalarm,
const char * name 
)
+
+

Initialise an alarm structure with a name.

+ +
+
+ +
+
+ + + + + + + + +
void* OSGetAlarmUserData (OSAlarmalarm)
+
+

Return user data set by OSSetAlarmUserData.

+ +
+
+ +
+
+ + + + + + + + +
void OSInitAlarmQueue (OSAlarmQueuequeue)
+
+

Initialise an alarm queue structure.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void OSInitAlarmQueueEx (OSAlarmQueuequeue,
const char * name 
)
+
+

Initialise an alarm queue structure with a name.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
BOOL OSSetAlarm (OSAlarmalarm,
OSTime time,
OSAlarmCallback callback 
)
+
+

Set a one shot alarm to perform a callback after a set amount of time.

+
Parameters
+ + + + +
alarmThe alarm to set.
timeThe duration until the alarm should be triggered.
callbackThe alarm callback to call when the alarm is triggered.
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void OSSetAlarmTag (OSAlarmalarm,
uint32_t group 
)
+
+

Set an alarm tag which is used in OSCancelAlarms for bulk cancellation.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void OSSetAlarmUserData (OSAlarmalarm,
void * data 
)
+
+

Set alarm user data which is returned by OSGetAlarmUserData.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
BOOL OSSetPeriodicAlarm (OSAlarmalarm,
OSTime start,
OSTime interval,
OSAlarmCallback callback 
)
+
+

Set a repeated alarm to execute a callback every interval from start.

+
Parameters
+ + + + + +
alarmThe alarm to set.
startThe duration until the alarm should first be triggered.
intervalThe interval between triggers after the first trigger.
callbackThe alarm callback to call when the alarm is triggered.
+
+
+ +
+
+ +
+
+ + + + + + + + +
BOOL OSWaitAlarm (OSAlarmalarm)
+
+

Sleep the current thread until the alarm has been triggered or cancelled.

+ +
+
+
+ + + + diff --git a/group__atomic64.html b/group__atomic64.html new file mode 100644 index 0000000..45417a0 --- /dev/null +++ b/group__atomic64.html @@ -0,0 +1,416 @@ + + + + + + +WUT: Atomic 64 bit + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Atomic 64 bit
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

uint64_t OSGetAtomic64 (uint64_t *ptr)
 
uint64_t OSSetAtomic64 (uint64_t *ptr, uint64_t value)
 
BOOL OSCompareAndSwapAtomic64 (uint64_t *ptr, uint64_t compare, uint64_t value)
 
BOOL OSCompareAndSwapAtomicEx64 (uint64_t *ptr, uint64_t compare, uint64_t value, uint64_t *old)
 
uint64_t OSSwapAtomic64 (uint64_t *ptr, uint64_t value)
 
int64_t OSAddAtomic64 (int64_t *ptr, int64_t value)
 
uint64_t OSAndAtomic64 (uint64_t *ptr, uint64_t value)
 
uint64_t OSOrAtomic64 (uint64_t *ptr, uint64_t value)
 
uint64_t OSXorAtomic64 (uint64_t *ptr, uint64_t value)
 
BOOL OSTestAndClearAtomic64 (uint64_t *ptr, uint32_t bit)
 
BOOL OSTestAndSetAtomic64 (uint64_t *ptr, uint32_t bit)
 
+

Detailed Description

+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
int64_t OSAddAtomic64 (int64_t * ptr,
int64_t value 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
uint64_t OSAndAtomic64 (uint64_t * ptr,
uint64_t value 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
BOOL OSCompareAndSwapAtomic64 (uint64_t * ptr,
uint64_t compare,
uint64_t value 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
BOOL OSCompareAndSwapAtomicEx64 (uint64_t * ptr,
uint64_t compare,
uint64_t value,
uint64_t * old 
)
+
+ +
+
+ +
+
+ + + + + + + + +
uint64_t OSGetAtomic64 (uint64_t * ptr)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
uint64_t OSOrAtomic64 (uint64_t * ptr,
uint64_t value 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
uint64_t OSSetAtomic64 (uint64_t * ptr,
uint64_t value 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
uint64_t OSSwapAtomic64 (uint64_t * ptr,
uint64_t value 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOL OSTestAndClearAtomic64 (uint64_t * ptr,
uint32_t bit 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOL OSTestAndSetAtomic64 (uint64_t * ptr,
uint32_t bit 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
uint64_t OSXorAtomic64 (uint64_t * ptr,
uint64_t value 
)
+
+ +
+
+
+ + + + diff --git a/group__coreinit.html b/group__coreinit.html new file mode 100644 index 0000000..d411dc7 --- /dev/null +++ b/group__coreinit.html @@ -0,0 +1,152 @@ + + + + + + +WUT: coreinit + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
coreinit
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Modules

 Alarms
 
 Atomic 64 bit
 
 Base Heap
 
 Cache
 
 Condition Variable
 
 Core Identification
 
 Debug
 
 Dynamic Loading
 
 Event Object
 
 Exception Handling
 
 Exit
 
 Expanded Heap
 
 Fast Condition Variable
 
 Fast Mutex
 
 Frame Heap
 
 Memory List
 
 Message Queue
 
 Mutex
 
 Rendezvous
 
 Semaphore
 
 Spinlock
 
 Task Queue
 
 Thread
 
 Thread Queue
 
 Time
 
 Unit Heap
 
+

Detailed Description

+

This module contains the core operating system functions such as threading and synchronisation, memory management, exception handling, etc.

+
+ + + + diff --git a/group__coreinit__alarms.html b/group__coreinit__alarms.html new file mode 100644 index 0000000..f73ccb3 --- /dev/null +++ b/group__coreinit__alarms.html @@ -0,0 +1,547 @@ + + + + + + +WUT: Alarms + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ + +
+ + + + + + + + +

+Data Structures

struct  OSAlarmQueue
 
struct  OSAlarmLink
 
struct  OSAlarm
 
+ + + + + +

+Macros

#define OS_ALARM_QUEUE_TAG   0x614C6D51u
 
#define OS_ALARM_TAG   0x614C724Du
 
+ + + + + + + + + +

+Typedefs

typedef struct OSAlarm OSAlarm
 
typedef struct OSAlarmLink OSAlarmLink
 
typedef struct OSAlarmQueue OSAlarmQueue
 
typedef void(* OSAlarmCallback) (OSAlarm *, OSContext *)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

BOOL OSCancelAlarm (OSAlarm *alarm)
 
void OSCancelAlarms (uint32_t group)
 
void OSCreateAlarm (OSAlarm *alarm)
 
void OSCreateAlarmEx (OSAlarm *alarm, const char *name)
 
void * OSGetAlarmUserData (OSAlarm *alarm)
 
void OSInitAlarmQueue (OSAlarmQueue *queue)
 
void OSInitAlarmQueueEx (OSAlarmQueue *queue, const char *name)
 
BOOL OSSetAlarm (OSAlarm *alarm, OSTime time, OSAlarmCallback callback)
 
BOOL OSSetPeriodicAlarm (OSAlarm *alarm, OSTime start, OSTime interval, OSAlarmCallback callback)
 
void OSSetAlarmTag (OSAlarm *alarm, uint32_t group)
 
void OSSetAlarmUserData (OSAlarm *alarm, void *data)
 
BOOL OSWaitAlarm (OSAlarm *alarm)
 
+

Detailed Description

+

The alarm family of functions are used for creating alarms which call a callback or wake up waiting threads after a period of time.

+

Alarms can be one shot alarms which trigger once after a period of time, or periodic which trigger at regular intervals until they are cancelled.

+

Macro Definition Documentation

+ +
+
+ + + + +
#define OS_ALARM_QUEUE_TAG   0x614C6D51u
+
+ +

Definition at line 30 of file alarm.h.

+ +
+
+ +
+
+ + + + +
#define OS_ALARM_TAG   0x614C724Du
+
+ +

Definition at line 61 of file alarm.h.

+ +
+
+

Typedef Documentation

+ +
+
+ + + + +
typedef struct OSAlarm OSAlarm
+
+ +

Definition at line 24 of file alarm.h.

+ +
+
+ +
+
+ + + + +
typedef void(* OSAlarmCallback) (OSAlarm *, OSContext *)
+
+ +

Definition at line 28 of file alarm.h.

+ +
+
+ +
+
+ + + + +
typedef struct OSAlarmLink OSAlarmLink
+
+ +

Definition at line 25 of file alarm.h.

+ +
+
+ +
+
+ + + + +
typedef struct OSAlarmQueue OSAlarmQueue
+
+ +

Definition at line 26 of file alarm.h.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + +
BOOL OSCancelAlarm (OSAlarmalarm)
+
+

Cancel an alarm.

+ +
+
+ +
+
+ + + + + + + + +
void OSCancelAlarms (uint32_t group)
+
+

Cancel all alarms which have a matching tag set by OSSetAlarmTag.

+
Parameters
+ + +
groupThe alarm tag to cancel.
+
+
+ +
+
+ +
+
+ + + + + + + + +
void OSCreateAlarm (OSAlarmalarm)
+
+

Initialise an alarm structure.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void OSCreateAlarmEx (OSAlarmalarm,
const char * name 
)
+
+

Initialise an alarm structure with a name.

+ +
+
+ +
+
+ + + + + + + + +
void* OSGetAlarmUserData (OSAlarmalarm)
+
+

Return user data set by OSSetAlarmUserData.

+ +
+
+ +
+
+ + + + + + + + +
void OSInitAlarmQueue (OSAlarmQueuequeue)
+
+

Initialise an alarm queue structure.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void OSInitAlarmQueueEx (OSAlarmQueuequeue,
const char * name 
)
+
+

Initialise an alarm queue structure with a name.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
BOOL OSSetAlarm (OSAlarmalarm,
OSTime time,
OSAlarmCallback callback 
)
+
+

Set a one shot alarm to perform a callback after a set amount of time.

+
Parameters
+ + + + +
alarmThe alarm to set.
timeThe duration until the alarm should be triggered.
callbackThe alarm callback to call when the alarm is triggered.
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void OSSetAlarmTag (OSAlarmalarm,
uint32_t group 
)
+
+

Set an alarm tag which is used in OSCancelAlarms for bulk cancellation.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void OSSetAlarmUserData (OSAlarmalarm,
void * data 
)
+
+

Set alarm user data which is returned by OSGetAlarmUserData.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
BOOL OSSetPeriodicAlarm (OSAlarmalarm,
OSTime start,
OSTime interval,
OSAlarmCallback callback 
)
+
+

Set a repeated alarm to execute a callback every interval from start.

+
Parameters
+ + + + + +
alarmThe alarm to set.
startThe duration until the alarm should first be triggered.
intervalThe interval between triggers after the first trigger.
callbackThe alarm callback to call when the alarm is triggered.
+
+
+ +
+
+ +
+
+ + + + + + + + +
BOOL OSWaitAlarm (OSAlarmalarm)
+
+

Sleep the current thread until the alarm has been triggered or cancelled.

+ +
+
+
+ + + + diff --git a/group__coreinit__atomic64.html b/group__coreinit__atomic64.html new file mode 100644 index 0000000..516b58f --- /dev/null +++ b/group__coreinit__atomic64.html @@ -0,0 +1,417 @@ + + + + + + +WUT: Atomic 64 bit + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Atomic 64 bit
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

uint64_t OSGetAtomic64 (uint64_t *ptr)
 
uint64_t OSSetAtomic64 (uint64_t *ptr, uint64_t value)
 
BOOL OSCompareAndSwapAtomic64 (uint64_t *ptr, uint64_t compare, uint64_t value)
 
BOOL OSCompareAndSwapAtomicEx64 (uint64_t *ptr, uint64_t compare, uint64_t value, uint64_t *old)
 
uint64_t OSSwapAtomic64 (uint64_t *ptr, uint64_t value)
 
int64_t OSAddAtomic64 (int64_t *ptr, int64_t value)
 
uint64_t OSAndAtomic64 (uint64_t *ptr, uint64_t value)
 
uint64_t OSOrAtomic64 (uint64_t *ptr, uint64_t value)
 
uint64_t OSXorAtomic64 (uint64_t *ptr, uint64_t value)
 
BOOL OSTestAndClearAtomic64 (uint64_t *ptr, uint32_t bit)
 
BOOL OSTestAndSetAtomic64 (uint64_t *ptr, uint32_t bit)
 
+

Detailed Description

+

These functions are used for atomically operating on 64 bit values in memory.

+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
int64_t OSAddAtomic64 (int64_t * ptr,
int64_t value 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
uint64_t OSAndAtomic64 (uint64_t * ptr,
uint64_t value 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
BOOL OSCompareAndSwapAtomic64 (uint64_t * ptr,
uint64_t compare,
uint64_t value 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
BOOL OSCompareAndSwapAtomicEx64 (uint64_t * ptr,
uint64_t compare,
uint64_t value,
uint64_t * old 
)
+
+ +
+
+ +
+
+ + + + + + + + +
uint64_t OSGetAtomic64 (uint64_t * ptr)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
uint64_t OSOrAtomic64 (uint64_t * ptr,
uint64_t value 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
uint64_t OSSetAtomic64 (uint64_t * ptr,
uint64_t value 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
uint64_t OSSwapAtomic64 (uint64_t * ptr,
uint64_t value 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOL OSTestAndClearAtomic64 (uint64_t * ptr,
uint32_t bit 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOL OSTestAndSetAtomic64 (uint64_t * ptr,
uint32_t bit 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
uint64_t OSXorAtomic64 (uint64_t * ptr,
uint64_t value 
)
+
+ +
+
+
+ + + + diff --git a/group__coreinit__baseheap.html b/group__coreinit__baseheap.html new file mode 100644 index 0000000..3a8e2c2 --- /dev/null +++ b/group__coreinit__baseheap.html @@ -0,0 +1,233 @@ + + + + + + +WUT: Base Heap + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Base Heap
+
+
+ + + + + + +

+Typedefs

typedef uint32_t MEMBaseHeapType
 
typedef void * MEMHeapHandle
 
+ + + +

+Enumerations

enum  MEMBaseHeapType { MEM_BASE_HEAP_MEM1 = 0, +MEM_BASE_HEAP_MEM2 = 1, +MEM_BASE_HEAP_FG = 8 + }
 
+ + + + + + + +

+Functions

MEMBaseHeapType MEMGetArena (MEMHeapHandle handle)
 
MEMHeapHandle MEMGetBaseHeapHandle (MEMBaseHeapType type)
 
MEMHeapHandle MEMSetBaseHeapHandle (MEMBaseHeapType type, MEMHeapHandle handle)
 
+

Detailed Description

+

Typedef Documentation

+ +
+
+ + + + +
typedef uint32_t MEMBaseHeapType
+
+ +

Definition at line 14 of file baseheap.h.

+ +
+
+ +
+
+ + + + +
typedef void* MEMHeapHandle
+
+ +

Definition at line 15 of file baseheap.h.

+ +
+
+

Enumeration Type Documentation

+ +
+
+ + + + +
enum MEMBaseHeapType
+
+ + + + +
Enumerator
MEM_BASE_HEAP_MEM1  +
MEM_BASE_HEAP_MEM2  +
MEM_BASE_HEAP_FG  +
+ +

Definition at line 17 of file baseheap.h.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + +
MEMBaseHeapType MEMGetArena (MEMHeapHandle handle)
+
+ +
+
+ +
+
+ + + + + + + + +
MEMHeapHandle MEMGetBaseHeapHandle (MEMBaseHeapType type)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
MEMHeapHandle MEMSetBaseHeapHandle (MEMBaseHeapType type,
MEMHeapHandle handle 
)
+
+ +
+
+
+ + + + diff --git a/group__coreinit__cache.html b/group__coreinit__cache.html new file mode 100644 index 0000000..d6fd99d --- /dev/null +++ b/group__coreinit__cache.html @@ -0,0 +1,296 @@ + + + + + + +WUT: Cache + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
+
+
+ + + + + + + + + + + + + + + + +

+Functions

void DCInvalidateRange (void *addr, uint32_t size)
 
void DCFlushRange (void *addr, uint32_t size)
 
void DCStoreRange (void *addr, uint32_t size)
 
void DCFlushRangeNoSync (void *addr, uint32_t size)
 
void DCStoreRangeNoSync (void *addr, uint32_t size)
 
void DCZeroRange (void *addr, uint32_t size)
 
void DCTouchRange (void *addr, uint32_t size)
 
+

Detailed Description

+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
void DCFlushRange (void * addr,
uint32_t size 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void DCFlushRangeNoSync (void * addr,
uint32_t size 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void DCInvalidateRange (void * addr,
uint32_t size 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void DCStoreRange (void * addr,
uint32_t size 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void DCStoreRangeNoSync (void * addr,
uint32_t size 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void DCTouchRange (void * addr,
uint32_t size 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void DCZeroRange (void * addr,
uint32_t size 
)
+
+ +
+
+
+ + + + diff --git a/group__coreinit__cond.html b/group__coreinit__cond.html new file mode 100644 index 0000000..f103364 --- /dev/null +++ b/group__coreinit__cond.html @@ -0,0 +1,256 @@ + + + + + + +WUT: Condition Variable + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Condition Variable
+
+
+ + + + +

+Data Structures

struct  OSCondition
 
+ + + +

+Macros

#define OS_CONDITION_TAG   0x634E6456u
 
+ + + + + +

+Typedefs

typedef struct OSCondition OSCondition
 
typedef struct OSMutex OSMutex
 
+ + + + + + + + + +

+Functions

void OSInitCond (OSCondition *condition)
 
void OSInitCondEx (OSCondition *condition, const char *name)
 
void OSWaitCond (OSCondition *condition, OSMutex *mutex)
 
void OSSignalCond (OSCondition *condition)
 
+

Detailed Description

+

Macro Definition Documentation

+ +
+
+ + + + +
#define OS_CONDITION_TAG   0x634E6456u
+
+ +

Definition at line 18 of file condition.h.

+ +
+
+

Typedef Documentation

+ +
+
+ + + + +
typedef struct OSCondition OSCondition
+
+ +

Definition at line 15 of file condition.h.

+ +
+
+ +
+
+ + + + +
typedef struct OSMutex OSMutex
+
+ +

Definition at line 16 of file condition.h.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + +
void OSInitCond (OSConditioncondition)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void OSInitCondEx (OSConditioncondition,
const char * name 
)
+
+ +
+
+ +
+
+ + + + + + + + +
void OSSignalCond (OSConditioncondition)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void OSWaitCond (OSConditioncondition,
OSMutexmutex 
)
+
+ +
+
+
+ + + + diff --git a/group__coreinit__core.html b/group__coreinit__core.html new file mode 100644 index 0000000..bba5388 --- /dev/null +++ b/group__coreinit__core.html @@ -0,0 +1,172 @@ + + + + + + +WUT: Core Identification + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Core Identification
+
+
+ + + + + + + + + + +

+Functions

uint32_t OSGetCoreCount ()
 
uint32_t OSGetCoreId ()
 
uint32_t OSGetMainCoreId ()
 
BOOL OSIsMainCore ()
 
+

Detailed Description

+

Function Documentation

+ +
+
+ + + + + + + +
uint32_t OSGetCoreCount ()
+
+

Returns the number of cores, should always be 3.

+ +
+
+ +
+
+ + + + + + + +
uint32_t OSGetCoreId ()
+
+

Returns the ID of the core currently executing this thread.

+ +
+
+ +
+
+ + + + + + + +
uint32_t OSGetMainCoreId ()
+
+

Returns the ID of the main core.

+ +
+
+ +
+
+ + + + + + + +
BOOL OSIsMainCore ()
+
+

Returns true if the current core is the main core.

+ +
+
+
+ + + + diff --git a/group__coreinit__debug.html b/group__coreinit__debug.html new file mode 100644 index 0000000..12b11a3 --- /dev/null +++ b/group__coreinit__debug.html @@ -0,0 +1,214 @@ + + + + + + +WUT: Debug + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
+
+
+ + + + + + + + + + +

+Functions

void OSConsoleWrite (const char *msg, uint32_t size)
 
void OSReport (const char *fmt,...)
 
void OSPanic (const char *file, uint32_t line, const char *fmt,...)
 
void OSFatal (const char *msg)
 
+

Detailed Description

+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
void OSConsoleWrite (const char * msg,
uint32_t size 
)
+
+ +
+
+ +
+
+ + + + + + + + +
void OSFatal (const char * msg)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void OSPanic (const char * file,
uint32_t line,
const char * fmt,
 ... 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void OSReport (const char * fmt,
 ... 
)
+
+ +
+
+
+ + + + diff --git a/group__coreinit__dynload.html b/group__coreinit__dynload.html new file mode 100644 index 0000000..0c9012f --- /dev/null +++ b/group__coreinit__dynload.html @@ -0,0 +1,303 @@ + + + + + + +WUT: Dynamic Loading + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Dynamic Loading
+
+
+ + + + + + + + +

+Typedefs

typedef void * OSDynLoadModule
 
typedef int(* OSDynLoadAllocFn) (int size, int align, void **outAddr)
 
typedef void(* OSDynLoadFreeFn) (void *addr)
 
+ + + + + + + + + + + +

+Functions

int32_t OSDynLoad_SetAllocator (OSDynLoadAllocFn allocFn, OSDynLoadFreeFn freeFn)
 
int32_t OSDynLoad_GetAllocator (OSDynLoadAllocFn *outAllocFn, OSDynLoadFreeFn *outFreeFn)
 
int32_t OSDynLoad_Acquire (char const *name, OSDynLoadModule *outModule)
 
int32_t OSDynLoad_FindExport (OSDynLoadModule module, int32_t isData, char const *name, void **outAddr)
 
void OSDynLoad_Release (OSDynLoadModule module)
 
+

Detailed Description

+

Typedef Documentation

+ +
+
+ + + + +
typedef int(* OSDynLoadAllocFn) (int size, int align, void **outAddr)
+
+ +

Definition at line 18 of file dynload.h.

+ +
+
+ +
+
+ + + + +
typedef void(* OSDynLoadFreeFn) (void *addr)
+
+ +

Definition at line 19 of file dynload.h.

+ +
+
+ +
+
+ + + + +
typedef void* OSDynLoadModule
+
+ +

Definition at line 16 of file dynload.h.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
int32_t OSDynLoad_Acquire (char const * name,
OSDynLoadModuleoutModule 
)
+
+

Load a module.

+

If the module is already loaded, increase reference count. Similar to LoadLibrary on Windows.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int32_t OSDynLoad_FindExport (OSDynLoadModule module,
int32_t isData,
char const * name,
void ** outAddr 
)
+
+

Retrieve the address of a function or data export from a module.

+

Similar to GetProcAddress on Windows.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
int32_t OSDynLoad_GetAllocator (OSDynLoadAllocFnoutAllocFn,
OSDynLoadFreeFnoutFreeFn 
)
+
+

Get the allocator function used for dynamic loading.

+ +
+
+ +
+
+ + + + + + + + +
void OSDynLoad_Release (OSDynLoadModule module)
+
+

Free a module handle returned from OSDynLoad_Acquire.

+

Will decrease reference count and only unload the module if count reaches 0. Similar to FreeLibrary on Windows.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
int32_t OSDynLoad_SetAllocator (OSDynLoadAllocFn allocFn,
OSDynLoadFreeFn freeFn 
)
+
+

Set the allocator function to use for dynamic loading.

+ +
+
+
+ + + + diff --git a/group__coreinit__event.html b/group__coreinit__event.html new file mode 100644 index 0000000..0b5180c --- /dev/null +++ b/group__coreinit__event.html @@ -0,0 +1,367 @@ + + + + + + +WUT: Event Object + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ + +
+ + + + +

+Data Structures

struct  OSEvent
 
+ + + +

+Macros

#define OS_EVENT_TAG   0x65566E54u
 
+ + + + + +

+Typedefs

typedef struct OSEvent OSEvent
 
typedef uint32_t OSEventMode
 
+ + + +

+Enumerations

enum  OSEventMode { OS_EVENT_MODE_MANUAL = 0, +OS_EVENT_MODE_AUTO = 1 + }
 
+ + + + + + + + + + + + + + + +

+Functions

void OSInitEvent (OSEvent *event, BOOL value, OSEventMode mode)
 
void OSInitEventEx (OSEvent *event, BOOL value, OSEventMode mode, char *name)
 
void OSSignalEvent (OSEvent *event)
 
void OSSignalEventAll (OSEvent *event)
 
void OSWaitEvent (OSEvent *event)
 
void OSResetEvent (OSEvent *event)
 
BOOL OSWaitEventWithTimeout (OSEvent *event, OSTime timeout)
 
+

Detailed Description

+

Macro Definition Documentation

+ +
+
+ + + + +
#define OS_EVENT_TAG   0x65566E54u
+
+ +

Definition at line 25 of file event.h.

+ +
+
+

Typedef Documentation

+ +
+
+ + + + +
typedef struct OSEvent OSEvent
+
+ +

Definition at line 16 of file event.h.

+ +
+
+ +
+
+ + + + +
typedef uint32_t OSEventMode
+
+ +

Definition at line 17 of file event.h.

+ +
+
+

Enumeration Type Documentation

+ +
+
+ + + + +
enum OSEventMode
+
+ + + +
Enumerator
OS_EVENT_MODE_MANUAL  +
OS_EVENT_MODE_AUTO  +
+ +

Definition at line 19 of file event.h.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void OSInitEvent (OSEventevent,
BOOL value,
OSEventMode mode 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void OSInitEventEx (OSEventevent,
BOOL value,
OSEventMode mode,
char * name 
)
+
+ +
+
+ +
+
+ + + + + + + + +
void OSResetEvent (OSEventevent)
+
+ +
+
+ +
+
+ + + + + + + + +
void OSSignalEvent (OSEventevent)
+
+ +
+
+ +
+
+ + + + + + + + +
void OSSignalEventAll (OSEventevent)
+
+ +
+
+ +
+
+ + + + + + + + +
void OSWaitEvent (OSEventevent)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOL OSWaitEventWithTimeout (OSEventevent,
OSTime timeout 
)
+
+ +
+
+
+ + + + diff --git a/group__coreinit__exception.html b/group__coreinit__exception.html new file mode 100644 index 0000000..deb1119 --- /dev/null +++ b/group__coreinit__exception.html @@ -0,0 +1,272 @@ + + + + + + +WUT: Exception Handling + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Exception Handling
+
+
+ + + + + + +

+Typedefs

typedef uint32_t OSExceptionType
 
typedef BOOL(* OSExceptionCallbackFn) (OSContext *context)
 
+ + + +

+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, +
+  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_BREAKPOINT = 12, +OS_EXCEPTION_TYPE_SYSTEM_INTERRUPT = 13, +OS_EXCEPTION_TYPE_ICI = 14 +
+ }
 
+ + + + + +

+Functions

OSExceptionCallbackFn OSSetExceptionCallback (OSExceptionType exceptionType, OSExceptionCallbackFn callback)
 
OSExceptionCallbackFn OSSetExceptionCallbackEx (UNKNOWN_ARG, OSExceptionType exceptionType, OSExceptionCallbackFn callback)
 
+

Detailed Description

+

Typedef Documentation

+ +
+
+ + + + +
typedef BOOL(* OSExceptionCallbackFn) (OSContext *context)
+
+ +

Definition at line 15 of file exception.h.

+ +
+
+ +
+
+ + + + +
typedef uint32_t OSExceptionType
+
+ +

Definition at line 14 of file exception.h.

+ +
+
+

Enumeration Type Documentation

+ +
+
+ + + + +
enum OSExceptionType
+
+ + + + + + + + + + + + + + + + +
Enumerator
OS_EXCEPTION_TYPE_SYSTEM_RESET  +
OS_EXCEPTION_TYPE_MACHINE_CHECK  +
OS_EXCEPTION_TYPE_DSI  +
OS_EXCEPTION_TYPE_ISI  +
OS_EXCEPTION_TYPE_EXTERNAL_INTERRUPT  +
OS_EXCEPTION_TYPE_ALIGNMENT  +
OS_EXCEPTION_TYPE_PROGRAM  +
OS_EXCEPTION_TYPE_FLOATING_POINT  +
OS_EXCEPTION_TYPE_DECREMENTER  +
OS_EXCEPTION_TYPE_SYSTEM_CALL  +
OS_EXCEPTION_TYPE_TRACE  +
OS_EXCEPTION_TYPE_PERFORMANCE_MONITOR  +
OS_EXCEPTION_TYPE_BREAKPOINT  +
OS_EXCEPTION_TYPE_SYSTEM_INTERRUPT  +
OS_EXCEPTION_TYPE_ICI  +
+ +

Definition at line 17 of file exception.h.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
OSExceptionCallbackFn OSSetExceptionCallback (OSExceptionType exceptionType,
OSExceptionCallbackFn callback 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
OSExceptionCallbackFn OSSetExceptionCallbackEx (UNKNOWN_ARG ,
OSExceptionType exceptionType,
OSExceptionCallbackFn callback 
)
+
+ +
+
+
+ + + + diff --git a/group__coreinit__exit.html b/group__coreinit__exit.html new file mode 100644 index 0000000..78767c2 --- /dev/null +++ b/group__coreinit__exit.html @@ -0,0 +1,135 @@ + + + + + + +WUT: Exit + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
+
+
+ + + + + + +

+Functions

void exit (int code)
 
void _Exit ()
 
+

Detailed Description

+

Function Documentation

+ +
+
+ + + + + + + +
void _Exit ()
+
+ +
+
+ +
+
+ + + + + + + + +
void exit (int code)
+
+ +
+
+
+ + + + diff --git a/group__coreinit__expheap.html b/group__coreinit__expheap.html new file mode 100644 index 0000000..4addd5d --- /dev/null +++ b/group__coreinit__expheap.html @@ -0,0 +1,662 @@ + + + + + + +WUT: Expanded Heap + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Expanded Heap
+
+
+ + + + +

+Data Structures

struct  MEMExpandedHeap
 
+ + + + + + + +

+Typedefs

typedef struct MEMExpandedHeap MEMExpandedHeap
 
typedef uint32_t MEMExpHeapMode
 
typedef uint32_t MEMExpHeapDirection
 
+ + + + + +

+Enumerations

enum  MEMExpHeapMode { MEM_EXP_HEAP_MODE_FIRST_FREE = 0, +MEM_EXP_HEAP_MODE_NEAREST_SIZE = 1 + }
 
enum  MEMExpHeapDirection { MEM_EXP_HEAP_DIR_FROM_TOP = 0, +MEM_EXP_HEAP_DIR_FROM_BOTTOM = 1 + }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

MEMExpandedHeapMEMCreateExpHeap (MEMExpandedHeap *heap, uint32_t size)
 
MEMExpandedHeapMEMCreateExpHeapEx (MEMExpandedHeap *heap, uint32_t size, uint16_t flags)
 
MEMExpandedHeapMEMDestroyExpHeap (MEMExpandedHeap *heap)
 
void MEMiDumpExpHeap (MEMExpandedHeap *heap)
 
void * MEMAllocFromExpHeap (MEMExpandedHeap *heap, uint32_t size)
 
void * MEMAllocFromExpHeapEx (MEMExpandedHeap *heap, uint32_t size, int alignment)
 
void MEMFreeToExpHeap (MEMExpandedHeap *heap, uint8_t *block)
 
MEMExpHeapMode MEMSetAllocModeForExpHeap (MEMExpandedHeap *heap, MEMExpHeapMode mode)
 
MEMExpHeapMode MEMGetAllocModeForExpHeap (MEMExpandedHeap *heap)
 
uint32_t MEMAdjustExpHeap (MEMExpandedHeap *heap)
 
uint32_t MEMResizeForMBlockExpHeap (MEMExpandedHeap *heap, uint8_t *address, uint32_t size)
 
uint32_t MEMGetTotalFreeSizeForExpHeap (MEMExpandedHeap *heap)
 
uint32_t MEMGetAllocatableSizeForExpHeap (MEMExpandedHeap *heap)
 
uint32_t MEMGetAllocatableSizeForExpHeapEx (MEMExpandedHeap *heap, int alignment)
 
uint16_t MEMSetGroupIDForExpHeap (MEMExpandedHeap *heap, uint16_t id)
 
uint16_t MEMGetGroupIDForExpHeap (MEMExpandedHeap *heap)
 
uint32_t MEMGetSizeForMBlockExpHeap (uint8_t *addr)
 
uint16_t MEMGetGroupIDForMBlockExpHeap (uint8_t *addr)
 
MEMExpHeapDirection MEMGetAllocDirForMBlockExpHeap (uint8_t *addr)
 
+

Detailed Description

+

Typedef Documentation

+ +
+
+ + + + +
typedef struct MEMExpandedHeap MEMExpandedHeap
+
+ +

Definition at line 14 of file expandedheap.h.

+ +
+
+ +
+
+ + + + +
typedef uint32_t MEMExpHeapDirection
+
+ +

Definition at line 17 of file expandedheap.h.

+ +
+
+ +
+
+ + + + +
typedef uint32_t MEMExpHeapMode
+
+ +

Definition at line 16 of file expandedheap.h.

+ +
+
+

Enumeration Type Documentation

+ +
+
+ + + + +
enum MEMExpHeapDirection
+
+ + + +
Enumerator
MEM_EXP_HEAP_DIR_FROM_TOP  +
MEM_EXP_HEAP_DIR_FROM_BOTTOM  +
+ +

Definition at line 30 of file expandedheap.h.

+ +
+
+ +
+
+ + + + +
enum MEMExpHeapMode
+
+ + + +
Enumerator
MEM_EXP_HEAP_MODE_FIRST_FREE  +
MEM_EXP_HEAP_MODE_NEAREST_SIZE  +
+ +

Definition at line 24 of file expandedheap.h.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + +
uint32_t MEMAdjustExpHeap (MEMExpandedHeapheap)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void* MEMAllocFromExpHeap (MEMExpandedHeapheap,
uint32_t size 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void* MEMAllocFromExpHeapEx (MEMExpandedHeapheap,
uint32_t size,
int alignment 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
MEMExpandedHeap* MEMCreateExpHeap (MEMExpandedHeapheap,
uint32_t size 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
MEMExpandedHeap* MEMCreateExpHeapEx (MEMExpandedHeapheap,
uint32_t size,
uint16_t flags 
)
+
+ +
+
+ +
+
+ + + + + + + + +
MEMExpandedHeap* MEMDestroyExpHeap (MEMExpandedHeapheap)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void MEMFreeToExpHeap (MEMExpandedHeapheap,
uint8_t * block 
)
+
+ +
+
+ +
+
+ + + + + + + + +
uint32_t MEMGetAllocatableSizeForExpHeap (MEMExpandedHeapheap)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
uint32_t MEMGetAllocatableSizeForExpHeapEx (MEMExpandedHeapheap,
int alignment 
)
+
+ +
+
+ +
+
+ + + + + + + + +
MEMExpHeapDirection MEMGetAllocDirForMBlockExpHeap (uint8_t * addr)
+
+ +
+
+ +
+
+ + + + + + + + +
MEMExpHeapMode MEMGetAllocModeForExpHeap (MEMExpandedHeapheap)
+
+ +
+
+ +
+
+ + + + + + + + +
uint16_t MEMGetGroupIDForExpHeap (MEMExpandedHeapheap)
+
+ +
+
+ +
+
+ + + + + + + + +
uint16_t MEMGetGroupIDForMBlockExpHeap (uint8_t * addr)
+
+ +
+
+ +
+
+ + + + + + + + +
uint32_t MEMGetSizeForMBlockExpHeap (uint8_t * addr)
+
+ +
+
+ +
+
+ + + + + + + + +
uint32_t MEMGetTotalFreeSizeForExpHeap (MEMExpandedHeapheap)
+
+ +
+
+ +
+
+ + + + + + + + +
void MEMiDumpExpHeap (MEMExpandedHeapheap)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
uint32_t MEMResizeForMBlockExpHeap (MEMExpandedHeapheap,
uint8_t * address,
uint32_t size 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
MEMExpHeapMode MEMSetAllocModeForExpHeap (MEMExpandedHeapheap,
MEMExpHeapMode mode 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
uint16_t MEMSetGroupIDForExpHeap (MEMExpandedHeapheap,
uint16_t id 
)
+
+ +
+
+
+ + + + diff --git a/group__coreinit__fastcond.html b/group__coreinit__fastcond.html new file mode 100644 index 0000000..f711d69 --- /dev/null +++ b/group__coreinit__fastcond.html @@ -0,0 +1,239 @@ + + + + + + +WUT: Fast Condition Variable + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Fast Condition Variable
+
+
+ + + + +

+Data Structures

struct  OSFastCondition
 
+ + + +

+Macros

#define OS_FAST_CONDITION_TAG   0x664E6456u
 
+ + + + + +

+Typedefs

typedef struct OSFastCondition OSFastCondition
 
typedef struct OSFastMutex OSFastMutex
 
+ + + + + + + +

+Functions

void OSFastCond_Init (OSFastCondition *condition, const char *name)
 
void OSFastCond_Wait (OSFastCondition *condition, OSFastMutex *mutex)
 
void OSFastCond_Signal (OSFastCondition *condition)
 
+

Detailed Description

+

A condition variable to be used with an OSFastMutex.

+

Macro Definition Documentation

+ +
+
+ + + + +
#define OS_FAST_CONDITION_TAG   0x664E6456u
+
+ +

Definition at line 21 of file fastcondition.h.

+ +
+
+

Typedef Documentation

+ +
+
+ + + + +
typedef struct OSFastCondition OSFastCondition
+
+ +

Definition at line 18 of file fastcondition.h.

+ +
+
+ +
+
+ + + + +
typedef struct OSFastMutex OSFastMutex
+
+ +

Definition at line 19 of file fastcondition.h.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
void OSFastCond_Init (OSFastConditioncondition,
const char * name 
)
+
+ +
+
+ +
+
+ + + + + + + + +
void OSFastCond_Signal (OSFastConditioncondition)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void OSFastCond_Wait (OSFastConditioncondition,
OSFastMutexmutex 
)
+
+ +
+
+
+ + + + diff --git a/group__coreinit__fastmutex.html b/group__coreinit__fastmutex.html new file mode 100644 index 0000000..b284603 --- /dev/null +++ b/group__coreinit__fastmutex.html @@ -0,0 +1,264 @@ + + + + + + +WUT: Fast Mutex + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Fast Mutex
+
+
+ + + + + + +

+Data Structures

struct  OSFastMutexLink
 
struct  OSFastMutex
 
+ + + +

+Macros

#define OS_FAST_MUTEX_TAG   0x664D7458u
 
+ + + + + + + +

+Typedefs

typedef struct OSFastMutex OSFastMutex
 
typedef struct OSFastMutexLink OSFastMutexLink
 
typedef struct OSFastCondition OSFastCondition
 
+ + + + + + + + + +

+Functions

void OSFastMutex_Init (OSFastMutex *mutex, const char *name)
 
void OSFastMutex_Lock (OSFastMutex *mutex)
 
void OSFastMutex_Unlock (OSFastMutex *mutex)
 
BOOL OSFastMutex_TryLock (OSFastMutex *mutex)
 
+

Detailed Description

+

Macro Definition Documentation

+ +
+
+ + + + +
#define OS_FAST_MUTEX_TAG   0x664D7458u
+
+ +

Definition at line 28 of file fastmutex.h.

+ +
+
+

Typedef Documentation

+ +
+
+ + + + +
typedef struct OSFastCondition OSFastCondition
+
+ +

Definition at line 17 of file fastmutex.h.

+ +
+
+ +
+
+ + + + +
typedef struct OSFastMutex OSFastMutex
+
+ +

Definition at line 15 of file fastmutex.h.

+ +
+
+ +
+
+ + + + +
typedef struct OSFastMutexLink OSFastMutexLink
+
+ +

Definition at line 16 of file fastmutex.h.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
void OSFastMutex_Init (OSFastMutexmutex,
const char * name 
)
+
+ +
+
+ +
+
+ + + + + + + + +
void OSFastMutex_Lock (OSFastMutexmutex)
+
+ +
+
+ +
+
+ + + + + + + + +
BOOL OSFastMutex_TryLock (OSFastMutexmutex)
+
+ +
+
+ +
+
+ + + + + + + + +
void OSFastMutex_Unlock (OSFastMutexmutex)
+
+ +
+
+
+ + + + diff --git a/group__coreinit__frameheap.html b/group__coreinit__frameheap.html new file mode 100644 index 0000000..747642e --- /dev/null +++ b/group__coreinit__frameheap.html @@ -0,0 +1,474 @@ + + + + + + +WUT: Frame Heap + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Frame Heap
+
+
+ + + + +

+Typedefs

typedef uint32_t MEMFrameHeapFreeMode
 
+ + + +

+Enumerations

enum  MEMFrameHeapFreeMode { MEM_FRAME_HEAP_FREE_FROM_BOTTOM = 1 << 0, +MEM_FRAME_HEAP_FREE_FROM_TOP = 1 << 1 + }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

MEMFrameHeap * MEMCreateFrmHeap (MEMFrameHeap *heap, uint32_t size)
 
MEMFrameHeap * MEMCreateFrmHeapEx (MEMFrameHeap *heap, uint32_t size, uint16_t flags)
 
void * MEMDestroyFrmHeap (MEMFrameHeap *heap)
 
void * MEMAllocFromFrmHeap (MEMFrameHeap *heap, uint32_t size)
 
void * MEMAllocFromFrmHeapEx (MEMFrameHeap *heap, uint32_t size, int alignment)
 
void MEMFreeToFrmHeap (MEMFrameHeap *heap, MEMFrameHeapFreeMode mode)
 
BOOL MEMRecordStateForFrmHeap (MEMFrameHeap *heap, uint32_t tag)
 
BOOL MEMFreeByStateToFrmHeap (MEMFrameHeap *heap, uint32_t tag)
 
uint32_t MEMAdjustFrmHeap (MEMFrameHeap *heap)
 
uint32_t MEMResizeForMBlockFrmHeap (MEMFrameHeap *heap, uint32_t addr, uint32_t size)
 
uint32_t MEMGetAllocatableSizeForFrmHeap (MEMFrameHeap *heap)
 
uint32_t MEMGetAllocatableSizeForFrmHeapEx (MEMFrameHeap *heap, int alignment)
 
+

Detailed Description

+

Typedef Documentation

+ +
+
+ + + + +
typedef uint32_t MEMFrameHeapFreeMode
+
+ +

Definition at line 14 of file frameheap.h.

+ +
+
+

Enumeration Type Documentation

+ +
+
+ + + + +
enum MEMFrameHeapFreeMode
+
+ + + +
Enumerator
MEM_FRAME_HEAP_FREE_FROM_BOTTOM  +
MEM_FRAME_HEAP_FREE_FROM_TOP  +
+ +

Definition at line 16 of file frameheap.h.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + +
uint32_t MEMAdjustFrmHeap (MEMFrameHeap * heap)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void* MEMAllocFromFrmHeap (MEMFrameHeap * heap,
uint32_t size 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void* MEMAllocFromFrmHeapEx (MEMFrameHeap * heap,
uint32_t size,
int alignment 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
MEMFrameHeap* MEMCreateFrmHeap (MEMFrameHeap * heap,
uint32_t size 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
MEMFrameHeap* MEMCreateFrmHeapEx (MEMFrameHeap * heap,
uint32_t size,
uint16_t flags 
)
+
+ +
+
+ +
+
+ + + + + + + + +
void* MEMDestroyFrmHeap (MEMFrameHeap * heap)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOL MEMFreeByStateToFrmHeap (MEMFrameHeap * heap,
uint32_t tag 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void MEMFreeToFrmHeap (MEMFrameHeap * heap,
MEMFrameHeapFreeMode mode 
)
+
+ +
+
+ +
+
+ + + + + + + + +
uint32_t MEMGetAllocatableSizeForFrmHeap (MEMFrameHeap * heap)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
uint32_t MEMGetAllocatableSizeForFrmHeapEx (MEMFrameHeap * heap,
int alignment 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOL MEMRecordStateForFrmHeap (MEMFrameHeap * heap,
uint32_t tag 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
uint32_t MEMResizeForMBlockFrmHeap (MEMFrameHeap * heap,
uint32_t addr,
uint32_t size 
)
+
+ +
+
+
+ + + + diff --git a/group__coreinit__memlist.html b/group__coreinit__memlist.html new file mode 100644 index 0000000..b69bbd8 --- /dev/null +++ b/group__coreinit__memlist.html @@ -0,0 +1,338 @@ + + + + + + +WUT: Memory List + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Memory List
+
+
+ + + + + + +

+Data Structures

struct  MEMMemoryLink
 
struct  MEMMemoryList
 
+ + + + + + + + + + + + + + + + + +

+Functions

void MEMInitList (MEMMemoryList *list, uint16_t offsetToMemoryLink)
 
void MEMAppendListObject (MEMMemoryList *list, void *object)
 
void MEMPrependListObject (MEMMemoryList *list, void *object)
 
void MEMInsertListObject (MEMMemoryList *list, void *before, void *object)
 
void MEMRemoveListObject (MEMMemoryList *list, void *object)
 
void * MEMGetNextListObject (MEMMemoryList *list, void *object)
 
void * MEMGetPrevListObject (MEMMemoryList *list, void *object)
 
void * MEMGetNthListObject (MEMMEMMemoryList *list, uint16_t n)
 
+

Detailed Description

+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MEMAppendListObject (MEMMemoryListlist,
void * object 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void* MEMGetNextListObject (MEMMemoryListlist,
void * object 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void* MEMGetNthListObject (MEMMEMMemoryList * list,
uint16_t n 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void* MEMGetPrevListObject (MEMMemoryListlist,
void * object 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void MEMInitList (MEMMemoryListlist,
uint16_t offsetToMemoryLink 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void MEMInsertListObject (MEMMemoryListlist,
void * before,
void * object 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void MEMPrependListObject (MEMMemoryListlist,
void * object 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void MEMRemoveListObject (MEMMemoryListlist,
void * object 
)
+
+ +
+
+
+ + + + diff --git a/group__coreinit__msgq.html b/group__coreinit__msgq.html new file mode 100644 index 0000000..15b5dcb --- /dev/null +++ b/group__coreinit__msgq.html @@ -0,0 +1,400 @@ + + + + + + +WUT: Message Queue + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Message Queue
+
+
+ + + + + + +

+Data Structures

struct  OSMessage
 
struct  OSMessageQueue
 
+ + + +

+Macros

#define OS_MESSAGE_QUEUE_TAG   0x6D536751u
 
+ + + +

+Typedefs

typedef uint32_t OSMessageFlags
 
+ + + +

+Enumerations

enum  OSMessageFlags { OS_MESSAGE_QUEUE_BLOCKING = 1 << 0, +OS_MESSAGE_QUEUE_HIGH_PRIORITY = 1 << 1 + }
 
+ + + + + + + + + + + + + + + +

+Functions

void OSInitMessageQueue (OSMessageQueue *queue, OSMessage *messages, int32_t size)
 
void OSInitMessageQueueEx (OSMessageQueue *queue, OSMessage *messages, int32_t size, const char *name)
 
BOOL OSSendMessage (OSMessageQueue *queue, OSMessage *message, OSMessageFlags flags)
 
BOOL OSJamMessage (OSMessageQueue *queue, OSMessage *message, OSMessageFlags flags)
 
BOOL OSReceiveMessage (OSMessageQueue *queue, OSMessage *message, OSMessageFlags flags)
 
BOOL OSPeekMessage (OSMessageQueue *queue, OSMessage *message)
 
OSMessageQueueOSGetSystemMessageQueue ()
 
+

Detailed Description

+

Macro Definition Documentation

+ +
+
+ + + + +
#define OS_MESSAGE_QUEUE_TAG   0x6D536751u
+
+ +

Definition at line 31 of file messagequeue.h.

+ +
+
+

Typedef Documentation

+ +
+
+ + + + +
typedef uint32_t OSMessageFlags
+
+ +

Definition at line 14 of file messagequeue.h.

+ +
+
+

Enumeration Type Documentation

+ +
+
+ + + + +
enum OSMessageFlags
+
+ + + +
Enumerator
OS_MESSAGE_QUEUE_BLOCKING  +
OS_MESSAGE_QUEUE_HIGH_PRIORITY  +
+ +

Definition at line 16 of file messagequeue.h.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + +
OSMessageQueue* OSGetSystemMessageQueue ()
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void OSInitMessageQueue (OSMessageQueuequeue,
OSMessagemessages,
int32_t size 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void OSInitMessageQueueEx (OSMessageQueuequeue,
OSMessagemessages,
int32_t size,
const char * name 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
BOOL OSJamMessage (OSMessageQueuequeue,
OSMessagemessage,
OSMessageFlags flags 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOL OSPeekMessage (OSMessageQueuequeue,
OSMessagemessage 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
BOOL OSReceiveMessage (OSMessageQueuequeue,
OSMessagemessage,
OSMessageFlags flags 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
BOOL OSSendMessage (OSMessageQueuequeue,
OSMessagemessage,
OSMessageFlags flags 
)
+
+ +
+
+
+ + + + diff --git a/group__coreinit__mutex.html b/group__coreinit__mutex.html new file mode 100644 index 0000000..b22cbbb --- /dev/null +++ b/group__coreinit__mutex.html @@ -0,0 +1,282 @@ + + + + + + +WUT: Mutex + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ + +
+ + + + + + +

+Data Structures

struct  OSMutexLink
 
struct  OSMutex
 
+ + + +

+Macros

#define OS_MUTEX_TAG   0x6D557458u
 
+ + + + + + + +

+Typedefs

typedef struct OSCondition OSCondition
 
typedef struct OSMutex OSMutex
 
typedef struct OSMutexLink OSMutexLink
 
+ + + + + + + + + + + +

+Functions

void OSInitMutex (OSMutex *mutex)
 
void OSInitMutexEx (OSMutex *mutex, const char *name)
 
void OSLockMutex (OSMutex *mutex)
 
void OSUnlockMutex (OSMutex *mutex)
 
BOOL OSTryLockMutex (OSMutex *mutex)
 
+

Detailed Description

+

Macro Definition Documentation

+ +
+
+ + + + +
#define OS_MUTEX_TAG   0x6D557458u
+
+ +

Definition at line 30 of file mutex.h.

+ +
+
+

Typedef Documentation

+ +
+
+ + + + +
typedef struct OSCondition OSCondition
+
+ +

Definition at line 17 of file mutex.h.

+ +
+
+ +
+
+ + + + +
typedef struct OSMutex OSMutex
+
+ +

Definition at line 18 of file mutex.h.

+ +
+
+ +
+
+ + + + +
typedef struct OSMutexLink OSMutexLink
+
+ +

Definition at line 19 of file mutex.h.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + +
void OSInitMutex (OSMutexmutex)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void OSInitMutexEx (OSMutexmutex,
const char * name 
)
+
+ +
+
+ +
+
+ + + + + + + + +
void OSLockMutex (OSMutexmutex)
+
+ +
+
+ +
+
+ + + + + + + + +
BOOL OSTryLockMutex (OSMutexmutex)
+
+ +
+
+ +
+
+ + + + + + + + +
void OSUnlockMutex (OSMutexmutex)
+
+ +
+
+
+ + + + diff --git a/group__coreinit__rendezvous.html b/group__coreinit__rendezvous.html new file mode 100644 index 0000000..d7e3dbf --- /dev/null +++ b/group__coreinit__rendezvous.html @@ -0,0 +1,207 @@ + + + + + + +WUT: Rendezvous + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Rendezvous
+
+
+ + + + +

+Data Structures

struct  OSRendezvous
 
+ + + +

+Typedefs

typedef struct OSRendezvous OSRendezvous
 
+ + + + + + + +

+Functions

void OSInitRendezvous (OSRendezvous *rendezvous)
 
BOOL OSWaitRendezvous (OSRendezvous *rendezvous, uint32_t coreMask)
 
BOOL OSWaitRendezvousWithTimeout (OSRendezvous *rendezvous, uint32_t coreMask, OSTime timeout)
 
+

Detailed Description

+

Typedef Documentation

+ +
+
+ + + + +
typedef struct OSRendezvous OSRendezvous
+
+ +

Definition at line 14 of file rendezvous.h.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + +
void OSInitRendezvous (OSRendezvousrendezvous)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOL OSWaitRendezvous (OSRendezvousrendezvous,
uint32_t coreMask 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
BOOL OSWaitRendezvousWithTimeout (OSRendezvousrendezvous,
uint32_t coreMask,
OSTime timeout 
)
+
+ +
+
+
+ + + + diff --git a/group__coreinit__semaphore.html b/group__coreinit__semaphore.html new file mode 100644 index 0000000..3dc23e8 --- /dev/null +++ b/group__coreinit__semaphore.html @@ -0,0 +1,282 @@ + + + + + + +WUT: Semaphore + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Semaphore
+
+
+ + + + +

+Data Structures

struct  OSSemaphore
 
+ + + +

+Macros

#define OS_SEMAPHORE_TAG   0x73506852u
 
+ + + +

+Typedefs

typedef struct OSSemaphore OSSemaphore
 
+ + + + + + + + + + + + + +

+Functions

void OSInitSemaphore (OSSemaphore *semaphore, int32_t count)
 
void OSInitSemaphoreEx (OSSemaphore *semaphore, int32_t count, const char *name)
 
int32_t OSGetSemaphoreCount (OSSemaphore *semaphore)
 
int32_t OSSignalSemaphore (OSSemaphore *semaphore)
 
int32_t OSWaitSemaphore (OSSemaphore *semaphore)
 
int32_t OSTryWaitSemaphore (OSSemaphore *semaphore)
 
+

Detailed Description

+

Macro Definition Documentation

+ +
+
+ + + + +
#define OS_SEMAPHORE_TAG   0x73506852u
+
+ +

Definition at line 17 of file semaphore.h.

+ +
+
+

Typedef Documentation

+ +
+
+ + + + +
typedef struct OSSemaphore OSSemaphore
+
+ +

Definition at line 15 of file semaphore.h.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + +
int32_t OSGetSemaphoreCount (OSSemaphoresemaphore)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void OSInitSemaphore (OSSemaphoresemaphore,
int32_t count 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void OSInitSemaphoreEx (OSSemaphoresemaphore,
int32_t count,
const char * name 
)
+
+ +
+
+ +
+
+ + + + + + + + +
int32_t OSSignalSemaphore (OSSemaphoresemaphore)
+
+ +
+
+ +
+
+ + + + + + + + +
int32_t OSTryWaitSemaphore (OSSemaphoresemaphore)
+
+ +
+
+ +
+
+ + + + + + + + +
int32_t OSWaitSemaphore (OSSemaphoresemaphore)
+
+ +
+
+
+ + + + diff --git a/group__coreinit__spinlock.html b/group__coreinit__spinlock.html new file mode 100644 index 0000000..1132af7 --- /dev/null +++ b/group__coreinit__spinlock.html @@ -0,0 +1,309 @@ + + + + + + +WUT: Spinlock + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ + +
+ + + + +

+Data Structures

struct  OSSpinLock
 
+ + + +

+Typedefs

typedef struct OSSpinLock OSSpinLock
 
+ + + + + + + + + + + + + + + + + + + +

+Functions

void OSInitSpinLock (OSSpinLock *spinlock)
 
BOOL OSAcquireSpinLock (OSSpinLock *spinlock)
 
BOOL OSTryAcquireSpinLock (OSSpinLock *spinlock)
 
BOOL OSTryAcquireSpinLockWithTimeout (OSSpinLock *spinlock, OSTime timeout)
 
BOOL OSReleaseSpinLock (OSSpinLock *spinlock)
 
BOOL OSUninterruptibleSpinLock_Acquire (OSSpinLock *spinlock)
 
BOOL OSUninterruptibleSpinLock_TryAcquire (OSSpinLock *spinlock)
 
BOOL OSUninterruptibleSpinLock_TryAcquireWithTimeout (OSSpinLock *spinlock, OSTime timeout)
 
BOOL OSUninterruptibleSpinLock_Release (OSSpinLock *spinlock)
 
+

Detailed Description

+

Typedef Documentation

+ +
+
+ + + + +
typedef struct OSSpinLock OSSpinLock
+
+ +

Definition at line 15 of file spinlock.h.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + +
BOOL OSAcquireSpinLock (OSSpinLockspinlock)
+
+ +
+
+ +
+
+ + + + + + + + +
void OSInitSpinLock (OSSpinLockspinlock)
+
+ +
+
+ +
+
+ + + + + + + + +
BOOL OSReleaseSpinLock (OSSpinLockspinlock)
+
+ +
+
+ +
+
+ + + + + + + + +
BOOL OSTryAcquireSpinLock (OSSpinLockspinlock)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOL OSTryAcquireSpinLockWithTimeout (OSSpinLockspinlock,
OSTime timeout 
)
+
+ +
+
+ +
+
+ + + + + + + + +
BOOL OSUninterruptibleSpinLock_Acquire (OSSpinLockspinlock)
+
+ +
+
+ +
+
+ + + + + + + + +
BOOL OSUninterruptibleSpinLock_Release (OSSpinLockspinlock)
+
+ +
+
+ +
+
+ + + + + + + + +
BOOL OSUninterruptibleSpinLock_TryAcquire (OSSpinLockspinlock)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOL OSUninterruptibleSpinLock_TryAcquireWithTimeout (OSSpinLockspinlock,
OSTime timeout 
)
+
+ +
+
+
+ + + + diff --git a/group__coreinit__taskq.html b/group__coreinit__taskq.html new file mode 100644 index 0000000..2b4e51f --- /dev/null +++ b/group__coreinit__taskq.html @@ -0,0 +1,730 @@ + + + + + + +WUT: Task Queue + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ + +
+ + + + + + + + + + +

+Data Structures

struct  MPTaskInfo
 
struct  MPTask
 
struct  MPTaskQueueInfo
 
struct  MPTaskQueue
 
+ + + + + + + + + + + + + +

+Typedefs

typedef struct MPTask MPTask
 
typedef struct MPTaskInfo MPTaskInfo
 
typedef struct MPTaskQueue MPTaskQueue
 
typedef struct MPTaskQueueInfo MPTaskQueueInfo
 
typedef uint32_t MPTaskState
 
typedef uint32_t(* MPTaskFunc) (uint32_t, uint32_t)
 
+ + + +

+Enumerations

enum  MPTaskState { MP_TASK_STATE_INITIALISED = 1 << 0, +MP_TASK_STATE_READY = 1 << 1, +MP_TASK_STATE_RUNNING = 1 << 2, +MP_TASK_STATE_FINISHED = 1 << 3 + }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

void MPInitTaskQ (MPTaskQueue *queue, MPTask **queueBuffer, uint32_t queueBufferLen)
 
BOOL MPTermTaskQ (MPTaskQueue *queue)
 
BOOL MPGetTaskQInfo (MPTaskQueue *queue, MPTaskQueueInfo *info)
 
BOOL MPStartTaskQ (MPTaskQueue *queue)
 
BOOL MPStopTaskQ (MPTaskQueue *queue)
 
BOOL MPResetTaskQ (MPTaskQueue *queue)
 
BOOL MPEnqueTask (MPTaskQueue *queue, MPTask *task)
 
MPTaskMPDequeTask (MPTaskQueue *queue)
 
uint32_t MPDequeTasks (MPTaskQueue *queue, MPTask **queueBuffer, uint32_t queueBufferLen)
 
BOOL MPWaitTaskQ (MPTaskQueue *queue, MPTaskQueueState mask)
 
BOOL MPWaitTaskQWithTimeout (MPTaskQueue *queue, MPTaskQueueState wmask, OSTime timeout)
 
BOOL MPPrintTaskQStats (MPTaskQueue *queue, uint32_t unk)
 
void MPInitTask (MPTask *task, MPTaskFunc func, uint32_t userArg1, uint32_t userArg2)
 
BOOL MPTermTask (MPTask *task)
 
BOOL MPGetTaskInfo (MPTask *task, MPTaskInfo *info)
 
void * MPGetTaskUserData (MPTask *task)
 
void MPSetTaskUserData (MPTask *task, void *userData)
 
BOOL MPRunTasksFromTaskQ (MPTaskQueue *queue, uint32_t count)
 
BOOL MPRunTask (MPTask *task)
 
+

Detailed Description

+

Typedef Documentation

+ +
+
+ + + + +
typedef struct MPTask MPTask
+
+ +

Definition at line 15 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
typedef uint32_t(* MPTaskFunc) (uint32_t, uint32_t)
+
+ +

Definition at line 22 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
typedef struct MPTaskInfo MPTaskInfo
+
+ +

Definition at line 16 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
typedef struct MPTaskQueue MPTaskQueue
+
+ +

Definition at line 17 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
typedef struct MPTaskQueueInfo MPTaskQueueInfo
+
+ +

Definition at line 18 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
typedef uint32_t MPTaskState
+
+ +

Definition at line 20 of file taskqueue.h.

+ +
+
+

Enumeration Type Documentation

+ +
+
+ + + + +
enum MPTaskState
+
+ + + + + +
Enumerator
MP_TASK_STATE_INITIALISED  +
MP_TASK_STATE_READY  +
MP_TASK_STATE_RUNNING  +
MP_TASK_STATE_FINISHED  +
+ +

Definition at line 24 of file taskqueue.h.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + +
MPTask* MPDequeTask (MPTaskQueuequeue)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
uint32_t MPDequeTasks (MPTaskQueuequeue,
MPTask ** queueBuffer,
uint32_t queueBufferLen 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOL MPEnqueTask (MPTaskQueuequeue,
MPTasktask 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOL MPGetTaskInfo (MPTasktask,
MPTaskInfoinfo 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOL MPGetTaskQInfo (MPTaskQueuequeue,
MPTaskQueueInfoinfo 
)
+
+ +
+
+ +
+
+ + + + + + + + +
void* MPGetTaskUserData (MPTasktask)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void MPInitTask (MPTasktask,
MPTaskFunc func,
uint32_t userArg1,
uint32_t userArg2 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void MPInitTaskQ (MPTaskQueuequeue,
MPTask ** queueBuffer,
uint32_t queueBufferLen 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOL MPPrintTaskQStats (MPTaskQueuequeue,
uint32_t unk 
)
+
+ +
+
+ +
+
+ + + + + + + + +
BOOL MPResetTaskQ (MPTaskQueuequeue)
+
+ +
+
+ +
+
+ + + + + + + + +
BOOL MPRunTask (MPTasktask)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOL MPRunTasksFromTaskQ (MPTaskQueuequeue,
uint32_t count 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void MPSetTaskUserData (MPTasktask,
void * userData 
)
+
+ +
+
+ +
+
+ + + + + + + + +
BOOL MPStartTaskQ (MPTaskQueuequeue)
+
+ +
+
+ +
+
+ + + + + + + + +
BOOL MPStopTaskQ (MPTaskQueuequeue)
+
+ +
+
+ +
+
+ + + + + + + + +
BOOL MPTermTask (MPTasktask)
+
+ +
+
+ +
+
+ + + + + + + + +
BOOL MPTermTaskQ (MPTaskQueuequeue)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOL MPWaitTaskQ (MPTaskQueuequeue,
MPTaskQueueState mask 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
BOOL MPWaitTaskQWithTimeout (MPTaskQueuequeue,
MPTaskQueueState wmask,
OSTime timeout 
)
+
+ +
+
+
+ + + + diff --git a/group__coreinit__thread.html b/group__coreinit__thread.html new file mode 100644 index 0000000..6f03989 --- /dev/null +++ b/group__coreinit__thread.html @@ -0,0 +1,1268 @@ + + + + + + +WUT: Thread + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ + +
+ + + + + + + + + + +

+Data Structures

struct  OSContext
 
struct  OSMutexQueue
 
struct  OSFastMutexQueue
 
struct  OSThread
 
+ + + + + +

+Macros

#define OS_CONTEXT_TAG   0x4F53436F6E747874ull
 
#define OS_THREAD_TAG   0x74487244u
 
+ + + + + + + + + + + + + + + + + + + + + + + + + +

+Typedefs

typedef struct OSContext OSContext
 
typedef struct OSFastMutex OSFastMutex
 
typedef struct OSFastMutexQueue OSFastMutexQueue
 
typedef struct OSMutex OSMutex
 
typedef struct OSMutexQueue OSMutexQueue
 
typedef struct OSThread OSThread
 
typedef uint8_t OSThreadState
 
typedef uint32_t OSThreadRequest
 
typedef uint8_t OSThreadAttributes
 
typedef int(* OSThreadEntryPointFn) (int argc, const char **argv)
 
typedef void(* OSThreadCleanupCallbackFn) (OSThread *thread, void *stack)
 
typedef void(* OSThreadDeallocatorFn) (OSThread *thread, void *stack)
 
+ + + + + + + +

+Enumerations

enum  OSThreadState {
+  OS_THREAD_STATE_NONE = 0, +OS_THREAD_STATE_READY = 1 << 0, +OS_THREAD_STATE_RUNNING = 1 << 1, +OS_THREAD_STATE_WAITING = 1 << 2, +
+  OS_THREAD_STATE_MORIBUND = 1 << 3 +
+ }
 
enum  OSThreadRequest { OS_THREAD_REQUEST_NONE = 0, +OS_THREAD_REQUEST_SUSPEND = 1, +OS_THREAD_REQUEST_CANCEL = 2 + }
 
enum  OSThreadAttributes {
+  OS_THREAD_ATTRIB_AFFINITY_CPU0 = 1 << 0, +OS_THREAD_ATTRIB_AFFINITY_CPU1 = 1 << 1, +OS_THREAD_ATTRIB_AFFINITY_CPU2 = 1 << 2, +OS_THREAD_ATTRIB_AFFINITY_ANY = 1 << 3, +
+  OS_THREAD_ATTRIB_DETACHED = 1 << 4 +
+ }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

void OSCancelThread (OSThread *thread)
 
int32_t OSCheckActiveThreads ()
 
int32_t OSCheckThreadStackUsage (OSThread *thread)
 
void OSClearThreadStackUsage (OSThread *thread)
 
void OSContinueThread (OSThread *thread)
 
BOOL OSCreateThread (OSThread *thread, OSThreadEntryPointFn entry, int32_t argc, char *argv, void *stack, uint32_t stackSize, int32_t priority, OSThreadAttributes attributes)
 
void OSDetachThread (OSThread *thread)
 
void OSExitThread (int32_t result)
 
void OSGetActiveThreadLink (OSThread *thread, OSThreadLink *link)
 
OSThreadOSGetCurrentThread ()
 
OSThreadOSGetDefaultThread (uint32_t coreID)
 
uint32_t OSGetStackPointer ()
 
uint32_t OSGetThreadAffinity (OSThread *thread)
 
const char * OSGetThreadName (OSThread *thread)
 
int32_t OSGetThreadPriority (OSThread *thread)
 
uint32_t OSGetThreadSpecific (uint32_t id)
 
BOOL OSIsThreadSuspended (OSThread *thread)
 
BOOL OSIsThreadTerminated (OSThread *thread)
 
BOOL OSJoinThread (OSThread *thread, int *threadResult)
 
void OSPrintCurrentThreadState ()
 
int32_t OSResumeThread (OSThread *thread)
 
BOOL OSRunThread (OSThread *thread, OSThreadEntryPointFn entry, int argc, const char **argv)
 
BOOL OSSetThreadAffinity (OSThread *thread, uint32_t affinity)
 
BOOL OSSetThreadCancelState (BOOL state)
 
OSThreadCleanupCallbackFn OSSetThreadCleanupCallback (OSThread *thread, OSThreadCleanupCallbackFn callback)
 
OSThreadDeallocatorFn OSSetThreadDeallocator (OSThread *thread, OSThreadDeallocatorFn deallocator)
 
void OSSetThreadName (OSThread *thread, const char *name)
 
BOOL OSSetThreadPriority (OSThread *thread, int32_t priority)
 
BOOL OSSetThreadRunQuantum (OSThread *thread, uint32_t quantum)
 
void OSSetThreadSpecific (uint32_t id, uint32_t value)
 
BOOL OSSetThreadStackUsage (OSThread *thread)
 
void OSSleepThread (OSThreadQueue *queue)
 
void OSSleepTicks (OSTime ticks)
 
uint32_t OSSuspendThread (OSThread *thread)
 
void OSTestThreadCancel ()
 
void OSWakeupThread (OSThreadQueue *queue)
 
void OSYieldThread ()
 
+

Detailed Description

+

Macro Definition Documentation

+ +
+
+ + + + +
#define OS_CONTEXT_TAG   0x4F53436F6E747874ull
+
+ +

Definition at line 56 of file thread.h.

+ +
+
+ +
+
+ + + + +
#define OS_THREAD_TAG   0x74487244u
+
+ +

Definition at line 133 of file thread.h.

+ +
+
+

Typedef Documentation

+ +
+
+ + + + +
typedef struct OSContext OSContext
+
+ +

Definition at line 16 of file thread.h.

+ +
+
+ +
+
+ + + + +
typedef struct OSFastMutex OSFastMutex
+
+ +

Definition at line 17 of file thread.h.

+ +
+
+ +
+
+ + + + +
typedef struct OSFastMutexQueue OSFastMutexQueue
+
+ +

Definition at line 18 of file thread.h.

+ +
+
+ +
+
+ + + + +
typedef struct OSMutex OSMutex
+
+ +

Definition at line 19 of file thread.h.

+ +
+
+ +
+
+ + + + +
typedef struct OSMutexQueue OSMutexQueue
+
+ +

Definition at line 20 of file thread.h.

+ +
+
+ +
+
+ + + + +
typedef struct OSThread OSThread
+
+ +

Definition at line 21 of file thread.h.

+ +
+
+ +
+
+ + + + +
typedef uint8_t OSThreadAttributes
+
+ +

Definition at line 25 of file thread.h.

+ +
+
+ +
+
+ + + + +
typedef void(* OSThreadCleanupCallbackFn) (OSThread *thread, void *stack)
+
+ +

Definition at line 28 of file thread.h.

+ +
+
+ +
+
+ + + + +
typedef void(* OSThreadDeallocatorFn) (OSThread *thread, void *stack)
+
+ +

Definition at line 29 of file thread.h.

+ +
+
+ +
+
+ + + + +
typedef int(* OSThreadEntryPointFn) (int argc, const char **argv)
+
+ +

Definition at line 27 of file thread.h.

+ +
+
+ +
+
+ + + + +
typedef uint32_t OSThreadRequest
+
+ +

Definition at line 24 of file thread.h.

+ +
+
+ +
+
+ + + + +
typedef uint8_t OSThreadState
+
+ +

Definition at line 23 of file thread.h.

+ +
+
+

Enumeration Type Documentation

+ +
+
+ + + + +
enum OSThreadAttributes
+
+ + + + + + +
Enumerator
OS_THREAD_ATTRIB_AFFINITY_CPU0  +
OS_THREAD_ATTRIB_AFFINITY_CPU1  +
OS_THREAD_ATTRIB_AFFINITY_CPU2  +
OS_THREAD_ATTRIB_AFFINITY_ANY  +
OS_THREAD_ATTRIB_DETACHED  +
+ +

Definition at line 47 of file thread.h.

+ +
+
+ +
+
+ + + + +
enum OSThreadRequest
+
+ + + + +
Enumerator
OS_THREAD_REQUEST_NONE  +
OS_THREAD_REQUEST_SUSPEND  +
OS_THREAD_REQUEST_CANCEL  +
+ +

Definition at line 40 of file thread.h.

+ +
+
+ +
+
+ + + + +
enum OSThreadState
+
+ + + + + + +
Enumerator
OS_THREAD_STATE_NONE  +
OS_THREAD_STATE_READY  +
OS_THREAD_STATE_RUNNING  +
OS_THREAD_STATE_WAITING  +
OS_THREAD_STATE_MORIBUND  +
+ +

Definition at line 31 of file thread.h.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + +
void OSCancelThread (OSThreadthread)
+
+ +
+
+ +
+
+ + + + + + + +
int32_t OSCheckActiveThreads ()
+
+ +
+
+ +
+
+ + + + + + + + +
int32_t OSCheckThreadStackUsage (OSThreadthread)
+
+ +
+
+ +
+
+ + + + + + + + +
void OSClearThreadStackUsage (OSThreadthread)
+
+ +
+
+ +
+
+ + + + + + + + +
void OSContinueThread (OSThreadthread)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
BOOL OSCreateThread (OSThreadthread,
OSThreadEntryPointFn entry,
int32_t argc,
char * argv,
void * stack,
uint32_t stackSize,
int32_t priority,
OSThreadAttributes attributes 
)
+
+ +
+
+ +
+
+ + + + + + + + +
void OSDetachThread (OSThreadthread)
+
+ +
+
+ +
+
+ + + + + + + + +
void OSExitThread (int32_t result)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void OSGetActiveThreadLink (OSThreadthread,
OSThreadLinklink 
)
+
+ +
+
+ +
+
+ + + + + + + +
OSThread* OSGetCurrentThread ()
+
+ +
+
+ +
+
+ + + + + + + + +
OSThread* OSGetDefaultThread (uint32_t coreID)
+
+ +
+
+ +
+
+ + + + + + + +
uint32_t OSGetStackPointer ()
+
+ +
+
+ +
+
+ + + + + + + + +
uint32_t OSGetThreadAffinity (OSThreadthread)
+
+ +
+
+ +
+
+ + + + + + + + +
const char* OSGetThreadName (OSThreadthread)
+
+ +
+
+ +
+
+ + + + + + + + +
int32_t OSGetThreadPriority (OSThreadthread)
+
+ +
+
+ +
+
+ + + + + + + + +
uint32_t OSGetThreadSpecific (uint32_t id)
+
+ +
+
+ +
+
+ + + + + + + + +
BOOL OSIsThreadSuspended (OSThreadthread)
+
+ +
+
+ +
+
+ + + + + + + + +
BOOL OSIsThreadTerminated (OSThreadthread)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOL OSJoinThread (OSThreadthread,
int * threadResult 
)
+
+ +
+
+ +
+
+ + + + + + + +
void OSPrintCurrentThreadState ()
+
+ +
+
+ +
+
+ + + + + + + + +
int32_t OSResumeThread (OSThreadthread)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
BOOL OSRunThread (OSThreadthread,
OSThreadEntryPointFn entry,
int argc,
const char ** argv 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOL OSSetThreadAffinity (OSThreadthread,
uint32_t affinity 
)
+
+ +
+
+ +
+
+ + + + + + + + +
BOOL OSSetThreadCancelState (BOOL state)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
OSThreadCleanupCallbackFn OSSetThreadCleanupCallback (OSThreadthread,
OSThreadCleanupCallbackFn callback 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
OSThreadDeallocatorFn OSSetThreadDeallocator (OSThreadthread,
OSThreadDeallocatorFn deallocator 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void OSSetThreadName (OSThreadthread,
const char * name 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOL OSSetThreadPriority (OSThreadthread,
int32_t priority 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOL OSSetThreadRunQuantum (OSThreadthread,
uint32_t quantum 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void OSSetThreadSpecific (uint32_t id,
uint32_t value 
)
+
+ +
+
+ +
+
+ + + + + + + + +
BOOL OSSetThreadStackUsage (OSThreadthread)
+
+ +
+
+ +
+
+ + + + + + + + +
void OSSleepThread (OSThreadQueuequeue)
+
+ +
+
+ +
+
+ + + + + + + + +
void OSSleepTicks (OSTime ticks)
+
+ +
+
+ +
+
+ + + + + + + + +
uint32_t OSSuspendThread (OSThreadthread)
+
+ +
+
+ +
+
+ + + + + + + +
void OSTestThreadCancel ()
+
+ +
+
+ +
+
+ + + + + + + + +
void OSWakeupThread (OSThreadQueuequeue)
+
+ +
+
+ +
+
+ + + + + + + +
void OSYieldThread ()
+
+ +
+
+
+ + + + diff --git a/group__coreinit__threadq.html b/group__coreinit__threadq.html new file mode 100644 index 0000000..adb1526 --- /dev/null +++ b/group__coreinit__threadq.html @@ -0,0 +1,225 @@ + + + + + + +WUT: Thread Queue + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Thread Queue
+
+
+ + + + + + + + +

+Data Structures

struct  OSThreadLink
 
struct  OSThreadQueue
 
struct  OSThreadSimpleQueue
 
+ + + + + + + + + +

+Typedefs

typedef struct OSThread OSThread
 
typedef struct OSThreadLink OSThreadLink
 
typedef struct OSThreadQueue OSThreadQueue
 
typedef struct OSThreadSimpleQueue OSThreadSimpleQueue
 
+ + + + + +

+Functions

void OSInitThreadQueue (OSThreadQueue *queue)
 
void OSInitThreadQueueEx (OSThreadQueue *queue, void *parent)
 
+

Detailed Description

+

Typedef Documentation

+ +
+
+ + + + +
typedef struct OSThread OSThread
+
+ +

Definition at line 14 of file threadqueue.h.

+ +
+
+ +
+
+ + + + +
typedef struct OSThreadLink OSThreadLink
+
+ +

Definition at line 16 of file threadqueue.h.

+ +
+
+ +
+
+ + + + +
typedef struct OSThreadQueue OSThreadQueue
+
+ +

Definition at line 17 of file threadqueue.h.

+ +
+
+ +
+
+ + + + +
typedef struct OSThreadSimpleQueue OSThreadSimpleQueue
+
+ +

Definition at line 18 of file threadqueue.h.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + +
void OSInitThreadQueue (OSThreadQueuequeue)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void OSInitThreadQueueEx (OSThreadQueuequeue,
void * parent 
)
+
+ +
+
+
+ + + + diff --git a/group__coreinit__time.html b/group__coreinit__time.html new file mode 100644 index 0000000..f5372b0 --- /dev/null +++ b/group__coreinit__time.html @@ -0,0 +1,273 @@ + + + + + + +WUT: Time + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ + +
+ + + + +

+Data Structures

struct  OSCalendarTime
 
+ + + + + + + +

+Typedefs

typedef struct OSCalendarTime OSCalendarTime
 
typedef int32_t OSTick
 
typedef int64_t OSTime
 
+ + + + + + + + + + + + + +

+Functions

OSTime OSGetTime ()
 
OSTime OSGetSystemTime ()
 
OSTick OSGetTick ()
 
OSTick OSGetSystemTick ()
 
OSTime OSCalendarTimeToTicks (OSCalendarTime *calendarTime)
 
void OSTicksToCalendarTime (OSTime time, OSCalendarTime *calendarTime)
 
+

Detailed Description

+

Typedef Documentation

+ +
+
+ + + + +
typedef struct OSCalendarTime OSCalendarTime
+
+ +

Definition at line 14 of file time.h.

+ +
+
+ +
+
+ + + + +
typedef int32_t OSTick
+
+ +

Definition at line 16 of file time.h.

+ +
+
+ +
+
+ + + + +
typedef int64_t OSTime
+
+ +

Definition at line 17 of file time.h.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + +
OSTime OSCalendarTimeToTicks (OSCalendarTimecalendarTime)
+
+ +
+
+ +
+
+ + + + + + + +
OSTick OSGetSystemTick ()
+
+ +
+
+ +
+
+ + + + + + + +
OSTime OSGetSystemTime ()
+
+ +
+
+ +
+
+ + + + + + + +
OSTick OSGetTick ()
+
+ +
+
+ +
+
+ + + + + + + +
OSTime OSGetTime ()
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void OSTicksToCalendarTime (OSTime time,
OSCalendarTimecalendarTime 
)
+
+ +
+
+
+ + + + diff --git a/group__coreinit__unitheap.html b/group__coreinit__unitheap.html new file mode 100644 index 0000000..35ea67f --- /dev/null +++ b/group__coreinit__unitheap.html @@ -0,0 +1,307 @@ + + + + + + +WUT: Unit Heap + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Unit Heap
+
+
+ + + + +

+Data Structures

struct  MEMUnitHeap
 
+ + + +

+Typedefs

typedef struct MEMUnitHeap MEMUnitHeap
 
+ + + + + + + + + + + + + + + +

+Functions

MEMUnitHeapMEMCreateUnitHeapEx (MEMUnitHeap *heap, uint32_t size, uint32_t blockSize, int32_t alignment, uint16_t flags)
 
void * MEMDestroyUnitHeap (MEMUnitHeap *heap)
 
void * MEMAllocFromUnitHeap (MEMUnitHeap *heap)
 
void MEMFreeToUnitHeap (MEMUnitHeap *heap, void *block)
 
void MEMiDumpUnitHeap (MEMUnitHeap *heap)
 
uint32_t MEMCountFreeBlockForUnitHeap (MEMUnitHeap *heap)
 
uint32_t MEMCalcHeapSizeForUnitHeap (uint32_t blockSize, uint32_t count, int32_t alignment)
 
+

Detailed Description

+

Typedef Documentation

+ +
+
+ + + + +
typedef struct MEMUnitHeap MEMUnitHeap
+
+ +

Definition at line 14 of file unitheap.h.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + +
void* MEMAllocFromUnitHeap (MEMUnitHeapheap)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
uint32_t MEMCalcHeapSizeForUnitHeap (uint32_t blockSize,
uint32_t count,
int32_t alignment 
)
+
+ +
+
+ +
+
+ + + + + + + + +
uint32_t MEMCountFreeBlockForUnitHeap (MEMUnitHeapheap)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MEMUnitHeap* MEMCreateUnitHeapEx (MEMUnitHeapheap,
uint32_t size,
uint32_t blockSize,
int32_t alignment,
uint16_t flags 
)
+
+ +
+
+ +
+
+ + + + + + + + +
void* MEMDestroyUnitHeap (MEMUnitHeapheap)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void MEMFreeToUnitHeap (MEMUnitHeapheap,
void * block 
)
+
+ +
+
+ +
+
+ + + + + + + + +
void MEMiDumpUnitHeap (MEMUnitHeapheap)
+
+ +
+
+
+ + + + diff --git a/group__gx2.html b/group__gx2.html new file mode 100644 index 0000000..c1a81a9 --- /dev/null +++ b/group__gx2.html @@ -0,0 +1,102 @@ + + + + + + +WUT: gx2 + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
gx2
+
+
+ + + + +

+Modules

 State
 
+

Detailed Description

+

Graphics driver.

+
+ + + + diff --git a/group__gx2__state.html b/group__gx2__state.html new file mode 100644 index 0000000..59b1dd4 --- /dev/null +++ b/group__gx2__state.html @@ -0,0 +1,197 @@ + + + + + + +WUT: State + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
State
+
+
+ + + + +

+Typedefs

typedef uint32_t GX2InitAttributes
 
+ + + +

+Enumerations

enum  GX2InitAttributes {
+  GX2_INIT_END = 0, +GX2_INIT_CMD_BUF_BASE = 1, +GX2_INIT_CMD_BUF_POOL_SIZE = 2, +GX2_INIT_ARGC = 7, +
+  GX2_INIT_ARGV = 8 +
+ }
 
+ + + + + +

+Functions

void GX2Init (uint32_t *attributes)
 
void GX2Shutdown ()
 
+

Detailed Description

+

Typedef Documentation

+ +
+
+ + + + +
typedef uint32_t GX2InitAttributes
+
+ +

Definition at line 14 of file state.h.

+ +
+
+

Enumeration Type Documentation

+ +
+
+ + + + +
enum GX2InitAttributes
+
+ + + + + + +
Enumerator
GX2_INIT_END  +
GX2_INIT_CMD_BUF_BASE  +
GX2_INIT_CMD_BUF_POOL_SIZE  +
GX2_INIT_ARGC  +
GX2_INIT_ARGV  +
+ +

Definition at line 16 of file state.h.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + +
void GX2Init (uint32_t * attributes)
+
+ +
+
+ +
+
+ + + + + + + +
void GX2Shutdown ()
+
+ +
+
+
+ + + + diff --git a/gx2_8dox.html b/gx2_8dox.html new file mode 100644 index 0000000..b2503b1 --- /dev/null +++ b/gx2_8dox.html @@ -0,0 +1,98 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/gx2/gx2.dox File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+
+
D:/Programming/Projects/wut/include/gx2/gx2.dox File Reference
+
+
+
+ + + + diff --git a/index.html b/index.html new file mode 100644 index 0000000..51248f1 --- /dev/null +++ b/index.html @@ -0,0 +1,98 @@ + + + + + + +WUT: Wii U Toolchain + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ +
+
+
Wii U Toolchain
+
+
+

+Introduction

+

An experimental in-development Wii U toolchain, the source can be found at https://github.com/decaf-emu/wut

+

+Usage

+

TODO.

+
+ + + + diff --git a/jquery.js b/jquery.js new file mode 100644 index 0000000..1f4d0b4 --- /dev/null +++ b/jquery.js @@ -0,0 +1,68 @@ +/*! + * jQuery JavaScript Library v1.7.1 + * http://jquery.com/ + * + * Copyright 2011, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Mon Nov 21 21:11:03 2011 -0500 + */ +(function(bb,L){var av=bb.document,bu=bb.navigator,bl=bb.location;var b=(function(){var bF=function(b0,b1){return new bF.fn.init(b0,b1,bD)},bU=bb.jQuery,bH=bb.$,bD,bY=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bM=/\S/,bI=/^\s+/,bE=/\s+$/,bA=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bN=/^[\],:{}\s]*$/,bW=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bP=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bJ=/(?:^|:|,)(?:\s*\[)+/g,by=/(webkit)[ \/]([\w.]+)/,bR=/(opera)(?:.*version)?[ \/]([\w.]+)/,bQ=/(msie) ([\w.]+)/,bS=/(mozilla)(?:.*? rv:([\w.]+))?/,bB=/-([a-z]|[0-9])/ig,bZ=/^-ms-/,bT=function(b0,b1){return(b1+"").toUpperCase()},bX=bu.userAgent,bV,bC,e,bL=Object.prototype.toString,bG=Object.prototype.hasOwnProperty,bz=Array.prototype.push,bK=Array.prototype.slice,bO=String.prototype.trim,bv=Array.prototype.indexOf,bx={};bF.fn=bF.prototype={constructor:bF,init:function(b0,b4,b3){var b2,b5,b1,b6;if(!b0){return this}if(b0.nodeType){this.context=this[0]=b0;this.length=1;return this}if(b0==="body"&&!b4&&av.body){this.context=av;this[0]=av.body;this.selector=b0;this.length=1;return this}if(typeof b0==="string"){if(b0.charAt(0)==="<"&&b0.charAt(b0.length-1)===">"&&b0.length>=3){b2=[null,b0,null]}else{b2=bY.exec(b0)}if(b2&&(b2[1]||!b4)){if(b2[1]){b4=b4 instanceof bF?b4[0]:b4;b6=(b4?b4.ownerDocument||b4:av);b1=bA.exec(b0);if(b1){if(bF.isPlainObject(b4)){b0=[av.createElement(b1[1])];bF.fn.attr.call(b0,b4,true)}else{b0=[b6.createElement(b1[1])]}}else{b1=bF.buildFragment([b2[1]],[b6]);b0=(b1.cacheable?bF.clone(b1.fragment):b1.fragment).childNodes}return bF.merge(this,b0)}else{b5=av.getElementById(b2[2]);if(b5&&b5.parentNode){if(b5.id!==b2[2]){return b3.find(b0)}this.length=1;this[0]=b5}this.context=av;this.selector=b0;return this}}else{if(!b4||b4.jquery){return(b4||b3).find(b0)}else{return this.constructor(b4).find(b0)}}}else{if(bF.isFunction(b0)){return b3.ready(b0)}}if(b0.selector!==L){this.selector=b0.selector;this.context=b0.context}return bF.makeArray(b0,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return bK.call(this,0)},get:function(b0){return b0==null?this.toArray():(b0<0?this[this.length+b0]:this[b0])},pushStack:function(b1,b3,b0){var b2=this.constructor();if(bF.isArray(b1)){bz.apply(b2,b1)}else{bF.merge(b2,b1)}b2.prevObject=this;b2.context=this.context;if(b3==="find"){b2.selector=this.selector+(this.selector?" ":"")+b0}else{if(b3){b2.selector=this.selector+"."+b3+"("+b0+")"}}return b2},each:function(b1,b0){return bF.each(this,b1,b0)},ready:function(b0){bF.bindReady();bC.add(b0);return this},eq:function(b0){b0=+b0;return b0===-1?this.slice(b0):this.slice(b0,b0+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bK.apply(this,arguments),"slice",bK.call(arguments).join(","))},map:function(b0){return this.pushStack(bF.map(this,function(b2,b1){return b0.call(b2,b1,b2)}))},end:function(){return this.prevObject||this.constructor(null)},push:bz,sort:[].sort,splice:[].splice};bF.fn.init.prototype=bF.fn;bF.extend=bF.fn.extend=function(){var b9,b2,b0,b1,b6,b7,b5=arguments[0]||{},b4=1,b3=arguments.length,b8=false;if(typeof b5==="boolean"){b8=b5;b5=arguments[1]||{};b4=2}if(typeof b5!=="object"&&!bF.isFunction(b5)){b5={}}if(b3===b4){b5=this;--b4}for(;b40){return}bC.fireWith(av,[bF]);if(bF.fn.trigger){bF(av).trigger("ready").off("ready")}}},bindReady:function(){if(bC){return}bC=bF.Callbacks("once memory");if(av.readyState==="complete"){return setTimeout(bF.ready,1)}if(av.addEventListener){av.addEventListener("DOMContentLoaded",e,false);bb.addEventListener("load",bF.ready,false)}else{if(av.attachEvent){av.attachEvent("onreadystatechange",e);bb.attachEvent("onload",bF.ready);var b0=false;try{b0=bb.frameElement==null}catch(b1){}if(av.documentElement.doScroll&&b0){bw()}}}},isFunction:function(b0){return bF.type(b0)==="function"},isArray:Array.isArray||function(b0){return bF.type(b0)==="array"},isWindow:function(b0){return b0&&typeof b0==="object"&&"setInterval" in b0},isNumeric:function(b0){return !isNaN(parseFloat(b0))&&isFinite(b0)},type:function(b0){return b0==null?String(b0):bx[bL.call(b0)]||"object"},isPlainObject:function(b2){if(!b2||bF.type(b2)!=="object"||b2.nodeType||bF.isWindow(b2)){return false}try{if(b2.constructor&&!bG.call(b2,"constructor")&&!bG.call(b2.constructor.prototype,"isPrototypeOf")){return false}}catch(b1){return false}var b0;for(b0 in b2){}return b0===L||bG.call(b2,b0)},isEmptyObject:function(b1){for(var b0 in b1){return false}return true},error:function(b0){throw new Error(b0)},parseJSON:function(b0){if(typeof b0!=="string"||!b0){return null}b0=bF.trim(b0);if(bb.JSON&&bb.JSON.parse){return bb.JSON.parse(b0)}if(bN.test(b0.replace(bW,"@").replace(bP,"]").replace(bJ,""))){return(new Function("return "+b0))()}bF.error("Invalid JSON: "+b0)},parseXML:function(b2){var b0,b1;try{if(bb.DOMParser){b1=new DOMParser();b0=b1.parseFromString(b2,"text/xml")}else{b0=new ActiveXObject("Microsoft.XMLDOM");b0.async="false";b0.loadXML(b2)}}catch(b3){b0=L}if(!b0||!b0.documentElement||b0.getElementsByTagName("parsererror").length){bF.error("Invalid XML: "+b2)}return b0},noop:function(){},globalEval:function(b0){if(b0&&bM.test(b0)){(bb.execScript||function(b1){bb["eval"].call(bb,b1)})(b0)}},camelCase:function(b0){return b0.replace(bZ,"ms-").replace(bB,bT)},nodeName:function(b1,b0){return b1.nodeName&&b1.nodeName.toUpperCase()===b0.toUpperCase()},each:function(b3,b6,b2){var b1,b4=0,b5=b3.length,b0=b5===L||bF.isFunction(b3);if(b2){if(b0){for(b1 in b3){if(b6.apply(b3[b1],b2)===false){break}}}else{for(;b40&&b0[0]&&b0[b1-1])||b1===0||bF.isArray(b0));if(b3){for(;b21?aJ.call(arguments,0):bG;if(!(--bw)){bC.resolveWith(bC,bx)}}}function bz(bF){return function(bG){bB[bF]=arguments.length>1?aJ.call(arguments,0):bG;bC.notifyWith(bE,bB)}}if(e>1){for(;bv
a";bI=bv.getElementsByTagName("*");bF=bv.getElementsByTagName("a")[0];if(!bI||!bI.length||!bF){return{}}bG=av.createElement("select");bx=bG.appendChild(av.createElement("option"));bE=bv.getElementsByTagName("input")[0];bJ={leadingWhitespace:(bv.firstChild.nodeType===3),tbody:!bv.getElementsByTagName("tbody").length,htmlSerialize:!!bv.getElementsByTagName("link").length,style:/top/.test(bF.getAttribute("style")),hrefNormalized:(bF.getAttribute("href")==="/a"),opacity:/^0.55/.test(bF.style.opacity),cssFloat:!!bF.style.cssFloat,checkOn:(bE.value==="on"),optSelected:bx.selected,getSetAttribute:bv.className!=="t",enctype:!!av.createElement("form").enctype,html5Clone:av.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bE.checked=true;bJ.noCloneChecked=bE.cloneNode(true).checked;bG.disabled=true;bJ.optDisabled=!bx.disabled;try{delete bv.test}catch(bC){bJ.deleteExpando=false}if(!bv.addEventListener&&bv.attachEvent&&bv.fireEvent){bv.attachEvent("onclick",function(){bJ.noCloneEvent=false});bv.cloneNode(true).fireEvent("onclick")}bE=av.createElement("input");bE.value="t";bE.setAttribute("type","radio");bJ.radioValue=bE.value==="t";bE.setAttribute("checked","checked");bv.appendChild(bE);bD=av.createDocumentFragment();bD.appendChild(bv.lastChild);bJ.checkClone=bD.cloneNode(true).cloneNode(true).lastChild.checked;bJ.appendChecked=bE.checked;bD.removeChild(bE);bD.appendChild(bv);bv.innerHTML="";if(bb.getComputedStyle){bA=av.createElement("div");bA.style.width="0";bA.style.marginRight="0";bv.style.width="2px";bv.appendChild(bA);bJ.reliableMarginRight=(parseInt((bb.getComputedStyle(bA,null)||{marginRight:0}).marginRight,10)||0)===0}if(bv.attachEvent){for(by in {submit:1,change:1,focusin:1}){bB="on"+by;bw=(bB in bv);if(!bw){bv.setAttribute(bB,"return;");bw=(typeof bv[bB]==="function")}bJ[by+"Bubbles"]=bw}}bD.removeChild(bv);bD=bG=bx=bA=bv=bE=null;b(function(){var bM,bU,bV,bT,bN,bO,bL,bS,bR,e,bP,bQ=av.getElementsByTagName("body")[0];if(!bQ){return}bL=1;bS="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";bR="visibility:hidden;border:0;";e="style='"+bS+"border:5px solid #000;padding:0;'";bP="
";bM=av.createElement("div");bM.style.cssText=bR+"width:0;height:0;position:static;top:0;margin-top:"+bL+"px";bQ.insertBefore(bM,bQ.firstChild);bv=av.createElement("div");bM.appendChild(bv);bv.innerHTML="
t
";bz=bv.getElementsByTagName("td");bw=(bz[0].offsetHeight===0);bz[0].style.display="";bz[1].style.display="none";bJ.reliableHiddenOffsets=bw&&(bz[0].offsetHeight===0);bv.innerHTML="";bv.style.width=bv.style.paddingLeft="1px";b.boxModel=bJ.boxModel=bv.offsetWidth===2;if(typeof bv.style.zoom!=="undefined"){bv.style.display="inline";bv.style.zoom=1;bJ.inlineBlockNeedsLayout=(bv.offsetWidth===2);bv.style.display="";bv.innerHTML="
";bJ.shrinkWrapBlocks=(bv.offsetWidth!==2)}bv.style.cssText=bS+bR;bv.innerHTML=bP;bU=bv.firstChild;bV=bU.firstChild;bN=bU.nextSibling.firstChild.firstChild;bO={doesNotAddBorder:(bV.offsetTop!==5),doesAddBorderForTableAndCells:(bN.offsetTop===5)};bV.style.position="fixed";bV.style.top="20px";bO.fixedPosition=(bV.offsetTop===20||bV.offsetTop===15);bV.style.position=bV.style.top="";bU.style.overflow="hidden";bU.style.position="relative";bO.subtractsBorderForOverflowNotVisible=(bV.offsetTop===-5);bO.doesNotIncludeMarginInBodyOffset=(bQ.offsetTop!==bL);bQ.removeChild(bM);bv=bM=null;b.extend(bJ,bO)});return bJ})();var aS=/^(?:\{.*\}|\[.*\])$/,aA=/([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?b.cache[e[b.expando]]:e[b.expando];return !!e&&!S(e)},data:function(bx,bv,bz,by){if(!b.acceptData(bx)){return}var bG,bA,bD,bE=b.expando,bC=typeof bv==="string",bF=bx.nodeType,e=bF?b.cache:bx,bw=bF?bx[bE]:bx[bE]&&bE,bB=bv==="events";if((!bw||!e[bw]||(!bB&&!by&&!e[bw].data))&&bC&&bz===L){return}if(!bw){if(bF){bx[bE]=bw=++b.uuid}else{bw=bE}}if(!e[bw]){e[bw]={};if(!bF){e[bw].toJSON=b.noop}}if(typeof bv==="object"||typeof bv==="function"){if(by){e[bw]=b.extend(e[bw],bv)}else{e[bw].data=b.extend(e[bw].data,bv)}}bG=bA=e[bw];if(!by){if(!bA.data){bA.data={}}bA=bA.data}if(bz!==L){bA[b.camelCase(bv)]=bz}if(bB&&!bA[bv]){return bG.events}if(bC){bD=bA[bv];if(bD==null){bD=bA[b.camelCase(bv)]}}else{bD=bA}return bD},removeData:function(bx,bv,by){if(!b.acceptData(bx)){return}var bB,bA,bz,bC=b.expando,bD=bx.nodeType,e=bD?b.cache:bx,bw=bD?bx[bC]:bC;if(!e[bw]){return}if(bv){bB=by?e[bw]:e[bw].data;if(bB){if(!b.isArray(bv)){if(bv in bB){bv=[bv]}else{bv=b.camelCase(bv);if(bv in bB){bv=[bv]}else{bv=bv.split(" ")}}}for(bA=0,bz=bv.length;bA-1){return true}}return false},val:function(bx){var e,bv,by,bw=this[0];if(!arguments.length){if(bw){e=b.valHooks[bw.nodeName.toLowerCase()]||b.valHooks[bw.type];if(e&&"get" in e&&(bv=e.get(bw,"value"))!==L){return bv}bv=bw.value;return typeof bv==="string"?bv.replace(aU,""):bv==null?"":bv}return}by=b.isFunction(bx);return this.each(function(bA){var bz=b(this),bB;if(this.nodeType!==1){return}if(by){bB=bx.call(this,bA,bz.val())}else{bB=bx}if(bB==null){bB=""}else{if(typeof bB==="number"){bB+=""}else{if(b.isArray(bB)){bB=b.map(bB,function(bC){return bC==null?"":bC+""})}}}e=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!e||!("set" in e)||e.set(this,bB,"value")===L){this.value=bB}})}});b.extend({valHooks:{option:{get:function(e){var bv=e.attributes.value;return !bv||bv.specified?e.value:e.text}},select:{get:function(e){var bA,bv,bz,bx,by=e.selectedIndex,bB=[],bC=e.options,bw=e.type==="select-one";if(by<0){return null}bv=bw?by:0;bz=bw?by+1:bC.length;for(;bv=0});if(!e.length){bv.selectedIndex=-1}return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(bA,bx,bB,bz){var bw,e,by,bv=bA.nodeType;if(!bA||bv===3||bv===8||bv===2){return}if(bz&&bx in b.attrFn){return b(bA)[bx](bB)}if(typeof bA.getAttribute==="undefined"){return b.prop(bA,bx,bB)}by=bv!==1||!b.isXMLDoc(bA);if(by){bx=bx.toLowerCase();e=b.attrHooks[bx]||(ao.test(bx)?aY:be)}if(bB!==L){if(bB===null){b.removeAttr(bA,bx);return}else{if(e&&"set" in e&&by&&(bw=e.set(bA,bB,bx))!==L){return bw}else{bA.setAttribute(bx,""+bB);return bB}}}else{if(e&&"get" in e&&by&&(bw=e.get(bA,bx))!==null){return bw}else{bw=bA.getAttribute(bx);return bw===null?L:bw}}},removeAttr:function(bx,bz){var by,bA,bv,e,bw=0;if(bz&&bx.nodeType===1){bA=bz.toLowerCase().split(af);e=bA.length;for(;bw=0)}}})});var bd=/^(?:textarea|input|select)$/i,n=/^([^\.]*)?(?:\.(.+))?$/,J=/\bhover(\.\S+)?\b/,aO=/^key/,bf=/^(?:mouse|contextmenu)|click/,T=/^(?:focusinfocus|focusoutblur)$/,U=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Y=function(e){var bv=U.exec(e);if(bv){bv[1]=(bv[1]||"").toLowerCase();bv[3]=bv[3]&&new RegExp("(?:^|\\s)"+bv[3]+"(?:\\s|$)")}return bv},j=function(bw,e){var bv=bw.attributes||{};return((!e[1]||bw.nodeName.toLowerCase()===e[1])&&(!e[2]||(bv.id||{}).value===e[2])&&(!e[3]||e[3].test((bv["class"]||{}).value)))},bt=function(e){return b.event.special.hover?e:e.replace(J,"mouseenter$1 mouseleave$1")};b.event={add:function(bx,bC,bJ,bA,by){var bD,bB,bK,bI,bH,bF,e,bG,bv,bz,bw,bE;if(bx.nodeType===3||bx.nodeType===8||!bC||!bJ||!(bD=b._data(bx))){return}if(bJ.handler){bv=bJ;bJ=bv.handler}if(!bJ.guid){bJ.guid=b.guid++}bK=bD.events;if(!bK){bD.events=bK={}}bB=bD.handle;if(!bB){bD.handle=bB=function(bL){return typeof b!=="undefined"&&(!bL||b.event.triggered!==bL.type)?b.event.dispatch.apply(bB.elem,arguments):L};bB.elem=bx}bC=b.trim(bt(bC)).split(" ");for(bI=0;bI=0){bG=bG.slice(0,-1);bw=true}if(bG.indexOf(".")>=0){bx=bG.split(".");bG=bx.shift();bx.sort()}if((!bA||b.event.customEvent[bG])&&!b.event.global[bG]){return}bv=typeof bv==="object"?bv[b.expando]?bv:new b.Event(bG,bv):new b.Event(bG);bv.type=bG;bv.isTrigger=true;bv.exclusive=bw;bv.namespace=bx.join(".");bv.namespace_re=bv.namespace?new RegExp("(^|\\.)"+bx.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;by=bG.indexOf(":")<0?"on"+bG:"";if(!bA){e=b.cache;for(bC in e){if(e[bC].events&&e[bC].events[bG]){b.event.trigger(bv,bD,e[bC].handle.elem,true)}}return}bv.result=L;if(!bv.target){bv.target=bA}bD=bD!=null?b.makeArray(bD):[];bD.unshift(bv);bF=b.event.special[bG]||{};if(bF.trigger&&bF.trigger.apply(bA,bD)===false){return}bB=[[bA,bF.bindType||bG]];if(!bJ&&!bF.noBubble&&!b.isWindow(bA)){bI=bF.delegateType||bG;bH=T.test(bI+bG)?bA:bA.parentNode;bz=null;for(;bH;bH=bH.parentNode){bB.push([bH,bI]);bz=bH}if(bz&&bz===bA.ownerDocument){bB.push([bz.defaultView||bz.parentWindow||bb,bI])}}for(bC=0;bCbA){bH.push({elem:this,matches:bz.slice(bA)})}for(bC=0;bC0?this.on(e,null,bx,bw):this.trigger(e)};if(b.attrFn){b.attrFn[e]=true}if(aO.test(e)){b.event.fixHooks[e]=b.event.keyHooks}if(bf.test(e)){b.event.fixHooks[e]=b.event.mouseHooks}}); +/*! + * Sizzle CSS Selector Engine + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * More information: http://sizzlejs.com/ + */ +(function(){var bH=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bC="sizcache"+(Math.random()+"").replace(".",""),bI=0,bL=Object.prototype.toString,bB=false,bA=true,bK=/\\/g,bO=/\r\n/g,bQ=/\W/;[0,0].sort(function(){bA=false;return 0});var by=function(bV,e,bY,bZ){bY=bY||[];e=e||av;var b1=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bV||typeof bV!=="string"){return bY}var bS,b3,b6,bR,b2,b5,b4,bX,bU=true,bT=by.isXML(e),bW=[],b0=bV;do{bH.exec("");bS=bH.exec(b0);if(bS){b0=bS[3];bW.push(bS[1]);if(bS[2]){bR=bS[3];break}}}while(bS);if(bW.length>1&&bD.exec(bV)){if(bW.length===2&&bE.relative[bW[0]]){b3=bM(bW[0]+bW[1],e,bZ)}else{b3=bE.relative[bW[0]]?[e]:by(bW.shift(),e);while(bW.length){bV=bW.shift();if(bE.relative[bV]){bV+=bW.shift()}b3=bM(bV,b3,bZ)}}}else{if(!bZ&&bW.length>1&&e.nodeType===9&&!bT&&bE.match.ID.test(bW[0])&&!bE.match.ID.test(bW[bW.length-1])){b2=by.find(bW.shift(),e,bT);e=b2.expr?by.filter(b2.expr,b2.set)[0]:b2.set[0]}if(e){b2=bZ?{expr:bW.pop(),set:bF(bZ)}:by.find(bW.pop(),bW.length===1&&(bW[0]==="~"||bW[0]==="+")&&e.parentNode?e.parentNode:e,bT);b3=b2.expr?by.filter(b2.expr,b2.set):b2.set;if(bW.length>0){b6=bF(b3)}else{bU=false}while(bW.length){b5=bW.pop();b4=b5;if(!bE.relative[b5]){b5=""}else{b4=bW.pop()}if(b4==null){b4=e}bE.relative[b5](b6,b4,bT)}}else{b6=bW=[]}}if(!b6){b6=b3}if(!b6){by.error(b5||bV)}if(bL.call(b6)==="[object Array]"){if(!bU){bY.push.apply(bY,b6)}else{if(e&&e.nodeType===1){for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&(b6[bX]===true||b6[bX].nodeType===1&&by.contains(e,b6[bX]))){bY.push(b3[bX])}}}else{for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&b6[bX].nodeType===1){bY.push(b3[bX])}}}}}else{bF(b6,bY)}if(bR){by(bR,b1,bY,bZ);by.uniqueSort(bY)}return bY};by.uniqueSort=function(bR){if(bJ){bB=bA;bR.sort(bJ);if(bB){for(var e=1;e0};by.find=function(bX,e,bY){var bW,bS,bU,bT,bV,bR;if(!bX){return[]}for(bS=0,bU=bE.order.length;bS":function(bW,bR){var bV,bU=typeof bR==="string",bS=0,e=bW.length;if(bU&&!bQ.test(bR)){bR=bR.toLowerCase();for(;bS=0)){if(!bS){e.push(bV)}}else{if(bS){bR[bU]=false}}}}return false},ID:function(e){return e[1].replace(bK,"")},TAG:function(bR,e){return bR[1].replace(bK,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){by.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bR=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bR[1]+(bR[2]||1))-0;e[3]=bR[3]-0}else{if(e[2]){by.error(e[0])}}e[0]=bI++;return e},ATTR:function(bU,bR,bS,e,bV,bW){var bT=bU[1]=bU[1].replace(bK,"");if(!bW&&bE.attrMap[bT]){bU[1]=bE.attrMap[bT]}bU[4]=(bU[4]||bU[5]||"").replace(bK,"");if(bU[2]==="~="){bU[4]=" "+bU[4]+" "}return bU},PSEUDO:function(bU,bR,bS,e,bV){if(bU[1]==="not"){if((bH.exec(bU[3])||"").length>1||/^\w/.test(bU[3])){bU[3]=by(bU[3],null,null,bR)}else{var bT=by.filter(bU[3],bR,bS,true^bV);if(!bS){e.push.apply(e,bT)}return false}}else{if(bE.match.POS.test(bU[0])||bE.match.CHILD.test(bU[0])){return true}}return bU},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bS,bR,e){return !!by(e[3],bS).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bS){var e=bS.getAttribute("type"),bR=bS.type;return bS.nodeName.toLowerCase()==="input"&&"text"===bR&&(e===bR||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bR.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bR.type},button:function(bR){var e=bR.nodeName.toLowerCase();return e==="input"&&"button"===bR.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(bR,e){return e===0},last:function(bS,bR,e,bT){return bR===bT.length-1},even:function(bR,e){return e%2===0},odd:function(bR,e){return e%2===1},lt:function(bS,bR,e){return bRe[3]-0},nth:function(bS,bR,e){return e[3]-0===bR},eq:function(bS,bR,e){return e[3]-0===bR}},filter:{PSEUDO:function(bS,bX,bW,bY){var e=bX[1],bR=bE.filters[e];if(bR){return bR(bS,bW,bX,bY)}else{if(e==="contains"){return(bS.textContent||bS.innerText||bw([bS])||"").indexOf(bX[3])>=0}else{if(e==="not"){var bT=bX[3];for(var bV=0,bU=bT.length;bV=0)}}},ID:function(bR,e){return bR.nodeType===1&&bR.getAttribute("id")===e},TAG:function(bR,e){return(e==="*"&&bR.nodeType===1)||!!bR.nodeName&&bR.nodeName.toLowerCase()===e},CLASS:function(bR,e){return(" "+(bR.className||bR.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bV,bT){var bS=bT[1],e=by.attr?by.attr(bV,bS):bE.attrHandle[bS]?bE.attrHandle[bS](bV):bV[bS]!=null?bV[bS]:bV.getAttribute(bS),bW=e+"",bU=bT[2],bR=bT[4];return e==null?bU==="!=":!bU&&by.attr?e!=null:bU==="="?bW===bR:bU==="*="?bW.indexOf(bR)>=0:bU==="~="?(" "+bW+" ").indexOf(bR)>=0:!bR?bW&&e!==false:bU==="!="?bW!==bR:bU==="^="?bW.indexOf(bR)===0:bU==="$="?bW.substr(bW.length-bR.length)===bR:bU==="|="?bW===bR||bW.substr(0,bR.length+1)===bR+"-":false},POS:function(bU,bR,bS,bV){var e=bR[2],bT=bE.setFilters[e];if(bT){return bT(bU,bS,bR,bV)}}}};var bD=bE.match.POS,bx=function(bR,e){return"\\"+(e-0+1)};for(var bz in bE.match){bE.match[bz]=new RegExp(bE.match[bz].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bE.leftMatch[bz]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bE.match[bz].source.replace(/\\(\d+)/g,bx))}var bF=function(bR,e){bR=Array.prototype.slice.call(bR,0);if(e){e.push.apply(e,bR);return e}return bR};try{Array.prototype.slice.call(av.documentElement.childNodes,0)[0].nodeType}catch(bP){bF=function(bU,bT){var bS=0,bR=bT||[];if(bL.call(bU)==="[object Array]"){Array.prototype.push.apply(bR,bU)}else{if(typeof bU.length==="number"){for(var e=bU.length;bS";e.insertBefore(bR,e.firstChild);if(av.getElementById(bS)){bE.find.ID=function(bU,bV,bW){if(typeof bV.getElementById!=="undefined"&&!bW){var bT=bV.getElementById(bU[1]);return bT?bT.id===bU[1]||typeof bT.getAttributeNode!=="undefined"&&bT.getAttributeNode("id").nodeValue===bU[1]?[bT]:L:[]}};bE.filter.ID=function(bV,bT){var bU=typeof bV.getAttributeNode!=="undefined"&&bV.getAttributeNode("id");return bV.nodeType===1&&bU&&bU.nodeValue===bT}}e.removeChild(bR);e=bR=null})();(function(){var e=av.createElement("div");e.appendChild(av.createComment(""));if(e.getElementsByTagName("*").length>0){bE.find.TAG=function(bR,bV){var bU=bV.getElementsByTagName(bR[1]);if(bR[1]==="*"){var bT=[];for(var bS=0;bU[bS];bS++){if(bU[bS].nodeType===1){bT.push(bU[bS])}}bU=bT}return bU}}e.innerHTML="";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bE.attrHandle.href=function(bR){return bR.getAttribute("href",2)}}e=null})();if(av.querySelectorAll){(function(){var e=by,bT=av.createElement("div"),bS="__sizzle__";bT.innerHTML="

";if(bT.querySelectorAll&&bT.querySelectorAll(".TEST").length===0){return}by=function(b4,bV,bZ,b3){bV=bV||av;if(!b3&&!by.isXML(bV)){var b2=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b4);if(b2&&(bV.nodeType===1||bV.nodeType===9)){if(b2[1]){return bF(bV.getElementsByTagName(b4),bZ)}else{if(b2[2]&&bE.find.CLASS&&bV.getElementsByClassName){return bF(bV.getElementsByClassName(b2[2]),bZ)}}}if(bV.nodeType===9){if(b4==="body"&&bV.body){return bF([bV.body],bZ)}else{if(b2&&b2[3]){var bY=bV.getElementById(b2[3]);if(bY&&bY.parentNode){if(bY.id===b2[3]){return bF([bY],bZ)}}else{return bF([],bZ)}}}try{return bF(bV.querySelectorAll(b4),bZ)}catch(b0){}}else{if(bV.nodeType===1&&bV.nodeName.toLowerCase()!=="object"){var bW=bV,bX=bV.getAttribute("id"),bU=bX||bS,b6=bV.parentNode,b5=/^\s*[+~]/.test(b4);if(!bX){bV.setAttribute("id",bU)}else{bU=bU.replace(/'/g,"\\$&")}if(b5&&b6){bV=bV.parentNode}try{if(!b5||b6){return bF(bV.querySelectorAll("[id='"+bU+"'] "+b4),bZ)}}catch(b1){}finally{if(!bX){bW.removeAttribute("id")}}}}}return e(b4,bV,bZ,b3)};for(var bR in e){by[bR]=e[bR]}bT=null})()}(function(){var e=av.documentElement,bS=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bS){var bU=!bS.call(av.createElement("div"),"div"),bR=false;try{bS.call(av.documentElement,"[test!='']:sizzle")}catch(bT){bR=true}by.matchesSelector=function(bW,bY){bY=bY.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!by.isXML(bW)){try{if(bR||!bE.match.PSEUDO.test(bY)&&!/!=/.test(bY)){var bV=bS.call(bW,bY);if(bV||!bU||bW.document&&bW.document.nodeType!==11){return bV}}}catch(bX){}}return by(bY,null,null,[bW]).length>0}}})();(function(){var e=av.createElement("div");e.innerHTML="
";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}bE.order.splice(1,0,"CLASS");bE.find.CLASS=function(bR,bS,bT){if(typeof bS.getElementsByClassName!=="undefined"&&!bT){return bS.getElementsByClassName(bR[1])}};e=null})();function bv(bR,bW,bV,bZ,bX,bY){for(var bT=0,bS=bZ.length;bT0){bU=e;break}}}e=e[bR]}bZ[bT]=bU}}}if(av.documentElement.contains){by.contains=function(bR,e){return bR!==e&&(bR.contains?bR.contains(e):true)}}else{if(av.documentElement.compareDocumentPosition){by.contains=function(bR,e){return !!(bR.compareDocumentPosition(e)&16)}}else{by.contains=function(){return false}}}by.isXML=function(e){var bR=(e?e.ownerDocument||e:0).documentElement;return bR?bR.nodeName!=="HTML":false};var bM=function(bS,e,bW){var bV,bX=[],bU="",bY=e.nodeType?[e]:e;while((bV=bE.match.PSEUDO.exec(bS))){bU+=bV[0];bS=bS.replace(bE.match.PSEUDO,"")}bS=bE.relative[bS]?bS+"*":bS;for(var bT=0,bR=bY.length;bT0){for(bB=bA;bB=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(by,bx){var bv=[],bw,e,bz=this[0];if(b.isArray(by)){var bB=1;while(bz&&bz.ownerDocument&&bz!==bx){for(bw=0;bw-1:b.find.matchesSelector(bz,by)){bv.push(bz);break}else{bz=bz.parentNode;if(!bz||!bz.ownerDocument||bz===bx||bz.nodeType===11){break}}}}bv=bv.length>1?b.unique(bv):bv;return this.pushStack(bv,"closest",by)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof e==="string"){return b.inArray(this[0],b(e))}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,bv){var bx=typeof e==="string"?b(e,bv):b.makeArray(e&&e.nodeType?[e]:e),bw=b.merge(this.get(),bx);return this.pushStack(C(bx[0])||C(bw[0])?bw:b.unique(bw))},andSelf:function(){return this.add(this.prevObject)}});function C(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(bv){var e=bv.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(bv,e,bw){return b.dir(bv,"parentNode",bw)},next:function(e){return b.nth(e,2,"nextSibling")},prev:function(e){return b.nth(e,2,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(bv,e,bw){return b.dir(bv,"nextSibling",bw)},prevUntil:function(bv,e,bw){return b.dir(bv,"previousSibling",bw)},siblings:function(e){return b.sibling(e.parentNode.firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes)}},function(e,bv){b.fn[e]=function(by,bw){var bx=b.map(this,bv,by);if(!ab.test(e)){bw=by}if(bw&&typeof bw==="string"){bx=b.filter(bw,bx)}bx=this.length>1&&!ay[e]?b.unique(bx):bx;if((this.length>1||a9.test(bw))&&aq.test(e)){bx=bx.reverse()}return this.pushStack(bx,e,P.call(arguments).join(","))}});b.extend({filter:function(bw,e,bv){if(bv){bw=":not("+bw+")"}return e.length===1?b.find.matchesSelector(e[0],bw)?[e[0]]:[]:b.find.matches(bw,e)},dir:function(bw,bv,by){var e=[],bx=bw[bv];while(bx&&bx.nodeType!==9&&(by===L||bx.nodeType!==1||!b(bx).is(by))){if(bx.nodeType===1){e.push(bx)}bx=bx[bv]}return e},nth:function(by,e,bw,bx){e=e||1;var bv=0;for(;by;by=by[bw]){if(by.nodeType===1&&++bv===e){break}}return by},sibling:function(bw,bv){var e=[];for(;bw;bw=bw.nextSibling){if(bw.nodeType===1&&bw!==bv){e.push(bw)}}return e}});function aG(bx,bw,e){bw=bw||0;if(b.isFunction(bw)){return b.grep(bx,function(bz,by){var bA=!!bw.call(bz,by,bz);return bA===e})}else{if(bw.nodeType){return b.grep(bx,function(bz,by){return(bz===bw)===e})}else{if(typeof bw==="string"){var bv=b.grep(bx,function(by){return by.nodeType===1});if(bp.test(bw)){return b.filter(bw,bv,!e)}else{bw=b.filter(bw,bv)}}}}return b.grep(bx,function(bz,by){return(b.inArray(bz,bw)>=0)===e})}function a(e){var bw=aR.split("|"),bv=e.createDocumentFragment();if(bv.createElement){while(bw.length){bv.createElement(bw.pop())}}return bv}var aR="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ag=/ jQuery\d+="(?:\d+|null)"/g,ar=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,w=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},ac=a(av);ax.optgroup=ax.option;ax.tbody=ax.tfoot=ax.colgroup=ax.caption=ax.thead;ax.th=ax.td;if(!b.support.htmlSerialize){ax._default=[1,"div
","
"]}b.fn.extend({text:function(e){if(b.isFunction(e)){return this.each(function(bw){var bv=b(this);bv.text(e.call(this,bw,bv.text()))})}if(typeof e!=="object"&&e!==L){return this.empty().append((this[0]&&this[0].ownerDocument||av).createTextNode(e))}return b.text(this)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bw){b(this).wrapAll(e.call(this,bw))})}if(this[0]){var bv=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bv.insertBefore(this[0])}bv.map(function(){var bw=this;while(bw.firstChild&&bw.firstChild.nodeType===1){bw=bw.firstChild}return bw}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bv){b(this).wrapInner(e.call(this,bv))})}return this.each(function(){var bv=b(this),bw=bv.contents();if(bw.length){bw.wrapAll(e)}else{bv.append(e)}})},wrap:function(e){var bv=b.isFunction(e);return this.each(function(bw){b(this).wrapAll(bv?e.call(this,bw):e)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this)})}else{if(arguments.length){var e=b.clean(arguments);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b.clean(arguments));return e}}},remove:function(e,bx){for(var bv=0,bw;(bw=this[bv])!=null;bv++){if(!e||b.filter(e,[bw]).length){if(!bx&&bw.nodeType===1){b.cleanData(bw.getElementsByTagName("*"));b.cleanData([bw])}if(bw.parentNode){bw.parentNode.removeChild(bw)}}}return this},empty:function(){for(var e=0,bv;(bv=this[e])!=null;e++){if(bv.nodeType===1){b.cleanData(bv.getElementsByTagName("*"))}while(bv.firstChild){bv.removeChild(bv.firstChild)}}return this},clone:function(bv,e){bv=bv==null?false:bv;e=e==null?bv:e;return this.map(function(){return b.clone(this,bv,e)})},html:function(bx){if(bx===L){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ag,""):null}else{if(typeof bx==="string"&&!ae.test(bx)&&(b.support.leadingWhitespace||!ar.test(bx))&&!ax[(d.exec(bx)||["",""])[1].toLowerCase()]){bx=bx.replace(R,"<$1>");try{for(var bw=0,bv=this.length;bw1&&bw0?this.clone(true):this).get();b(bC[bA])[bv](by);bz=bz.concat(by)}return this.pushStack(bz,e,bC.selector)}}});function bg(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else{if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}}function az(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function E(e){var bv=(e.nodeName||"").toLowerCase();if(bv==="input"){az(e)}else{if(bv!=="script"&&typeof e.getElementsByTagName!=="undefined"){b.grep(e.getElementsByTagName("input"),az)}}}function al(e){var bv=av.createElement("div");ac.appendChild(bv);bv.innerHTML=e.outerHTML;return bv.firstChild}b.extend({clone:function(by,bA,bw){var e,bv,bx,bz=b.support.html5Clone||!ah.test("<"+by.nodeName)?by.cloneNode(true):al(by);if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(by.nodeType===1||by.nodeType===11)&&!b.isXMLDoc(by)){ai(by,bz);e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){if(bv[bx]){ai(e[bx],bv[bx])}}}if(bA){t(by,bz);if(bw){e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){t(e[bx],bv[bx])}}}e=bv=null;return bz},clean:function(bw,by,bH,bA){var bF;by=by||av;if(typeof by.createElement==="undefined"){by=by.ownerDocument||by[0]&&by[0].ownerDocument||av}var bI=[],bB;for(var bE=0,bz;(bz=bw[bE])!=null;bE++){if(typeof bz==="number"){bz+=""}if(!bz){continue}if(typeof bz==="string"){if(!W.test(bz)){bz=by.createTextNode(bz)}else{bz=bz.replace(R,"<$1>");var bK=(d.exec(bz)||["",""])[1].toLowerCase(),bx=ax[bK]||ax._default,bD=bx[0],bv=by.createElement("div");if(by===av){ac.appendChild(bv)}else{a(by).appendChild(bv)}bv.innerHTML=bx[1]+bz+bx[2];while(bD--){bv=bv.lastChild}if(!b.support.tbody){var e=w.test(bz),bC=bK==="table"&&!e?bv.firstChild&&bv.firstChild.childNodes:bx[1]===""&&!e?bv.childNodes:[];for(bB=bC.length-1;bB>=0;--bB){if(b.nodeName(bC[bB],"tbody")&&!bC[bB].childNodes.length){bC[bB].parentNode.removeChild(bC[bB])}}}if(!b.support.leadingWhitespace&&ar.test(bz)){bv.insertBefore(by.createTextNode(ar.exec(bz)[0]),bv.firstChild)}bz=bv.childNodes}}var bG;if(!b.support.appendChecked){if(bz[0]&&typeof(bG=bz.length)==="number"){for(bB=0;bB=0){return bx+"px"}}else{return bx}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(bv,e){return au.test((e&&bv.currentStyle?bv.currentStyle.filter:bv.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":""},set:function(by,bz){var bx=by.style,bv=by.currentStyle,e=b.isNumeric(bz)?"alpha(opacity="+bz*100+")":"",bw=bv&&bv.filter||bx.filter||"";bx.zoom=1;if(bz>=1&&b.trim(bw.replace(ak,""))===""){bx.removeAttribute("filter");if(bv&&!bv.filter){return}}bx.filter=ak.test(bw)?bw.replace(ak,e):bw+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bw,bv){var e;b.swap(bw,{display:"inline-block"},function(){if(bv){e=Z(bw,"margin-right","marginRight")}else{e=bw.style.marginRight}});return e}}}});if(av.defaultView&&av.defaultView.getComputedStyle){aI=function(by,bw){var bv,bx,e;bw=bw.replace(z,"-$1").toLowerCase();if((bx=by.ownerDocument.defaultView)&&(e=bx.getComputedStyle(by,null))){bv=e.getPropertyValue(bw);if(bv===""&&!b.contains(by.ownerDocument.documentElement,by)){bv=b.style(by,bw)}}return bv}}if(av.documentElement.currentStyle){aX=function(bz,bw){var bA,e,by,bv=bz.currentStyle&&bz.currentStyle[bw],bx=bz.style;if(bv===null&&bx&&(by=bx[bw])){bv=by}if(!bc.test(bv)&&bn.test(bv)){bA=bx.left;e=bz.runtimeStyle&&bz.runtimeStyle.left;if(e){bz.runtimeStyle.left=bz.currentStyle.left}bx.left=bw==="fontSize"?"1em":(bv||0);bv=bx.pixelLeft+"px";bx.left=bA;if(e){bz.runtimeStyle.left=e}}return bv===""?"auto":bv}}Z=aI||aX;function p(by,bw,bv){var bA=bw==="width"?by.offsetWidth:by.offsetHeight,bz=bw==="width"?an:a1,bx=0,e=bz.length;if(bA>0){if(bv!=="border"){for(;bx)<[^<]*)*<\/script>/gi,q=/^(?:select|textarea)/i,h=/\s+/,br=/([?&])_=[^&]*/,K=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,A=b.fn.load,aa={},r={},aE,s,aV=["*/"]+["*"];try{aE=bl.href}catch(aw){aE=av.createElement("a");aE.href="";aE=aE.href}s=K.exec(aE.toLowerCase())||[];function f(e){return function(by,bA){if(typeof by!=="string"){bA=by;by="*"}if(b.isFunction(bA)){var bx=by.toLowerCase().split(h),bw=0,bz=bx.length,bv,bB,bC;for(;bw=0){var e=bw.slice(by,bw.length);bw=bw.slice(0,by)}var bx="GET";if(bz){if(b.isFunction(bz)){bA=bz;bz=L}else{if(typeof bz==="object"){bz=b.param(bz,b.ajaxSettings.traditional);bx="POST"}}}var bv=this;b.ajax({url:bw,type:bx,dataType:"html",data:bz,complete:function(bC,bB,bD){bD=bC.responseText;if(bC.isResolved()){bC.done(function(bE){bD=bE});bv.html(e?b("
").append(bD.replace(a6,"")).find(e):bD)}if(bA){bv.each(bA,[bD,bB,bC])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||q.test(this.nodeName)||aZ.test(this.type))}).map(function(e,bv){var bw=b(this).val();return bw==null?null:b.isArray(bw)?b.map(bw,function(by,bx){return{name:bv.name,value:by.replace(bs,"\r\n")}}):{name:bv.name,value:bw.replace(bs,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bv){b.fn[bv]=function(bw){return this.on(bv,bw)}});b.each(["get","post"],function(e,bv){b[bv]=function(bw,by,bz,bx){if(b.isFunction(by)){bx=bx||bz;bz=by;by=L}return b.ajax({type:bv,url:bw,data:by,success:bz,dataType:bx})}});b.extend({getScript:function(e,bv){return b.get(e,L,bv,"script")},getJSON:function(e,bv,bw){return b.get(e,bv,bw,"json")},ajaxSetup:function(bv,e){if(e){am(bv,b.ajaxSettings)}else{e=bv;bv=b.ajaxSettings}am(bv,e);return bv},ajaxSettings:{url:aE,isLocal:aM.test(s[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":aV},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bb.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:f(aa),ajaxTransport:f(r),ajax:function(bz,bx){if(typeof bz==="object"){bx=bz;bz=L}bx=bx||{};var bD=b.ajaxSetup({},bx),bS=bD.context||bD,bG=bS!==bD&&(bS.nodeType||bS instanceof b)?b(bS):b.event,bR=b.Deferred(),bN=b.Callbacks("once memory"),bB=bD.statusCode||{},bC,bH={},bO={},bQ,by,bL,bE,bI,bA=0,bw,bK,bJ={readyState:0,setRequestHeader:function(bT,bU){if(!bA){var e=bT.toLowerCase();bT=bO[e]=bO[e]||bT;bH[bT]=bU}return this},getAllResponseHeaders:function(){return bA===2?bQ:null},getResponseHeader:function(bT){var e;if(bA===2){if(!by){by={};while((e=aD.exec(bQ))){by[e[1].toLowerCase()]=e[2]}}e=by[bT.toLowerCase()]}return e===L?null:e},overrideMimeType:function(e){if(!bA){bD.mimeType=e}return this},abort:function(e){e=e||"abort";if(bL){bL.abort(e)}bF(0,e);return this}};function bF(bZ,bU,b0,bW){if(bA===2){return}bA=2;if(bE){clearTimeout(bE)}bL=L;bQ=bW||"";bJ.readyState=bZ>0?4:0;var bT,b4,b3,bX=bU,bY=b0?bj(bD,bJ,b0):L,bV,b2;if(bZ>=200&&bZ<300||bZ===304){if(bD.ifModified){if((bV=bJ.getResponseHeader("Last-Modified"))){b.lastModified[bC]=bV}if((b2=bJ.getResponseHeader("Etag"))){b.etag[bC]=b2}}if(bZ===304){bX="notmodified";bT=true}else{try{b4=G(bD,bY);bX="success";bT=true}catch(b1){bX="parsererror";b3=b1}}}else{b3=bX;if(!bX||bZ){bX="error";if(bZ<0){bZ=0}}}bJ.status=bZ;bJ.statusText=""+(bU||bX);if(bT){bR.resolveWith(bS,[b4,bX,bJ])}else{bR.rejectWith(bS,[bJ,bX,b3])}bJ.statusCode(bB);bB=L;if(bw){bG.trigger("ajax"+(bT?"Success":"Error"),[bJ,bD,bT?b4:b3])}bN.fireWith(bS,[bJ,bX]);if(bw){bG.trigger("ajaxComplete",[bJ,bD]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bR.promise(bJ);bJ.success=bJ.done;bJ.error=bJ.fail;bJ.complete=bN.add;bJ.statusCode=function(bT){if(bT){var e;if(bA<2){for(e in bT){bB[e]=[bB[e],bT[e]]}}else{e=bT[bJ.status];bJ.then(e,e)}}return this};bD.url=((bz||bD.url)+"").replace(bq,"").replace(c,s[1]+"//");bD.dataTypes=b.trim(bD.dataType||"*").toLowerCase().split(h);if(bD.crossDomain==null){bI=K.exec(bD.url.toLowerCase());bD.crossDomain=!!(bI&&(bI[1]!=s[1]||bI[2]!=s[2]||(bI[3]||(bI[1]==="http:"?80:443))!=(s[3]||(s[1]==="http:"?80:443))))}if(bD.data&&bD.processData&&typeof bD.data!=="string"){bD.data=b.param(bD.data,bD.traditional)}aW(aa,bD,bx,bJ);if(bA===2){return false}bw=bD.global;bD.type=bD.type.toUpperCase();bD.hasContent=!aQ.test(bD.type);if(bw&&b.active++===0){b.event.trigger("ajaxStart")}if(!bD.hasContent){if(bD.data){bD.url+=(M.test(bD.url)?"&":"?")+bD.data;delete bD.data}bC=bD.url;if(bD.cache===false){var bv=b.now(),bP=bD.url.replace(br,"$1_="+bv);bD.url=bP+((bP===bD.url)?(M.test(bD.url)?"&":"?")+"_="+bv:"")}}if(bD.data&&bD.hasContent&&bD.contentType!==false||bx.contentType){bJ.setRequestHeader("Content-Type",bD.contentType)}if(bD.ifModified){bC=bC||bD.url;if(b.lastModified[bC]){bJ.setRequestHeader("If-Modified-Since",b.lastModified[bC])}if(b.etag[bC]){bJ.setRequestHeader("If-None-Match",b.etag[bC])}}bJ.setRequestHeader("Accept",bD.dataTypes[0]&&bD.accepts[bD.dataTypes[0]]?bD.accepts[bD.dataTypes[0]]+(bD.dataTypes[0]!=="*"?", "+aV+"; q=0.01":""):bD.accepts["*"]);for(bK in bD.headers){bJ.setRequestHeader(bK,bD.headers[bK])}if(bD.beforeSend&&(bD.beforeSend.call(bS,bJ,bD)===false||bA===2)){bJ.abort();return false}for(bK in {success:1,error:1,complete:1}){bJ[bK](bD[bK])}bL=aW(r,bD,bx,bJ);if(!bL){bF(-1,"No Transport")}else{bJ.readyState=1;if(bw){bG.trigger("ajaxSend",[bJ,bD])}if(bD.async&&bD.timeout>0){bE=setTimeout(function(){bJ.abort("timeout")},bD.timeout)}try{bA=1;bL.send(bH,bF)}catch(bM){if(bA<2){bF(-1,bM)}else{throw bM}}}return bJ},param:function(e,bw){var bv=[],by=function(bz,bA){bA=b.isFunction(bA)?bA():bA;bv[bv.length]=encodeURIComponent(bz)+"="+encodeURIComponent(bA)};if(bw===L){bw=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){by(this.name,this.value)})}else{for(var bx in e){v(bx,e[bx],bw,by)}}return bv.join("&").replace(k,"+")}});function v(bw,by,bv,bx){if(b.isArray(by)){b.each(by,function(bA,bz){if(bv||ap.test(bw)){bx(bw,bz)}else{v(bw+"["+(typeof bz==="object"||b.isArray(bz)?bA:"")+"]",bz,bv,bx)}})}else{if(!bv&&by!=null&&typeof by==="object"){for(var e in by){v(bw+"["+e+"]",by[e],bv,bx)}}else{bx(bw,by)}}}b.extend({active:0,lastModified:{},etag:{}});function bj(bD,bC,bz){var bv=bD.contents,bB=bD.dataTypes,bw=bD.responseFields,by,bA,bx,e;for(bA in bw){if(bA in bz){bC[bw[bA]]=bz[bA]}}while(bB[0]==="*"){bB.shift();if(by===L){by=bD.mimeType||bC.getResponseHeader("content-type")}}if(by){for(bA in bv){if(bv[bA]&&bv[bA].test(by)){bB.unshift(bA);break}}}if(bB[0] in bz){bx=bB[0]}else{for(bA in bz){if(!bB[0]||bD.converters[bA+" "+bB[0]]){bx=bA;break}if(!e){e=bA}}bx=bx||e}if(bx){if(bx!==bB[0]){bB.unshift(bx)}return bz[bx]}}function G(bH,bz){if(bH.dataFilter){bz=bH.dataFilter(bz,bH.dataType)}var bD=bH.dataTypes,bG={},bA,bE,bw=bD.length,bB,bC=bD[0],bx,by,bF,bv,e;for(bA=1;bA=bw.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bw.animatedProperties[this.prop]=true;for(bA in bw.animatedProperties){if(bw.animatedProperties[bA]!==true){e=false}}if(e){if(bw.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bC,bD){bz.style["overflow"+bD]=bw.overflow[bC]})}if(bw.hide){b(bz).hide()}if(bw.hide||bw.show){for(bA in bw.animatedProperties){b.style(bz,bA,bw.orig[bA]);b.removeData(bz,"fxshow"+bA,true);b.removeData(bz,"toggle"+bA,true)}}bv=bw.complete;if(bv){bw.complete=false;bv.call(bz)}}return false}else{if(bw.duration==Infinity){this.now=bx}else{bB=bx-this.startTime;this.state=bB/bw.duration;this.pos=b.easing[bw.animatedProperties[this.prop]](this.state,bB,0,1,bw.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){var bw,bv=b.timers,e=0;for(;e").appendTo(e),bw=bv.css("display");bv.remove();if(bw==="none"||bw===""){if(!a8){a8=av.createElement("iframe");a8.frameBorder=a8.width=a8.height=0}e.appendChild(a8);if(!m||!a8.createElement){m=(a8.contentWindow||a8.contentDocument).document;m.write((av.compatMode==="CSS1Compat"?"":"")+"");m.close()}bv=m.createElement(bx);m.body.appendChild(bv);bw=b.css(bv,"display");e.removeChild(a8)}Q[bx]=bw}return Q[bx]}var V=/^t(?:able|d|h)$/i,ad=/^(?:body|html)$/i;if("getBoundingClientRect" in av.documentElement){b.fn.offset=function(bI){var by=this[0],bB;if(bI){return this.each(function(e){b.offset.setOffset(this,bI,e)})}if(!by||!by.ownerDocument){return null}if(by===by.ownerDocument.body){return b.offset.bodyOffset(by)}try{bB=by.getBoundingClientRect()}catch(bF){}var bH=by.ownerDocument,bw=bH.documentElement;if(!bB||!b.contains(bw,by)){return bB?{top:bB.top,left:bB.left}:{top:0,left:0}}var bC=bH.body,bD=aK(bH),bA=bw.clientTop||bC.clientTop||0,bE=bw.clientLeft||bC.clientLeft||0,bv=bD.pageYOffset||b.support.boxModel&&bw.scrollTop||bC.scrollTop,bz=bD.pageXOffset||b.support.boxModel&&bw.scrollLeft||bC.scrollLeft,bG=bB.top+bv-bA,bx=bB.left+bz-bE;return{top:bG,left:bx}}}else{b.fn.offset=function(bF){var bz=this[0];if(bF){return this.each(function(bG){b.offset.setOffset(this,bF,bG)})}if(!bz||!bz.ownerDocument){return null}if(bz===bz.ownerDocument.body){return b.offset.bodyOffset(bz)}var bC,bw=bz.offsetParent,bv=bz,bE=bz.ownerDocument,bx=bE.documentElement,bA=bE.body,bB=bE.defaultView,e=bB?bB.getComputedStyle(bz,null):bz.currentStyle,bD=bz.offsetTop,by=bz.offsetLeft;while((bz=bz.parentNode)&&bz!==bA&&bz!==bx){if(b.support.fixedPosition&&e.position==="fixed"){break}bC=bB?bB.getComputedStyle(bz,null):bz.currentStyle;bD-=bz.scrollTop;by-=bz.scrollLeft;if(bz===bw){bD+=bz.offsetTop;by+=bz.offsetLeft;if(b.support.doesNotAddBorder&&!(b.support.doesAddBorderForTableAndCells&&V.test(bz.nodeName))){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}bv=bw;bw=bz.offsetParent}if(b.support.subtractsBorderForOverflowNotVisible&&bC.overflow!=="visible"){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}e=bC}if(e.position==="relative"||e.position==="static"){bD+=bA.offsetTop;by+=bA.offsetLeft}if(b.support.fixedPosition&&e.position==="fixed"){bD+=Math.max(bx.scrollTop,bA.scrollTop);by+=Math.max(bx.scrollLeft,bA.scrollLeft)}return{top:bD,left:by}}}b.offset={bodyOffset:function(e){var bw=e.offsetTop,bv=e.offsetLeft;if(b.support.doesNotIncludeMarginInBodyOffset){bw+=parseFloat(b.css(e,"marginTop"))||0;bv+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bw,left:bv}},setOffset:function(bx,bG,bA){var bB=b.css(bx,"position");if(bB==="static"){bx.style.position="relative"}var bz=b(bx),bv=bz.offset(),e=b.css(bx,"top"),bE=b.css(bx,"left"),bF=(bB==="absolute"||bB==="fixed")&&b.inArray("auto",[e,bE])>-1,bD={},bC={},bw,by;if(bF){bC=bz.position();bw=bC.top;by=bC.left}else{bw=parseFloat(e)||0;by=parseFloat(bE)||0}if(b.isFunction(bG)){bG=bG.call(bx,bA,bv)}if(bG.top!=null){bD.top=(bG.top-bv.top)+bw}if(bG.left!=null){bD.left=(bG.left-bv.left)+by}if("using" in bG){bG.using.call(bx,bD)}else{bz.css(bD)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bw=this[0],bv=this.offsetParent(),bx=this.offset(),e=ad.test(bv[0].nodeName)?{top:0,left:0}:bv.offset();bx.top-=parseFloat(b.css(bw,"marginTop"))||0;bx.left-=parseFloat(b.css(bw,"marginLeft"))||0;e.top+=parseFloat(b.css(bv[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bv[0],"borderLeftWidth"))||0;return{top:bx.top-e.top,left:bx.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||av.body;while(e&&(!ad.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each(["Left","Top"],function(bv,e){var bw="scroll"+e;b.fn[bw]=function(bz){var bx,by;if(bz===L){bx=this[0];if(!bx){return null}by=aK(bx);return by?("pageXOffset" in by)?by[bv?"pageYOffset":"pageXOffset"]:b.support.boxModel&&by.document.documentElement[bw]||by.document.body[bw]:bx[bw]}return this.each(function(){by=aK(this);if(by){by.scrollTo(!bv?bz:b(by).scrollLeft(),bv?bz:b(by).scrollTop())}else{this[bw]=bz}})}});function aK(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each(["Height","Width"],function(bv,e){var bw=e.toLowerCase();b.fn["inner"+e]=function(){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,"padding")):this[bw]():null};b.fn["outer"+e]=function(by){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,by?"margin":"border")):this[bw]():null};b.fn[bw]=function(bz){var bA=this[0];if(!bA){return bz==null?null:this}if(b.isFunction(bz)){return this.each(function(bE){var bD=b(this);bD[bw](bz.call(this,bE,bD[bw]()))})}if(b.isWindow(bA)){var bB=bA.document.documentElement["client"+e],bx=bA.document.body;return bA.document.compatMode==="CSS1Compat"&&bB||bx&&bx["client"+e]||bB}else{if(bA.nodeType===9){return Math.max(bA.documentElement["client"+e],bA.body["scroll"+e],bA.documentElement["scroll"+e],bA.body["offset"+e],bA.documentElement["offset"+e])}else{if(bz===L){var bC=b.css(bA,bw),by=parseFloat(bC);return b.isNumeric(by)?by:bC}else{return this.css(bw,typeof bz==="string"?bz:bz+"px")}}}}});bb.jQuery=bb.$=b;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return b})}})(window);/*! + * jQuery UI 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI + */ +(function(a,d){a.ui=a.ui||{};if(a.ui.version){return}a.extend(a.ui,{version:"1.8.18",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(e,f){return typeof e==="number"?this.each(function(){var g=this;setTimeout(function(){a(g).focus();if(f){f.call(g)}},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;if((a.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){e=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(a.curCSS(this,"position",1))&&(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}else{e=this.parents().filter(function(){return(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!e.length?a(document):e},zIndex:function(h){if(h!==d){return this.css("zIndex",h)}if(this.length){var f=a(this[0]),e,g;while(f.length&&f[0]!==document){e=f.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){g=parseInt(f.css("zIndex"),10);if(!isNaN(g)&&g!==0){return g}}f=f.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});a.each(["Width","Height"],function(g,e){var f=e==="Width"?["Left","Right"]:["Top","Bottom"],h=e.toLowerCase(),k={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};function j(m,l,i,n){a.each(f,function(){l-=parseFloat(a.curCSS(m,"padding"+this,true))||0;if(i){l-=parseFloat(a.curCSS(m,"border"+this+"Width",true))||0}if(n){l-=parseFloat(a.curCSS(m,"margin"+this,true))||0}});return l}a.fn["inner"+e]=function(i){if(i===d){return k["inner"+e].call(this)}return this.each(function(){a(this).css(h,j(this,i)+"px")})};a.fn["outer"+e]=function(i,l){if(typeof i!=="number"){return k["outer"+e].call(this,i)}return this.each(function(){a(this).css(h,j(this,i,true,l)+"px")})}});function c(g,e){var j=g.nodeName.toLowerCase();if("area"===j){var i=g.parentNode,h=i.name,f;if(!g.href||!h||i.nodeName.toLowerCase()!=="map"){return false}f=a("img[usemap=#"+h+"]")[0];return !!f&&b(f)}return(/input|select|textarea|button|object/.test(j)?!g.disabled:"a"==j?g.href||e:e)&&b(g)}function b(e){return !a(e).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.extend(a.expr[":"],{data:function(g,f,e){return !!a.data(g,e[3])},focusable:function(e){return c(e,!isNaN(a.attr(e,"tabindex")))},tabbable:function(g){var e=a.attr(g,"tabindex"),f=isNaN(e);return(f||e>=0)&&c(g,!f)}});a(function(){var e=document.body,f=e.appendChild(f=document.createElement("div"));f.offsetHeight;a.extend(f.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});a.support.minHeight=f.offsetHeight===100;a.support.selectstart="onselectstart" in f;e.removeChild(f).style.display="none"});a.extend(a.ui,{plugin:{add:function(f,g,j){var h=a.ui[f].prototype;for(var e in j){h.plugins[e]=h.plugins[e]||[];h.plugins[e].push([g,j[e]])}},call:function(e,g,f){var j=e.plugins[g];if(!j||!e.element[0].parentNode){return}for(var h=0;h0){return true}h[e]=1;g=(h[e]>0);h[e]=0;return g},isOverAxis:function(f,e,g){return(f>e)&&(f<(e+g))},isOver:function(j,f,i,h,e,g){return a.ui.isOverAxis(j,i,e)&&a.ui.isOverAxis(f,h,g)}})})(jQuery);/*! + * jQuery UI Widget 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Widget + */ +(function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(f){for(var g=0,h;(h=f[g])!=null;g++){try{b(h).triggerHandler("remove")}catch(j){}}c(f)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){try{b(this).triggerHandler("remove")}catch(g){}})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f),l=k&&b.isFunction(k[i])?k[i].apply(k,h):k;if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=b.data(this,f);if(k){k.option(i||{})._init()}else{b.data(this,f,new e(i,this))}})}return j}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(e,f,g){var j,i,h=this.options[e];g=g||{};f=b.Event(f);f.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase();f.target=this.element[0];i=f.originalEvent;if(i){for(j in i){if(!(j in f)){f[j]=i[j]}}}this.element.trigger(f,g);return !(b.isFunction(h)&&h.call(this.element[0],f,g)===false||f.isDefaultPrevented())}}})(jQuery);/*! + * jQuery UI Mouse 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Mouse + * + * Depends: + * jquery.ui.widget.js + */ +(function(b,c){var a=false;b(document).mouseup(function(d){a=false});b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var d=this;this.element.bind("mousedown."+this.widgetName,function(e){return d._mouseDown(e)}).bind("click."+this.widgetName,function(e){if(true===b.data(e.target,d.widgetName+".preventClickEvent")){b.removeData(e.target,d.widgetName+".preventClickEvent");e.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(f){if(a){return}(this._mouseStarted&&this._mouseUp(f));this._mouseDownEvent=f;var e=this,g=(f.which==1),d=(typeof this.options.cancel=="string"&&f.target.nodeName?b(f.target).closest(this.options.cancel).length:false);if(!g||d||!this._mouseCapture(f)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(f)&&this._mouseDelayMet(f)){this._mouseStarted=(this._mouseStart(f)!==false);if(!this._mouseStarted){f.preventDefault();return true}}if(true===b.data(f.target,this.widgetName+".preventClickEvent")){b.removeData(f.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(h){return e._mouseMove(h)};this._mouseUpDelegate=function(h){return e._mouseUp(h)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);f.preventDefault();a=true;return true},_mouseMove:function(d){if(b.browser.msie&&!(document.documentMode>=9)&&!d.button){return this._mouseUp(d)}if(this._mouseStarted){this._mouseDrag(d);return d.preventDefault()}if(this._mouseDistanceMet(d)&&this._mouseDelayMet(d)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,d)!==false);(this._mouseStarted?this._mouseDrag(d):this._mouseUp(d))}return !this._mouseStarted},_mouseUp:function(d){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(d.target==this._mouseDownEvent.target){b.data(d.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(d)}return false},_mouseDistanceMet:function(d){return(Math.max(Math.abs(this._mouseDownEvent.pageX-d.pageX),Math.abs(this._mouseDownEvent.pageY-d.pageY))>=this.options.distance)},_mouseDelayMet:function(d){return this.mouseDelayMet},_mouseStart:function(d){},_mouseDrag:function(d){},_mouseStop:function(d){},_mouseCapture:function(d){return true}})})(jQuery);(function(c,d){c.widget("ui.resizable",c.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000},_create:function(){var f=this,k=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(k.aspectRatio),aspectRatio:k.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:k.helper||k.ghost||k.animate?k.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){this.element.wrap(c('
').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=k.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var l=this.handles.split(",");this.handles={};for(var g=0;g
');if(/sw|se|ne|nw/.test(j)){h.css({zIndex:++k.zIndex})}if("se"==j){h.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[j]=".ui-resizable-"+j;this.element.append(h)}}this._renderAxis=function(q){q=q||this.element;for(var n in this.handles){if(this.handles[n].constructor==String){this.handles[n]=c(this.handles[n],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var o=c(this.handles[n],this.element),p=0;p=/sw|ne|nw|se|n|s/.test(n)?o.outerHeight():o.outerWidth();var m=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");q.css(m,p);this._proportionallyResize()}if(!c(this.handles[n]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!f.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}f.axis=i&&i[1]?i[1]:"se"}});if(k.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){if(k.disabled){return}c(this).removeClass("ui-resizable-autohide");f._handles.show()},function(){if(k.disabled){return}if(!f.resizing){c(this).addClass("ui-resizable-autohide");f._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var e=function(g){c(g).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){e(this.element);var f=this.element;f.after(this.originalElement.css({position:f.css("position"),width:f.outerWidth(),height:f.outerHeight(),top:f.css("top"),left:f.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);e(this.originalElement);return this},_mouseCapture:function(f){var g=false;for(var e in this.handles){if(c(this.handles[e])[0]==f.target){g=true}}return !this.options.disabled&&g},_mouseStart:function(g){var j=this.options,f=this.element.position(),e=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(e.is(".ui-draggable")||(/absolute/).test(e.css("position"))){e.css({position:"absolute",top:f.top,left:f.left})}this._renderProxy();var k=b(this.helper.css("left")),h=b(this.helper.css("top"));if(j.containment){k+=c(j.containment).scrollLeft()||0;h+=c(j.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:k,top:h};this.size=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalSize=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalPosition={left:k,top:h};this.sizeDiff={width:e.outerWidth()-e.width(),height:e.outerHeight()-e.height()};this.originalMousePosition={left:g.pageX,top:g.pageY};this.aspectRatio=(typeof j.aspectRatio=="number")?j.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var i=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",i=="auto"?this.axis+"-resize":i);e.addClass("ui-resizable-resizing");this._propagate("start",g);return true},_mouseDrag:function(e){var h=this.helper,g=this.options,m={},q=this,j=this.originalMousePosition,n=this.axis;var r=(e.pageX-j.left)||0,p=(e.pageY-j.top)||0;var i=this._change[n];if(!i){return false}var l=i.apply(this,[e,r,p]),k=c.browser.msie&&c.browser.version<7,f=this.sizeDiff;this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey){l=this._updateRatio(l,e)}l=this._respectSize(l,e);this._propagate("resize",e);h.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(l);this._trigger("resize",e,this.ui());return false},_mouseStop:function(h){this.resizing=false;var i=this.options,m=this;if(this._helper){var g=this._proportionallyResizeElements,e=g.length&&(/textarea/i).test(g[0].nodeName),f=e&&c.ui.hasScroll(g[0],"left")?0:m.sizeDiff.height,k=e?0:m.sizeDiff.width;var n={width:(m.helper.width()-k),height:(m.helper.height()-f)},j=(parseInt(m.element.css("left"),10)+(m.position.left-m.originalPosition.left))||null,l=(parseInt(m.element.css("top"),10)+(m.position.top-m.originalPosition.top))||null;if(!i.animate){this.element.css(c.extend(n,{top:l,left:j}))}m.helper.height(m.size.height);m.helper.width(m.size.width);if(this._helper&&!i.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",h);if(this._helper){this.helper.remove()}return false},_updateVirtualBoundaries:function(g){var j=this.options,i,h,f,k,e;e={minWidth:a(j.minWidth)?j.minWidth:0,maxWidth:a(j.maxWidth)?j.maxWidth:Infinity,minHeight:a(j.minHeight)?j.minHeight:0,maxHeight:a(j.maxHeight)?j.maxHeight:Infinity};if(this._aspectRatio||g){i=e.minHeight*this.aspectRatio;f=e.minWidth/this.aspectRatio;h=e.maxHeight*this.aspectRatio;k=e.maxWidth/this.aspectRatio;if(i>e.minWidth){e.minWidth=i}if(f>e.minHeight){e.minHeight=f}if(hl.width),s=a(l.height)&&i.minHeight&&(i.minHeight>l.height);if(h){l.width=i.minWidth}if(s){l.height=i.minHeight}if(t){l.width=i.maxWidth}if(m){l.height=i.maxHeight}var f=this.originalPosition.left+this.originalSize.width,p=this.position.top+this.size.height;var k=/sw|nw|w/.test(q),e=/nw|ne|n/.test(q);if(h&&k){l.left=f-i.minWidth}if(t&&k){l.left=f-i.maxWidth}if(s&&e){l.top=p-i.minHeight}if(m&&e){l.top=p-i.maxHeight}var n=!l.width&&!l.height;if(n&&!l.left&&l.top){l.top=null}else{if(n&&!l.top&&l.left){l.left=null}}return l},_proportionallyResize:function(){var k=this.options;if(!this._proportionallyResizeElements.length){return}var g=this.helper||this.element;for(var f=0;f');var e=c.browser.msie&&c.browser.version<7,g=(e?1:0),h=(e?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+h,height:this.element.outerHeight()+h,position:"absolute",left:this.elementOffset.left-g+"px",top:this.elementOffset.top-g+"px",zIndex:++i.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(g,f,e){return{width:this.originalSize.width+f}},w:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{left:i.left+f,width:g.width-f}},n:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{top:i.top+e,height:g.height-e}},s:function(g,f,e){return{height:this.originalSize.height+e}},se:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},sw:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[g,f,e]))},ne:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},nw:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[g,f,e]))}},_propagate:function(f,e){c.ui.plugin.call(this,f,[e,this.ui()]);(f!="resize"&&this._trigger(f,e,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});c.extend(c.ui.resizable,{version:"1.8.18"});c.ui.plugin.add("resizable","alsoResize",{start:function(f,g){var e=c(this).data("resizable"),i=e.options;var h=function(j){c(j).each(function(){var k=c(this);k.data("resizable-alsoresize",{width:parseInt(k.width(),10),height:parseInt(k.height(),10),left:parseInt(k.css("left"),10),top:parseInt(k.css("top"),10)})})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.parentNode){if(i.alsoResize.length){i.alsoResize=i.alsoResize[0];h(i.alsoResize)}else{c.each(i.alsoResize,function(j){h(j)})}}else{h(i.alsoResize)}},resize:function(g,i){var f=c(this).data("resizable"),j=f.options,h=f.originalSize,l=f.originalPosition;var k={height:(f.size.height-h.height)||0,width:(f.size.width-h.width)||0,top:(f.position.top-l.top)||0,left:(f.position.left-l.left)||0},e=function(m,n){c(m).each(function(){var q=c(this),r=c(this).data("resizable-alsoresize"),p={},o=n&&n.length?n:q.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];c.each(o,function(s,u){var t=(r[u]||0)+(k[u]||0);if(t&&t>=0){p[u]=t||null}});q.css(p)})};if(typeof(j.alsoResize)=="object"&&!j.alsoResize.nodeType){c.each(j.alsoResize,function(m,n){e(m,n)})}else{e(j.alsoResize)}},stop:function(e,f){c(this).removeData("resizable-alsoresize")}});c.ui.plugin.add("resizable","animate",{stop:function(i,n){var p=c(this).data("resizable"),j=p.options;var h=p._proportionallyResizeElements,e=h.length&&(/textarea/i).test(h[0].nodeName),f=e&&c.ui.hasScroll(h[0],"left")?0:p.sizeDiff.height,l=e?0:p.sizeDiff.width;var g={width:(p.size.width-l),height:(p.size.height-f)},k=(parseInt(p.element.css("left"),10)+(p.position.left-p.originalPosition.left))||null,m=(parseInt(p.element.css("top"),10)+(p.position.top-p.originalPosition.top))||null;p.element.animate(c.extend(g,m&&k?{top:m,left:k}:{}),{duration:j.animateDuration,easing:j.animateEasing,step:function(){var o={width:parseInt(p.element.css("width"),10),height:parseInt(p.element.css("height"),10),top:parseInt(p.element.css("top"),10),left:parseInt(p.element.css("left"),10)};if(h&&h.length){c(h[0]).css({width:o.width,height:o.height})}p._updateCache(o);p._propagate("resize",i)}})}});c.ui.plugin.add("resizable","containment",{start:function(f,r){var t=c(this).data("resizable"),j=t.options,l=t.element;var g=j.containment,k=(g instanceof c)?g.get(0):(/parent/.test(g))?l.parent().get(0):g;if(!k){return}t.containerElement=c(k);if(/document/.test(g)||g==document){t.containerOffset={left:0,top:0};t.containerPosition={left:0,top:0};t.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var n=c(k),i=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){i[p]=b(n.css("padding"+o))});t.containerOffset=n.offset();t.containerPosition=n.position();t.containerSize={height:(n.innerHeight()-i[3]),width:(n.innerWidth()-i[1])};var q=t.containerOffset,e=t.containerSize.height,m=t.containerSize.width,h=(c.ui.hasScroll(k,"left")?k.scrollWidth:m),s=(c.ui.hasScroll(k)?k.scrollHeight:e);t.parentData={element:k,left:q.left,top:q.top,width:h,height:s}}},resize:function(g,q){var t=c(this).data("resizable"),i=t.options,f=t.containerSize,p=t.containerOffset,m=t.size,n=t.position,r=t._aspectRatio||g.shiftKey,e={top:0,left:0},h=t.containerElement;if(h[0]!=document&&(/static/).test(h.css("position"))){e=p}if(n.left<(t._helper?p.left:0)){t.size.width=t.size.width+(t._helper?(t.position.left-p.left):(t.position.left-e.left));if(r){t.size.height=t.size.width/i.aspectRatio}t.position.left=i.helper?p.left:0}if(n.top<(t._helper?p.top:0)){t.size.height=t.size.height+(t._helper?(t.position.top-p.top):t.position.top);if(r){t.size.width=t.size.height*i.aspectRatio}t.position.top=t._helper?p.top:0}t.offset.left=t.parentData.left+t.position.left;t.offset.top=t.parentData.top+t.position.top;var l=Math.abs((t._helper?t.offset.left-e.left:(t.offset.left-e.left))+t.sizeDiff.width),s=Math.abs((t._helper?t.offset.top-e.top:(t.offset.top-p.top))+t.sizeDiff.height);var k=t.containerElement.get(0)==t.element.parent().get(0),j=/relative|absolute/.test(t.containerElement.css("position"));if(k&&j){l-=t.parentData.left}if(l+t.size.width>=t.parentData.width){t.size.width=t.parentData.width-l;if(r){t.size.height=t.size.width/t.aspectRatio}}if(s+t.size.height>=t.parentData.height){t.size.height=t.parentData.height-s;if(r){t.size.width=t.size.height*t.aspectRatio}}},stop:function(f,n){var q=c(this).data("resizable"),g=q.options,l=q.position,m=q.containerOffset,e=q.containerPosition,i=q.containerElement;var j=c(q.helper),r=j.offset(),p=j.outerWidth()-q.sizeDiff.width,k=j.outerHeight()-q.sizeDiff.height;if(q._helper&&!g.animate&&(/relative/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}if(q._helper&&!g.animate&&(/static/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}}});c.ui.plugin.add("resizable","ghost",{start:function(g,h){var e=c(this).data("resizable"),i=e.options,f=e.size;e.ghost=e.originalElement.clone();e.ghost.css({opacity:0.25,display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof i.ghost=="string"?i.ghost:"");e.ghost.appendTo(e.helper)},resize:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost){e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})}},stop:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost&&e.helper){e.helper.get(0).removeChild(e.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(e,m){var p=c(this).data("resizable"),h=p.options,k=p.size,i=p.originalSize,j=p.originalPosition,n=p.axis,l=h._aspectRatio||e.shiftKey;h.grid=typeof h.grid=="number"?[h.grid,h.grid]:h.grid;var g=Math.round((k.width-i.width)/(h.grid[0]||1))*(h.grid[0]||1),f=Math.round((k.height-i.height)/(h.grid[1]||1))*(h.grid[1]||1);if(/^(se|s|e)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f}else{if(/^(ne)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f}else{if(/^(sw)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.left=j.left-g}else{p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f;p.position.left=j.left-g}}}}});var b=function(e){return parseInt(e,10)||0};var a=function(e){return !isNaN(parseInt(e,10))}})(jQuery);/*! + * jQuery hashchange event - v1.3 - 7/21/2010 + * http://benalman.com/projects/jquery-hashchange-plugin/ + * + * Copyright (c) 2010 "Cowboy" Ben Alman + * Dual licensed under the MIT and GPL licenses. + * http://benalman.com/about/license/ + */ +(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$(' + + + +
+
+
mainpage.dox File Reference
+
+
+
+ + + + diff --git a/memlist_8h.html b/memlist_8h.html new file mode 100644 index 0000000..645aa60 --- /dev/null +++ b/memlist_8h.html @@ -0,0 +1,135 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/memlist.h File Reference + + + + + + + + + + +
+
+
+ + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+ + + + + + + +
+
+ + +
+ +
+ + + +
+ +
+
memlist.h File Reference
+
+
+
#include <wut.h>
+
+

Go to the source code of this file.

+ + + + + + +

+Data Structures

struct  MEMMemoryLink
 
struct  MEMMemoryList
 
+ + + + + + + + + + + + + + + + + +

+Functions

void MEMInitList (MEMMemoryList *list, uint16_t offsetToMemoryLink)
 
void MEMAppendListObject (MEMMemoryList *list, void *object)
 
void MEMPrependListObject (MEMMemoryList *list, void *object)
 
void MEMInsertListObject (MEMMemoryList *list, void *before, void *object)
 
void MEMRemoveListObject (MEMMemoryList *list, void *object)
 
void * MEMGetNextListObject (MEMMemoryList *list, void *object)
 
void * MEMGetPrevListObject (MEMMemoryList *list, void *object)
 
void * MEMGetNthListObject (MEMMEMMemoryList *list, uint16_t n)
 
+
+ + + + diff --git a/memlist_8h_source.html b/memlist_8h_source.html new file mode 100644 index 0000000..cec9540 --- /dev/null +++ b/memlist_8h_source.html @@ -0,0 +1,186 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/memlist.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
memlist.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 
+ +
15 {
+
16  void *prev;
+
17  void *next;
+
18 };
+
19 
+
20 CHECK_OFFSET(MemoryLink, 0x0, prev);
+
21 CHECK_OFFSET(MemoryLink, 0x4, next);
+
22 CHECK_SIZE(MemoryLink, 0x8);
+
23 
+ +
25 {
+
26  void *head;
+
27  void *tail;
+
28  uint16_t count;
+ +
30 };
+
31 CHECK_OFFSET(MEMMemoryList, 0x0, head);
+
32 CHECK_OFFSET(MEMMemoryList, 0x4, tail);
+
33 CHECK_OFFSET(MEMMemoryList, 0x8, count);
+
34 CHECK_OFFSET(MEMMemoryList, 0xa, offsetToMemoryLink);
+
35 CHECK_SIZE(MEMMemoryList, 0xc);
+
36 
+
37 void
+ +
39  uint16_t offsetToMemoryLink);
+
40 
+
41 void
+ +
43  void *object);
+
44 
+
45 void
+ +
47  void *object);
+
48 
+
49 void
+ +
51  void *before,
+
52  void *object);
+
53 
+
54 void
+ +
56  void *object);
+
57 
+
58 void *
+ +
60  void *object);
+
61 
+
62 void *
+ +
64  void *object);
+
65 
+
66 void *
+
67 MEMGetNthListObject(MEMMEMMemoryList *list,
+
68  uint16_t n);
+
69 
+
70 #ifdef __cplusplus
+
71 }
+
72 #endif
+
73 
+
void * tail
Definition: memlist.h:27
+
void MEMInsertListObject(MEMMemoryList *list, void *before, void *object)
+
void MEMAppendListObject(MEMMemoryList *list, void *object)
+
uint16_t offsetToMemoryLink
Definition: memlist.h:29
+ +
uint16_t count
Definition: memlist.h:28
+
void MEMRemoveListObject(MEMMemoryList *list, void *object)
+
void * MEMGetNthListObject(MEMMEMMemoryList *list, uint16_t n)
+ + + +
void * MEMGetPrevListObject(MEMMemoryList *list, void *object)
+
void MEMPrependListObject(MEMMemoryList *list, void *object)
+
void * head
Definition: memlist.h:26
+ +
void MEMInitList(MEMMemoryList *list, uint16_t offsetToMemoryLink)
+
void * MEMGetNextListObject(MEMMemoryList *list, void *object)
+
+ + + + diff --git a/messagequeue_8h.html b/messagequeue_8h.html new file mode 100644 index 0000000..927edc8 --- /dev/null +++ b/messagequeue_8h.html @@ -0,0 +1,153 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/messagequeue.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
messagequeue.h File Reference
+
+
+
#include <wut.h>
+
+

Go to the source code of this file.

+ + + + + + +

+Data Structures

struct  OSMessage
 
struct  OSMessageQueue
 
+ + + +

+Macros

#define OS_MESSAGE_QUEUE_TAG   0x6D536751u
 
+ + + +

+Typedefs

typedef uint32_t OSMessageFlags
 
+ + + +

+Enumerations

enum  OSMessageFlags { OS_MESSAGE_QUEUE_BLOCKING = 1 << 0, +OS_MESSAGE_QUEUE_HIGH_PRIORITY = 1 << 1 + }
 
+ + + + + + + + + + + + + + + +

+Functions

void OSInitMessageQueue (OSMessageQueue *queue, OSMessage *messages, int32_t size)
 
void OSInitMessageQueueEx (OSMessageQueue *queue, OSMessage *messages, int32_t size, const char *name)
 
BOOL OSSendMessage (OSMessageQueue *queue, OSMessage *message, OSMessageFlags flags)
 
BOOL OSJamMessage (OSMessageQueue *queue, OSMessage *message, OSMessageFlags flags)
 
BOOL OSReceiveMessage (OSMessageQueue *queue, OSMessage *message, OSMessageFlags flags)
 
BOOL OSPeekMessage (OSMessageQueue *queue, OSMessage *message)
 
OSMessageQueueOSGetSystemMessageQueue ()
 
+
+ + + + diff --git a/messagequeue_8h_source.html b/messagequeue_8h_source.html new file mode 100644 index 0000000..054c380 --- /dev/null +++ b/messagequeue_8h_source.html @@ -0,0 +1,214 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/messagequeue.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
messagequeue.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 uint32_t OSMessageFlags;
+
15 
+
16 enum OSMessageFlags
+
17 {
+ + +
20 };
+
21 
+
22 struct OSMessage
+
23 {
+
24  void *message;
+
25  uint32_t args[3];
+
26 };
+
27 CHECK_OFFSET(OSMessage, 0x00, message);
+
28 CHECK_OFFSET(OSMessage, 0x04, args);
+
29 CHECK_SIZE(OSMessage, 0x10);
+
30 
+
31 #define OS_MESSAGE_QUEUE_TAG 0x6D536751u
+
32 
+ +
34 {
+
35  uint32_t tag;
+
36  const char *name;
+
37  UNKNOWN(4);
+ + + +
41  uint32_t size;
+
42  uint32_t first;
+
43  uint32_t used;
+
44 };
+
45 CHECK_OFFSET(OSMessageQueue, 0x00, tag);
+
46 CHECK_OFFSET(OSMessageQueue, 0x04, name);
+
47 CHECK_OFFSET(OSMessageQueue, 0x0c, sendQueue);
+
48 CHECK_OFFSET(OSMessageQueue, 0x1c, recvQueue);
+
49 CHECK_OFFSET(OSMessageQueue, 0x2c, messages);
+
50 CHECK_OFFSET(OSMessageQueue, 0x30, size);
+
51 CHECK_OFFSET(OSMessageQueue, 0x34, first);
+
52 CHECK_OFFSET(OSMessageQueue, 0x38, used);
+
53 CHECK_SIZE(OSMessageQueue, 0x3c);
+
54 
+
55 #pragma pack(pop)
+
56 
+
57 void
+ +
59  OSMessage *messages,
+
60  int32_t size);
+
61 
+
62 void
+ +
64  OSMessage *messages,
+
65  int32_t size,
+
66  const char *name);
+
67 
+
68 BOOL
+ +
70  OSMessage *message,
+
71  OSMessageFlags flags);
+
72 
+
73 BOOL
+ +
75  OSMessage *message,
+
76  OSMessageFlags flags);
+
77 
+
78 BOOL
+ +
80  OSMessage *message,
+
81  OSMessageFlags flags);
+
82 
+
83 BOOL
+ +
85  OSMessage *message);
+
86 
+ + +
89 
+
90 #ifdef __cplusplus
+
91 }
+
92 #endif
+
93 
+
OSMessage * messages
Definition: messagequeue.h:40
+
OSMessageFlags
Definition: messagequeue.h:16
+
OSMessageQueue * OSGetSystemMessageQueue()
+
uint32_t tag
Definition: messagequeue.h:35
+
uint32_t used
Definition: messagequeue.h:43
+
uint32_t size
Definition: messagequeue.h:41
+
BOOL OSJamMessage(OSMessageQueue *queue, OSMessage *message, OSMessageFlags flags)
+
OSThreadQueue sendQueue
Definition: messagequeue.h:38
+
BOOL OSPeekMessage(OSMessageQueue *queue, OSMessage *message)
+
BOOL OSReceiveMessage(OSMessageQueue *queue, OSMessage *message, OSMessageFlags flags)
+
OSThreadQueue recvQueue
Definition: messagequeue.h:39
+
void OSInitMessageQueueEx(OSMessageQueue *queue, OSMessage *messages, int32_t size, const char *name)
+ +
uint32_t args[3]
Definition: messagequeue.h:25
+
BOOL OSSendMessage(OSMessageQueue *queue, OSMessage *message, OSMessageFlags flags)
+
int BOOL
Definition: wut_types.h:4
+ + +
uint32_t first
Definition: messagequeue.h:42
+
void OSInitMessageQueue(OSMessageQueue *queue, OSMessage *messages, int32_t size)
+
const char * name
Definition: messagequeue.h:36
+ + + +
void * message
Definition: messagequeue.h:24
+
+ + + + diff --git a/modules.html b/modules.html new file mode 100644 index 0000000..d3d2790 --- /dev/null +++ b/modules.html @@ -0,0 +1,125 @@ + + + + + + +WUT: Modules + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + +
+ +
+
+ + +
+ +
+ +
+
+
Modules
+
+ + + + + diff --git a/mutex_8h.html b/mutex_8h.html new file mode 100644 index 0000000..cd8d893 --- /dev/null +++ b/mutex_8h.html @@ -0,0 +1,146 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/mutex.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
mutex.h File Reference
+
+
+
#include <wut.h>
+#include "threadqueue.h"
+
+

Go to the source code of this file.

+ + + + + + +

+Data Structures

struct  OSMutexLink
 
struct  OSMutex
 
+ + + +

+Macros

#define OS_MUTEX_TAG   0x6D557458u
 
+ + + + + + + +

+Typedefs

typedef struct OSCondition OSCondition
 
typedef struct OSMutex OSMutex
 
typedef struct OSMutexLink OSMutexLink
 
+ + + + + + + + + + + +

+Functions

void OSInitMutex (OSMutex *mutex)
 
void OSInitMutexEx (OSMutex *mutex, const char *name)
 
void OSLockMutex (OSMutex *mutex)
 
void OSUnlockMutex (OSMutex *mutex)
 
BOOL OSTryLockMutex (OSMutex *mutex)
 
+
+ + + + diff --git a/mutex_8h_source.html b/mutex_8h_source.html new file mode 100644 index 0000000..90a4f61 --- /dev/null +++ b/mutex_8h_source.html @@ -0,0 +1,197 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/mutex.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
mutex.h
+
+
+Go to the documentation of this file.
1 #pragma once
+
2 #include <wut.h>
+
3 #include "threadqueue.h"
+
4 
+
11 #ifdef __cplusplus
+
12 extern "C" {
+
13 #endif
+
14 
+
15 typedef struct OSThread;
+
16 
+
17 typedef struct OSCondition OSCondition;
+
18 typedef struct OSMutex OSMutex;
+
19 typedef struct OSMutexLink OSMutexLink;
+
20 
+ +
22 {
+ + +
25 };
+
26 CHECK_OFFSET(OSMutexLink, 0x00, next);
+
27 CHECK_OFFSET(OSMutexLink, 0x04, prev);
+
28 CHECK_SIZE(OSMutexLink, 0x8);
+
29 
+
30 #define OS_MUTEX_TAG 0x6D557458u
+
31 
+
32 struct OSMutex
+
33 {
+
34  // OSMutex::Tag
+
35  uint32_t tag;
+
36 
+
37  // Name set by OSInitMutexEx(mutex, name)
+
38  const char *name;
+
39  UNKNOWN(4);
+
40 
+
41  // Queue of threads waiting for this mutex to unlock
+ +
43 
+
44  // Current owner of mutex
+ +
46 
+
47  // Current recursion lock count of mutex
+
48  int32_t count;
+
49 
+
50  // Link used inside OSThread's mutex queue
+ +
52 };
+
53 CHECK_OFFSET(OSMutex, 0x00, tag);
+
54 CHECK_OFFSET(OSMutex, 0x04, name);
+
55 CHECK_OFFSET(OSMutex, 0x0c, queue);
+
56 CHECK_OFFSET(OSMutex, 0x1c, owner);
+
57 CHECK_OFFSET(OSMutex, 0x20, count);
+
58 CHECK_OFFSET(OSMutex, 0x24, link);
+
59 CHECK_SIZE(OSMutex, 0x2c);
+
60 
+
61 void
+
62 OSInitMutex(OSMutex *mutex);
+
63 
+
64 void
+
65 OSInitMutexEx(OSMutex *mutex,
+
66  const char *name);
+
67 
+
68 void
+
69 OSLockMutex(OSMutex *mutex);
+
70 
+
71 void
+
72 OSUnlockMutex(OSMutex *mutex);
+
73 
+
74 BOOL
+
75 OSTryLockMutex(OSMutex *mutex);
+
76 
+
77 #ifdef __cplusplus
+
78 }
+
79 #endif
+
80 
+
int32_t count
Definition: mutex.h:48
+ + + +
OSThreadQueue queue
Definition: mutex.h:42
+ +
void OSInitMutexEx(OSMutex *mutex, const char *name)
+ +
uint32_t tag
Definition: mutex.h:35
+ + +
void OSUnlockMutex(OSMutex *mutex)
+
int BOOL
Definition: wut_types.h:4
+
OSThread * owner
Definition: mutex.h:45
+
Definition: mutex.h:32
+
void OSLockMutex(OSMutex *mutex)
+ +
void OSInitMutex(OSMutex *mutex)
+
BOOL OSTryLockMutex(OSMutex *mutex)
+
const char * name
Definition: mutex.h:38
+
OSMutexLink link
Definition: mutex.h:51
+
+ + + + diff --git a/nav_f.png b/nav_f.png new file mode 100644 index 0000000000000000000000000000000000000000..72a58a529ed3a9ed6aa0c51a79cf207e026deee2 GIT binary patch literal 153 zcmeAS@N?(olHy`uVBq!ia0vp^j6iI`!2~2XGqLUlQVE_ejv*C{Z|{2ZH7M}7UYxc) zn!W8uqtnIQ>_z8U literal 0 HcmV?d00001 diff --git a/nav_g.png b/nav_g.png new file mode 100644 index 0000000000000000000000000000000000000000..2093a237a94f6c83e19ec6e5fd42f7ddabdafa81 GIT binary patch literal 95 zcmeAS@N?(olHy`uVBq!ia0vp^j6lrB!3HFm1ilyoDK$?Q$B+ufw|5PB85lU25BhtE tr?otc=hd~V+ws&_A@j8Fiv!KF$B+ufw|5=67#uj90@pIL wZ=Q8~_Ju`#59=RjDrmm`tMD@M=!-l18IR?&vFVdQ&MBb@0HFXL1|%O$WD@{VPM$7~Ar*{o?;hlAFyLXmaDC0y znK1_#cQqJWPES%4Uujug^TE?jMft$}Eq^WaR~)%f)vSNs&gek&x%A9X9sM + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/rendezvous.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
rendezvous.h File Reference
+
+
+
#include <wut.h>
+
+

Go to the source code of this file.

+ + + + +

+Data Structures

struct  OSRendezvous
 
+ + + +

+Typedefs

typedef struct OSRendezvous OSRendezvous
 
+ + + + + + + +

+Functions

void OSInitRendezvous (OSRendezvous *rendezvous)
 
BOOL OSWaitRendezvous (OSRendezvous *rendezvous, uint32_t coreMask)
 
BOOL OSWaitRendezvousWithTimeout (OSRendezvous *rendezvous, uint32_t coreMask, OSTime timeout)
 
+
+ + + + diff --git a/rendezvous_8h_source.html b/rendezvous_8h_source.html new file mode 100644 index 0000000..4078335 --- /dev/null +++ b/rendezvous_8h_source.html @@ -0,0 +1,145 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/rendezvous.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
rendezvous.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 OSRendezvous OSRendezvous;
+
15 
+ +
17 {
+
18  uint32_t core[3];
+
19  UNKNOWN(4);
+
20 };
+
21 CHECK_OFFSET(OSRendezvous, 0x00, core);
+
22 CHECK_SIZE(OSRendezvous, 0x10);
+
23 
+
24 #pragma pack(pop)
+
25 
+
26 void
+
27 OSInitRendezvous(OSRendezvous *rendezvous);
+
28 
+
29 BOOL
+
30 OSWaitRendezvous(OSRendezvous *rendezvous,
+
31  uint32_t coreMask);
+
32 
+
33 BOOL
+ +
35  uint32_t coreMask,
+
36  OSTime timeout);
+
37 
+
38 #ifdef __cplusplus
+
39 }
+
40 #endif
+
41 
+
int64_t OSTime
Definition: time.h:17
+
BOOL OSWaitRendezvousWithTimeout(OSRendezvous *rendezvous, uint32_t coreMask, OSTime timeout)
+
uint32_t core[3]
Definition: rendezvous.h:18
+ + +
BOOL OSWaitRendezvous(OSRendezvous *rendezvous, uint32_t coreMask)
+
int BOOL
Definition: wut_types.h:4
+
void OSInitRendezvous(OSRendezvous *rendezvous)
+
+ + + + diff --git a/semaphore_8h.html b/semaphore_8h.html new file mode 100644 index 0000000..3180385 --- /dev/null +++ b/semaphore_8h.html @@ -0,0 +1,142 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/semaphore.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
semaphore.h File Reference
+
+
+
#include <wut.h>
+#include "threadqueue.h"
+
+

Go to the source code of this file.

+ + + + +

+Data Structures

struct  OSSemaphore
 
+ + + +

+Macros

#define OS_SEMAPHORE_TAG   0x73506852u
 
+ + + +

+Typedefs

typedef struct OSSemaphore OSSemaphore
 
+ + + + + + + + + + + + + +

+Functions

void OSInitSemaphore (OSSemaphore *semaphore, int32_t count)
 
void OSInitSemaphoreEx (OSSemaphore *semaphore, int32_t count, const char *name)
 
int32_t OSGetSemaphoreCount (OSSemaphore *semaphore)
 
int32_t OSSignalSemaphore (OSSemaphore *semaphore)
 
int32_t OSWaitSemaphore (OSSemaphore *semaphore)
 
int32_t OSTryWaitSemaphore (OSSemaphore *semaphore)
 
+
+ + + + diff --git a/semaphore_8h_source.html b/semaphore_8h_source.html new file mode 100644 index 0000000..4a458fd --- /dev/null +++ b/semaphore_8h_source.html @@ -0,0 +1,167 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/semaphore.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
semaphore.h
+
+
+Go to the documentation of this file.
1 #pragma once
+
2 #include <wut.h>
+
3 #include "threadqueue.h"
+
4 
+
11 #ifdef __cplusplus
+
12 extern "C" {
+
13 #endif
+
14 
+
15 typedef struct OSSemaphore OSSemaphore;
+
16 
+
17 #define OS_SEMAPHORE_TAG 0x73506852u
+
18 
+ +
20 {
+
21  uint32_t tag;
+
22  const char *name;
+
23  UNKNOWN(4);
+
24  int32_t count;
+ +
26 };
+
27 CHECK_OFFSET(OSSemaphore, 0x00, tag);
+
28 CHECK_OFFSET(OSSemaphore, 0x04, name);
+
29 CHECK_OFFSET(OSSemaphore, 0x0C, count);
+
30 CHECK_OFFSET(OSSemaphore, 0x10, queue);
+
31 CHECK_SIZE(OSSemaphore, 0x20);
+
32 
+
33 void
+
34 OSInitSemaphore(OSSemaphore *semaphore,
+
35  int32_t count);
+
36 
+
37 void
+ +
39  int32_t count,
+
40  const char *name);
+
41 
+
42 int32_t
+ +
44 
+
45 int32_t
+
46 OSSignalSemaphore(OSSemaphore *semaphore);
+
47 
+
48 int32_t
+
49 OSWaitSemaphore(OSSemaphore *semaphore);
+
50 
+
51 int32_t
+ +
53 
+
54 #ifdef __cplusplus
+
55 }
+
56 #endif
+
57 
+
OSThreadQueue queue
Definition: semaphore.h:25
+
int32_t OSTryWaitSemaphore(OSSemaphore *semaphore)
+
const char * name
Definition: semaphore.h:22
+ +
int32_t OSWaitSemaphore(OSSemaphore *semaphore)
+ +
int32_t count
Definition: semaphore.h:24
+
uint32_t tag
Definition: semaphore.h:21
+ +
void OSInitSemaphoreEx(OSSemaphore *semaphore, int32_t count, const char *name)
+
int32_t OSSignalSemaphore(OSSemaphore *semaphore)
+
int32_t OSGetSemaphoreCount(OSSemaphore *semaphore)
+ +
void OSInitSemaphore(OSSemaphore *semaphore, int32_t count)
+
+ + + + diff --git a/spinlock_8h.html b/spinlock_8h.html new file mode 100644 index 0000000..1d41fdd --- /dev/null +++ b/spinlock_8h.html @@ -0,0 +1,142 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/spinlock.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
spinlock.h File Reference
+
+
+
#include <wut.h>
+#include "time.h"
+
+

Go to the source code of this file.

+ + + + +

+Data Structures

struct  OSSpinLock
 
+ + + +

+Typedefs

typedef struct OSSpinLock OSSpinLock
 
+ + + + + + + + + + + + + + + + + + + +

+Functions

void OSInitSpinLock (OSSpinLock *spinlock)
 
BOOL OSAcquireSpinLock (OSSpinLock *spinlock)
 
BOOL OSTryAcquireSpinLock (OSSpinLock *spinlock)
 
BOOL OSTryAcquireSpinLockWithTimeout (OSSpinLock *spinlock, OSTime timeout)
 
BOOL OSReleaseSpinLock (OSSpinLock *spinlock)
 
BOOL OSUninterruptibleSpinLock_Acquire (OSSpinLock *spinlock)
 
BOOL OSUninterruptibleSpinLock_TryAcquire (OSSpinLock *spinlock)
 
BOOL OSUninterruptibleSpinLock_TryAcquireWithTimeout (OSSpinLock *spinlock, OSTime timeout)
 
BOOL OSUninterruptibleSpinLock_Release (OSSpinLock *spinlock)
 
+
+ + + + diff --git a/spinlock_8h_source.html b/spinlock_8h_source.html new file mode 100644 index 0000000..8360335 --- /dev/null +++ b/spinlock_8h_source.html @@ -0,0 +1,174 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/spinlock.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
spinlock.h
+
+
+Go to the documentation of this file.
1 #pragma once
+
2 #include <wut.h>
+
3 #include "time.h"
+
4 
+
11 #ifdef __cplusplus
+
12 extern "C" {
+
13 #endif
+
14 
+
15 typedef struct OSSpinLock OSSpinLock;
+
16 
+
17 struct OSSpinLock
+
18 {
+
19  uint32_t owner;
+
20  UNKNOWN(0x4);
+
21  uint32_t recursion;
+
22  UNKNOWN(0x4);
+
23 };
+
24 CHECK_OFFSET(OSSpinLock, 0x0, owner);
+
25 CHECK_OFFSET(OSSpinLock, 0x8, recursion);
+
26 CHECK_SIZE(OSSpinLock, 0x10);
+
27 
+
28 #pragma pack(pop)
+
29 
+
30 void
+
31 OSInitSpinLock(OSSpinLock *spinlock);
+
32 
+
33 BOOL
+
34 OSAcquireSpinLock(OSSpinLock *spinlock);
+
35 
+
36 BOOL
+ +
38 
+
39 BOOL
+ +
41  OSTime timeout);
+
42 
+
43 BOOL
+
44 OSReleaseSpinLock(OSSpinLock *spinlock);
+
45 
+
46 BOOL
+ +
48 
+
49 BOOL
+ +
51 
+
52 BOOL
+ +
54  OSTime timeout);
+
55 
+
56 BOOL
+ +
58 
+
59 #ifdef __cplusplus
+
60 }
+
61 #endif
+
62 
+
int64_t OSTime
Definition: time.h:17
+ +
BOOL OSReleaseSpinLock(OSSpinLock *spinlock)
+
uint32_t recursion
Definition: spinlock.h:21
+ +
void OSInitSpinLock(OSSpinLock *spinlock)
+
BOOL OSTryAcquireSpinLock(OSSpinLock *spinlock)
+
BOOL OSUninterruptibleSpinLock_Release(OSSpinLock *spinlock)
+ +
BOOL OSUninterruptibleSpinLock_Acquire(OSSpinLock *spinlock)
+
int BOOL
Definition: wut_types.h:4
+
BOOL OSAcquireSpinLock(OSSpinLock *spinlock)
+
BOOL OSTryAcquireSpinLockWithTimeout(OSSpinLock *spinlock, OSTime timeout)
+
BOOL OSUninterruptibleSpinLock_TryAcquireWithTimeout(OSSpinLock *spinlock, OSTime timeout)
+
uint32_t owner
Definition: spinlock.h:19
+
BOOL OSUninterruptibleSpinLock_TryAcquire(OSSpinLock *spinlock)
+
+ + + + diff --git a/splitbar.png b/splitbar.png new file mode 100644 index 0000000000000000000000000000000000000000..fe895f2c58179b471a22d8320b39a4bd7312ec8e GIT binary patch literal 314 zcmeAS@N?(olHy`uVBq!ia0vp^Yzz!63>-{AmhX=Jf(#6djGiuzAr*{o?=JLmPLyc> z_*`QK&+BH@jWrYJ7>r6%keRM@)Qyv8R=enp0jiI>aWlGyB58O zFVR20d+y`K7vDw(hJF3;>dD*3-?v=<8M)@x|EEGLnJsniYK!2U1 Y!`|5biEc?d1`HDhPgg&ebxsLQ02F6;9RL6T literal 0 HcmV?d00001 diff --git a/state_8h.html b/state_8h.html new file mode 100644 index 0000000..029df04 --- /dev/null +++ b/state_8h.html @@ -0,0 +1,135 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/gx2/state.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
state.h File Reference
+
+
+
#include <wut.h>
+
+

Go to the source code of this file.

+ + + + +

+Typedefs

typedef uint32_t GX2InitAttributes
 
+ + + +

+Enumerations

enum  GX2InitAttributes {
+  GX2_INIT_END = 0, +GX2_INIT_CMD_BUF_BASE = 1, +GX2_INIT_CMD_BUF_POOL_SIZE = 2, +GX2_INIT_ARGC = 7, +
+  GX2_INIT_ARGV = 8 +
+ }
 
+ + + + + +

+Functions

void GX2Init (uint32_t *attributes)
 
void GX2Shutdown ()
 
+
+ + + + diff --git a/state_8h_source.html b/state_8h_source.html new file mode 100644 index 0000000..06f4fe0 --- /dev/null +++ b/state_8h_source.html @@ -0,0 +1,139 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/gx2/state.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
state.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 uint32_t GX2InitAttributes;
+
15 
+
16 enum GX2InitAttributes
+
17 {
+ + + + + +
23 };
+
24 
+
25 void
+
26 GX2Init(uint32_t *attributes);
+
27 
+
28 void
+
29 GX2Shutdown();
+
30 
+
31 #ifdef __cplusplus
+
32 }
+
33 #endif
+
34 
+
void GX2Shutdown()
+ +
GX2InitAttributes
Definition: state.h:16
+
void GX2Init(uint32_t *attributes)
+ + + + + +
+ + + + diff --git a/struct_m_e_m_expanded_heap.html b/struct_m_e_m_expanded_heap.html new file mode 100644 index 0000000..268cf3e --- /dev/null +++ b/struct_m_e_m_expanded_heap.html @@ -0,0 +1,107 @@ + + + + + + +WUT: MEMExpandedHeap Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+
+
MEMExpandedHeap Struct Reference
+
+
+ +

#include <expandedheap.h>

+

Detailed Description

+
+

Definition at line 19 of file expandedheap.h.

+

The documentation for this struct was generated from the following file: +
+ + + + diff --git a/struct_m_e_m_memory_link.html b/struct_m_e_m_memory_link.html new file mode 100644 index 0000000..b63489d --- /dev/null +++ b/struct_m_e_m_memory_link.html @@ -0,0 +1,146 @@ + + + + + + +WUT: MEMMemoryLink Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
MEMMemoryLink Struct Reference
+
+
+ +

#include <memlist.h>

+ + + + + + +

+Data Fields

void * prev
 
void * next
 
+

Detailed Description

+
+

Definition at line 14 of file memlist.h.

+

Field Documentation

+ +
+
+ + + + +
void* next
+
+ +

Definition at line 17 of file memlist.h.

+ +
+
+ +
+
+ + + + +
void* prev
+
+ +

Definition at line 16 of file memlist.h.

+ +
+
+
The documentation for this struct was generated from the following file:
    +
  • D:/Programming/Projects/wut/include/coreinit/memlist.h
  • +
+
+ + + + diff --git a/struct_m_e_m_memory_list.html b/struct_m_e_m_memory_list.html new file mode 100644 index 0000000..d7ab1ca --- /dev/null +++ b/struct_m_e_m_memory_list.html @@ -0,0 +1,178 @@ + + + + + + +WUT: MEMMemoryList Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
MEMMemoryList Struct Reference
+
+
+ +

#include <memlist.h>

+ + + + + + + + + + +

+Data Fields

void * head
 
void * tail
 
uint16_t count
 
uint16_t offsetToMemoryLink
 
+

Detailed Description

+
+

Definition at line 24 of file memlist.h.

+

Field Documentation

+ +
+
+ + + + +
uint16_t count
+
+ +

Definition at line 28 of file memlist.h.

+ +
+
+ +
+
+ + + + +
void* head
+
+ +

Definition at line 26 of file memlist.h.

+ +
+
+ +
+
+ + + + +
uint16_t offsetToMemoryLink
+
+ +

Definition at line 29 of file memlist.h.

+ +
+
+ +
+
+ + + + +
void* tail
+
+ +

Definition at line 27 of file memlist.h.

+ +
+
+
The documentation for this struct was generated from the following file:
    +
  • D:/Programming/Projects/wut/include/coreinit/memlist.h
  • +
+
+ + + + diff --git a/struct_m_e_m_unit_heap.html b/struct_m_e_m_unit_heap.html new file mode 100644 index 0000000..4d0a9c7 --- /dev/null +++ b/struct_m_e_m_unit_heap.html @@ -0,0 +1,107 @@ + + + + + + +WUT: MEMUnitHeap Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+
+
MEMUnitHeap Struct Reference
+
+
+ +

#include <unitheap.h>

+

Detailed Description

+
+

Definition at line 16 of file unitheap.h.

+

The documentation for this struct was generated from the following file:
    +
  • D:/Programming/Projects/wut/include/coreinit/unitheap.h
  • +
+
+ + + + diff --git a/struct_m_p_task.html b/struct_m_p_task.html new file mode 100644 index 0000000..373ad0b --- /dev/null +++ b/struct_m_p_task.html @@ -0,0 +1,274 @@ + + + + + + +WUT: MPTask Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
MPTask Struct Reference
+
+
+ +

#include <taskqueue.h>

+ + + + + + + + + + + + + + + + + + + + + + +

+Data Fields

MPTaskself
 
MPTaskQueuequeue
 
MPTaskState state
 
MPTaskFunc func
 
uint32_t userArg1
 
uint32_t userArg2
 
uint32_t result
 
uint32_t coreID
 
OSTime duration
 
void * userData
 
+

Detailed Description

+
+

Definition at line 45 of file taskqueue.h.

+

Field Documentation

+ +
+
+ + + + +
uint32_t coreID
+
+ +

Definition at line 54 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
OSTime duration
+
+ +

Definition at line 55 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
MPTaskFunc func
+
+ +

Definition at line 50 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
MPTaskQueue* queue
+
+ +

Definition at line 48 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
uint32_t result
+
+ +

Definition at line 53 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
MPTask* self
+
+ +

Definition at line 47 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
MPTaskState state
+
+ +

Definition at line 49 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
uint32_t userArg1
+
+ +

Definition at line 51 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
uint32_t userArg2
+
+ +

Definition at line 52 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
void* userData
+
+ +

Definition at line 56 of file taskqueue.h.

+ +
+
+
The documentation for this struct was generated from the following file:
    +
  • D:/Programming/Projects/wut/include/coreinit/taskqueue.h
  • +
+
+ + + + diff --git a/struct_m_p_task_info.html b/struct_m_p_task_info.html new file mode 100644 index 0000000..a848542 --- /dev/null +++ b/struct_m_p_task_info.html @@ -0,0 +1,178 @@ + + + + + + +WUT: MPTaskInfo Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
MPTaskInfo Struct Reference
+
+
+ +

#include <taskqueue.h>

+ + + + + + + + + + +

+Data Fields

MPTaskState state
 
uint32_t result
 
uint32_t coreID
 
OSTime duration
 
+

Detailed Description

+
+

Definition at line 32 of file taskqueue.h.

+

Field Documentation

+ +
+
+ + + + +
uint32_t coreID
+
+ +

Definition at line 36 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
OSTime duration
+
+ +

Definition at line 37 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
uint32_t result
+
+ +

Definition at line 35 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
MPTaskState state
+
+ +

Definition at line 34 of file taskqueue.h.

+ +
+
+
The documentation for this struct was generated from the following file:
    +
  • D:/Programming/Projects/wut/include/coreinit/taskqueue.h
  • +
+
+ + + + diff --git a/struct_m_p_task_queue.html b/struct_m_p_task_queue.html new file mode 100644 index 0000000..56c358f --- /dev/null +++ b/struct_m_p_task_queue.html @@ -0,0 +1,290 @@ + + + + + + +WUT: MPTaskQueue Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
MPTaskQueue Struct Reference
+
+
+ +

#include <taskqueue.h>

+ + + + + + + + + + + + + + + + + + + + + + + + +

+Data Fields

MPTaskQueueself
 
MPTaskQueueState state
 
uint32_t tasks
 
uint32_t tasksReady
 
uint32_t tasksRunning
 
uint32_t tasksFinished
 
uint32_t queueIndex
 
uint32_t queueSize
 
MPTask ** queue
 
uint32_t queueMaxSize
 
OSSpinLock lock
 
+

Detailed Description

+
+

Definition at line 85 of file taskqueue.h.

+

Field Documentation

+ +
+
+ + + + +
OSSpinLock lock
+
+ +

Definition at line 101 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
MPTask** queue
+
+ +

Definition at line 99 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
uint32_t queueIndex
+
+ +

Definition at line 95 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
uint32_t queueMaxSize
+
+ +

Definition at line 100 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
uint32_t queueSize
+
+ +

Definition at line 97 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
MPTaskQueue* self
+
+ +

Definition at line 87 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
MPTaskQueueState state
+
+ +

Definition at line 88 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
uint32_t tasks
+
+ +

Definition at line 89 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
uint32_t tasksFinished
+
+ +

Definition at line 93 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
uint32_t tasksReady
+
+ +

Definition at line 90 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
uint32_t tasksRunning
+
+ +

Definition at line 91 of file taskqueue.h.

+ +
+
+
The documentation for this struct was generated from the following file:
    +
  • D:/Programming/Projects/wut/include/coreinit/taskqueue.h
  • +
+
+ + + + diff --git a/struct_m_p_task_queue_info.html b/struct_m_p_task_queue_info.html new file mode 100644 index 0000000..c4b2333 --- /dev/null +++ b/struct_m_p_task_queue_info.html @@ -0,0 +1,194 @@ + + + + + + +WUT: MPTaskQueueInfo Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
MPTaskQueueInfo Struct Reference
+
+
+ +

#include <taskqueue.h>

+ + + + + + + + + + + + +

+Data Fields

MPTaskQueueState state
 
uint32_t tasks
 
uint32_t tasksReady
 
uint32_t tasksRunning
 
uint32_t tasksFinished
 
+

Detailed Description

+
+

Definition at line 70 of file taskqueue.h.

+

Field Documentation

+ +
+
+ + + + +
MPTaskQueueState state
+
+ +

Definition at line 72 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
uint32_t tasks
+
+ +

Definition at line 73 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
uint32_t tasksFinished
+
+ +

Definition at line 76 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
uint32_t tasksReady
+
+ +

Definition at line 74 of file taskqueue.h.

+ +
+
+ +
+
+ + + + +
uint32_t tasksRunning
+
+ +

Definition at line 75 of file taskqueue.h.

+ +
+
+
The documentation for this struct was generated from the following file:
    +
  • D:/Programming/Projects/wut/include/coreinit/taskqueue.h
  • +
+
+ + + + diff --git a/struct_o_s_alarm.html b/struct_o_s_alarm.html new file mode 100644 index 0000000..ceef8a3 --- /dev/null +++ b/struct_o_s_alarm.html @@ -0,0 +1,361 @@ + + + + + + +WUT: OSAlarm Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
OSAlarm Struct Reference
+
+
+ +

#include <alarm.h>

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Data Fields

uint32_t tag
 Should always be set to the value OS_ALARM_TAG. More...
 
const char * name
 Name set from OSCreateAlarmEx. More...
 
OSAlarmCallback callback
 The callback to execute once the alarm is triggered. More...
 
uint32_t group
 Used with OSCancelAlarms for bulk cancellation of alarms. More...
 
OSTime nextFire
 The time when the alarm will next be triggered. More...
 
OSAlarmLink link
 Link used for when this OSAlarm object is inside an OSAlarmQueue. More...
 
OSTime period
 The period between alarm triggers, this is only set for periodic alarms. More...
 
OSTime start
 The time the alarm was started. More...
 
void * userData
 User data set with OSSetAlarmUserData and retrieved with OSGetAlarmUserData. More...
 
uint32_t state
 The current state of the alarm, internal values. More...
 
OSThreadQueue threadQueue
 Queue of threads currently waiting for the alarm to trigger with OSWaitAlarm. More...
 
OSAlarmQueuealarmQueue
 The queue that this alarm is currently in. More...
 
OSContextcontext
 The context the alarm was triggered on. More...
 
+

Detailed Description

+
+

Definition at line 62 of file alarm.h.

+

Field Documentation

+ +
+
+ + + + +
OSAlarmQueue* alarmQueue
+
+ +

The queue that this alarm is currently in.

+ +

Definition at line 102 of file alarm.h.

+ +
+
+ +
+
+ + + + +
OSAlarmCallback callback
+
+ +

The callback to execute once the alarm is triggered.

+ +

Definition at line 73 of file alarm.h.

+ +
+
+ +
+
+ + + + +
OSContext* context
+
+ +

The context the alarm was triggered on.

+ +

Definition at line 105 of file alarm.h.

+ +
+
+ +
+
+ + + + +
uint32_t group
+
+ +

Used with OSCancelAlarms for bulk cancellation of alarms.

+ +

Definition at line 76 of file alarm.h.

+ +
+
+ +
+
+ + + + +
OSAlarmLink link
+
+ +

Link used for when this OSAlarm object is inside an OSAlarmQueue.

+ +

Definition at line 84 of file alarm.h.

+ +
+
+ +
+
+ + + + +
const char* name
+
+ +

Name set from OSCreateAlarmEx.

+ +

Definition at line 68 of file alarm.h.

+ +
+
+ +
+
+ + + + +
OSTime nextFire
+
+ +

The time when the alarm will next be triggered.

+ +

Definition at line 81 of file alarm.h.

+ +
+
+ +
+
+ + + + +
OSTime period
+
+ +

The period between alarm triggers, this is only set for periodic alarms.

+ +

Definition at line 87 of file alarm.h.

+ +
+
+ +
+
+ + + + +
OSTime start
+
+ +

The time the alarm was started.

+ +

Definition at line 90 of file alarm.h.

+ +
+
+ +
+
+ + + + +
uint32_t state
+
+ +

The current state of the alarm, internal values.

+ +

Definition at line 96 of file alarm.h.

+ +
+
+ +
+
+ + + + +
uint32_t tag
+
+ +

Should always be set to the value OS_ALARM_TAG.

+ +

Definition at line 65 of file alarm.h.

+ +
+
+ +
+
+ + + + +
OSThreadQueue threadQueue
+
+ +

Queue of threads currently waiting for the alarm to trigger with OSWaitAlarm.

+ +

Definition at line 99 of file alarm.h.

+ +
+
+ +
+
+ + + + +
void* userData
+
+ +

User data set with OSSetAlarmUserData and retrieved with OSGetAlarmUserData.

+ +

Definition at line 93 of file alarm.h.

+ +
+
+
The documentation for this struct was generated from the following file:
    +
  • D:/Programming/Projects/wut/include/coreinit/alarm.h
  • +
+
+ + + + diff --git a/struct_o_s_alarm_link.html b/struct_o_s_alarm_link.html new file mode 100644 index 0000000..9b9cc1c --- /dev/null +++ b/struct_o_s_alarm_link.html @@ -0,0 +1,146 @@ + + + + + + +WUT: OSAlarmLink Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
OSAlarmLink Struct Reference
+
+
+ +

#include <alarm.h>

+ + + + + + +

+Data Fields

OSAlarmprev
 
OSAlarmnext
 
+

Detailed Description

+
+

Definition at line 52 of file alarm.h.

+

Field Documentation

+ +
+
+ + + + +
OSAlarm* next
+
+ +

Definition at line 55 of file alarm.h.

+ +
+
+ +
+
+ + + + +
OSAlarm* prev
+
+ +

Definition at line 54 of file alarm.h.

+ +
+
+
The documentation for this struct was generated from the following file:
    +
  • D:/Programming/Projects/wut/include/coreinit/alarm.h
  • +
+
+ + + + diff --git a/struct_o_s_alarm_queue.html b/struct_o_s_alarm_queue.html new file mode 100644 index 0000000..de4646c --- /dev/null +++ b/struct_o_s_alarm_queue.html @@ -0,0 +1,194 @@ + + + + + + +WUT: OSAlarmQueue Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
OSAlarmQueue Struct Reference
+
+
+ +

#include <alarm.h>

+ + + + + + + + + + + + +

+Data Fields

uint32_t tag
 
const char * name
 
OSThreadQueue threadQueue
 
OSAlarmhead
 
OSAlarmtail
 
+

Detailed Description

+
+

Definition at line 32 of file alarm.h.

+

Field Documentation

+ +
+
+ + + + +
OSAlarm* head
+
+ +

Definition at line 42 of file alarm.h.

+ +
+
+ +
+
+ + + + +
const char* name
+
+ +

Definition at line 38 of file alarm.h.

+ +
+
+ +
+
+ + + + +
uint32_t tag
+
+ +

Definition at line 35 of file alarm.h.

+ +
+
+ +
+
+ + + + +
OSAlarm* tail
+
+ +

Definition at line 43 of file alarm.h.

+ +
+
+ +
+
+ + + + +
OSThreadQueue threadQueue
+
+ +

Definition at line 41 of file alarm.h.

+ +
+
+
The documentation for this struct was generated from the following file:
    +
  • D:/Programming/Projects/wut/include/coreinit/alarm.h
  • +
+
+ + + + diff --git a/struct_o_s_calendar_time.html b/struct_o_s_calendar_time.html new file mode 100644 index 0000000..413d3d4 --- /dev/null +++ b/struct_o_s_calendar_time.html @@ -0,0 +1,210 @@ + + + + + + +WUT: OSCalendarTime Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
OSCalendarTime Struct Reference
+
+
+ +

#include <time.h>

+ + + + + + + + + + + + + + +

+Data Fields

int32_t tm_sec
 
int32_t tm_min
 
int32_t tm_hour
 
int32_t tm_mday
 
int32_t tm_mon
 
int32_t tm_year
 
+

Detailed Description

+
+

Definition at line 19 of file time.h.

+

Field Documentation

+ +
+
+ + + + +
int32_t tm_hour
+
+ +

Definition at line 23 of file time.h.

+ +
+
+ +
+
+ + + + +
int32_t tm_mday
+
+ +

Definition at line 24 of file time.h.

+ +
+
+ +
+
+ + + + +
int32_t tm_min
+
+ +

Definition at line 22 of file time.h.

+ +
+
+ +
+
+ + + + +
int32_t tm_mon
+
+ +

Definition at line 25 of file time.h.

+ +
+
+ +
+
+ + + + +
int32_t tm_sec
+
+ +

Definition at line 21 of file time.h.

+ +
+
+ +
+
+ + + + +
int32_t tm_year
+
+ +

Definition at line 26 of file time.h.

+ +
+
+
The documentation for this struct was generated from the following file:
    +
  • D:/Programming/Projects/wut/include/coreinit/time.h
  • +
+
+ + + + diff --git a/struct_o_s_condition.html b/struct_o_s_condition.html new file mode 100644 index 0000000..49b8721 --- /dev/null +++ b/struct_o_s_condition.html @@ -0,0 +1,171 @@ + + + + + + +WUT: OSCondition Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
OSCondition Struct Reference
+
+
+ +

#include <condition.h>

+ + + + + + + + + + + +

+Data Fields

uint32_t tag
 Should always be set to the value OS_CONDITION_TAG. More...
 
const char * name
 Name set by OSInitCondEx. More...
 
OSThreadQueue queue
 Queue of threads currently waiting on condition with OSWaitCond. More...
 
+

Detailed Description

+
+

Definition at line 20 of file condition.h.

+

Field Documentation

+ +
+
+ + + + +
const char* name
+
+ +

Name set by OSInitCondEx.

+ +

Definition at line 26 of file condition.h.

+ +
+
+ +
+
+ + + + +
OSThreadQueue queue
+
+ +

Queue of threads currently waiting on condition with OSWaitCond.

+ +

Definition at line 31 of file condition.h.

+ +
+
+ +
+
+ + + + +
uint32_t tag
+
+ +

Should always be set to the value OS_CONDITION_TAG.

+ +

Definition at line 23 of file condition.h.

+ +
+
+
The documentation for this struct was generated from the following file:
    +
  • D:/Programming/Projects/wut/include/coreinit/condition.h
  • +
+
+ + + + diff --git a/struct_o_s_context.html b/struct_o_s_context.html new file mode 100644 index 0000000..59f55c0 --- /dev/null +++ b/struct_o_s_context.html @@ -0,0 +1,482 @@ + + + + + + +WUT: OSContext Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
OSContext Struct Reference
+
+
+ +

#include <thread.h>

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Data Fields

uint64_t tag
 
uint32_t gpr [32]
 
uint32_t cr
 
uint32_t lr
 
uint32_t ctr
 
uint32_t xer
 
uint32_t srr0
 
uint32_t srr1
 
uint32_t fpscr
 
double fpr [32]
 
uint16_t spinLockCount
 
uint16_t state
 
uint32_t gqr [8]
 
double psf [32]
 
uint64_t coretime [3]
 
uint64_t starttime
 
uint32_t error
 
uint32_t pmc1
 
uint32_t pmc2
 
uint32_t pmc3
 
uint32_t pmc4
 
uint32_t mmcr0
 
uint32_t mmcr1
 
+

Detailed Description

+
+

Definition at line 58 of file thread.h.

+

Field Documentation

+ +
+
+ + + + +
uint64_t coretime[3]
+
+ +

Definition at line 76 of file thread.h.

+ +
+
+ +
+
+ + + + +
uint32_t cr
+
+ +

Definition at line 62 of file thread.h.

+ +
+
+ +
+
+ + + + +
uint32_t ctr
+
+ +

Definition at line 64 of file thread.h.

+ +
+
+ +
+
+ + + + +
uint32_t error
+
+ +

Definition at line 78 of file thread.h.

+ +
+
+ +
+
+ + + + +
double fpr[32]
+
+ +

Definition at line 70 of file thread.h.

+ +
+
+ +
+
+ + + + +
uint32_t fpscr
+
+ +

Definition at line 69 of file thread.h.

+ +
+
+ +
+
+ + + + +
uint32_t gpr[32]
+
+ +

Definition at line 61 of file thread.h.

+ +
+
+ +
+
+ + + + +
uint32_t gqr[8]
+
+ +

Definition at line 73 of file thread.h.

+ +
+
+ +
+
+ + + + +
uint32_t lr
+
+ +

Definition at line 63 of file thread.h.

+ +
+
+ +
+
+ + + + +
uint32_t mmcr0
+
+ +

Definition at line 84 of file thread.h.

+ +
+
+ +
+
+ + + + +
uint32_t mmcr1
+
+ +

Definition at line 85 of file thread.h.

+ +
+
+ +
+
+ + + + +
uint32_t pmc1
+
+ +

Definition at line 80 of file thread.h.

+ +
+
+ +
+
+ + + + +
uint32_t pmc2
+
+ +

Definition at line 81 of file thread.h.

+ +
+
+ +
+
+ + + + +
uint32_t pmc3
+
+ +

Definition at line 82 of file thread.h.

+ +
+
+ +
+
+ + + + +
uint32_t pmc4
+
+ +

Definition at line 83 of file thread.h.

+ +
+
+ +
+
+ + + + +
double psf[32]
+
+ +

Definition at line 75 of file thread.h.

+ +
+
+ +
+
+ + + + +
uint16_t spinLockCount
+
+ +

Definition at line 71 of file thread.h.

+ +
+
+ +
+
+ + + + +
uint32_t srr0
+
+ +

Definition at line 66 of file thread.h.

+ +
+
+ +
+
+ + + + +
uint32_t srr1
+
+ +

Definition at line 67 of file thread.h.

+ +
+
+ +
+
+ + + + +
uint64_t starttime
+
+ +

Definition at line 77 of file thread.h.

+ +
+
+ +
+
+ + + + +
uint16_t state
+
+ +

Definition at line 72 of file thread.h.

+ +
+
+ +
+
+ + + + +
uint64_t tag
+
+ +

Definition at line 60 of file thread.h.

+ +
+
+ +
+
+ + + + +
uint32_t xer
+
+ +

Definition at line 65 of file thread.h.

+ +
+
+
The documentation for this struct was generated from the following file:
    +
  • D:/Programming/Projects/wut/include/coreinit/thread.h
  • +
+
+ + + + diff --git a/struct_o_s_event.html b/struct_o_s_event.html new file mode 100644 index 0000000..8c429fc --- /dev/null +++ b/struct_o_s_event.html @@ -0,0 +1,194 @@ + + + + + + +WUT: OSEvent Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
OSEvent Struct Reference
+
+
+ +

#include <event.h>

+ + + + + + + + + + + + +

+Data Fields

uint32_t tag
 
const char * name
 
BOOL value
 
OSThreadQueue queue
 
OSEventMode mode
 
+

Detailed Description

+
+

Definition at line 27 of file event.h.

+

Field Documentation

+ +
+
+ + + + +
OSEventMode mode
+
+ +

Definition at line 34 of file event.h.

+ +
+
+ +
+
+ + + + +
const char* name
+
+ +

Definition at line 30 of file event.h.

+ +
+
+ +
+
+ + + + +
OSThreadQueue queue
+
+ +

Definition at line 33 of file event.h.

+ +
+
+ +
+
+ + + + +
uint32_t tag
+
+ +

Definition at line 29 of file event.h.

+ +
+
+ +
+
+ + + + +
BOOL value
+
+ +

Definition at line 32 of file event.h.

+ +
+
+
The documentation for this struct was generated from the following file:
    +
  • D:/Programming/Projects/wut/include/coreinit/event.h
  • +
+
+ + + + diff --git a/struct_o_s_fast_condition.html b/struct_o_s_fast_condition.html new file mode 100644 index 0000000..b1a8f31 --- /dev/null +++ b/struct_o_s_fast_condition.html @@ -0,0 +1,162 @@ + + + + + + +WUT: OSFastCondition Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
OSFastCondition Struct Reference
+
+
+ +

#include <fastcondition.h>

+ + + + + + + + +

+Data Fields

uint32_t tag
 
const char * name
 
OSThreadQueue queue
 
+

Detailed Description

+
+

Definition at line 23 of file fastcondition.h.

+

Field Documentation

+ +
+
+ + + + +
const char* name
+
+ +

Definition at line 26 of file fastcondition.h.

+ +
+
+ +
+
+ + + + +
OSThreadQueue queue
+
+ +

Definition at line 28 of file fastcondition.h.

+ +
+
+ +
+
+ + + + +
uint32_t tag
+
+ +

Definition at line 25 of file fastcondition.h.

+ +
+
+
The documentation for this struct was generated from the following file: +
+ + + + diff --git a/struct_o_s_fast_mutex.html b/struct_o_s_fast_mutex.html new file mode 100644 index 0000000..a09647a --- /dev/null +++ b/struct_o_s_fast_mutex.html @@ -0,0 +1,178 @@ + + + + + + +WUT: OSFastMutex Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
OSFastMutex Struct Reference
+
+
+ +

#include <fastmutex.h>

+ + + + + + + + + + +

+Data Fields

uint32_t tag
 
const char * name
 
OSThreadSimpleQueue queue
 
OSFastMutexLink link
 
+

Detailed Description

+
+

Definition at line 30 of file fastmutex.h.

+

Field Documentation

+ +
+
+ + + + +
OSFastMutexLink link
+
+ +

Definition at line 36 of file fastmutex.h.

+ +
+
+ +
+
+ + + + +
const char* name
+
+ +

Definition at line 33 of file fastmutex.h.

+ +
+
+ +
+
+ + + + +
OSThreadSimpleQueue queue
+
+ +

Definition at line 35 of file fastmutex.h.

+ +
+
+ +
+
+ + + + +
uint32_t tag
+
+ +

Definition at line 32 of file fastmutex.h.

+ +
+
+
The documentation for this struct was generated from the following file:
    +
  • D:/Programming/Projects/wut/include/coreinit/fastmutex.h
  • +
+
+ + + + diff --git a/struct_o_s_fast_mutex_link.html b/struct_o_s_fast_mutex_link.html new file mode 100644 index 0000000..d55e945 --- /dev/null +++ b/struct_o_s_fast_mutex_link.html @@ -0,0 +1,146 @@ + + + + + + +WUT: OSFastMutexLink Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
OSFastMutexLink Struct Reference
+
+
+ +

#include <fastmutex.h>

+ + + + + + +

+Data Fields

OSFastMutexnext
 
OSFastMutexprev
 
+

Detailed Description

+
+

Definition at line 19 of file fastmutex.h.

+

Field Documentation

+ +
+
+ + + + +
OSFastMutex* next
+
+ +

Definition at line 21 of file fastmutex.h.

+ +
+
+ +
+
+ + + + +
OSFastMutex* prev
+
+ +

Definition at line 22 of file fastmutex.h.

+ +
+
+
The documentation for this struct was generated from the following file:
    +
  • D:/Programming/Projects/wut/include/coreinit/fastmutex.h
  • +
+
+ + + + diff --git a/struct_o_s_fast_mutex_queue.html b/struct_o_s_fast_mutex_queue.html new file mode 100644 index 0000000..ff6c4ae --- /dev/null +++ b/struct_o_s_fast_mutex_queue.html @@ -0,0 +1,146 @@ + + + + + + +WUT: OSFastMutexQueue Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
OSFastMutexQueue Struct Reference
+
+
+ +

#include <thread.h>

+ + + + + + +

+Data Fields

OSFastMutexhead
 
OSFastMutextail
 
+

Detailed Description

+
+

Definition at line 124 of file thread.h.

+

Field Documentation

+ +
+
+ + + + +
OSFastMutex* head
+
+ +

Definition at line 126 of file thread.h.

+ +
+
+ +
+
+ + + + +
OSFastMutex* tail
+
+ +

Definition at line 127 of file thread.h.

+ +
+
+
The documentation for this struct was generated from the following file:
    +
  • D:/Programming/Projects/wut/include/coreinit/thread.h
  • +
+
+ + + + diff --git a/struct_o_s_message.html b/struct_o_s_message.html new file mode 100644 index 0000000..7f78873 --- /dev/null +++ b/struct_o_s_message.html @@ -0,0 +1,146 @@ + + + + + + +WUT: OSMessage Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
OSMessage Struct Reference
+
+
+ +

#include <messagequeue.h>

+ + + + + + +

+Data Fields

void * message
 
uint32_t args [3]
 
+

Detailed Description

+
+

Definition at line 22 of file messagequeue.h.

+

Field Documentation

+ +
+
+ + + + +
uint32_t args[3]
+
+ +

Definition at line 25 of file messagequeue.h.

+ +
+
+ +
+
+ + + + +
void* message
+
+ +

Definition at line 24 of file messagequeue.h.

+ +
+
+
The documentation for this struct was generated from the following file: +
+ + + + diff --git a/struct_o_s_message_queue.html b/struct_o_s_message_queue.html new file mode 100644 index 0000000..3e0d02c --- /dev/null +++ b/struct_o_s_message_queue.html @@ -0,0 +1,242 @@ + + + + + + +WUT: OSMessageQueue Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
OSMessageQueue Struct Reference
+
+
+ +

#include <messagequeue.h>

+ + + + + + + + + + + + + + + + + + +

+Data Fields

uint32_t tag
 
const char * name
 
OSThreadQueue sendQueue
 
OSThreadQueue recvQueue
 
OSMessagemessages
 
uint32_t size
 
uint32_t first
 
uint32_t used
 
+

Detailed Description

+
+

Definition at line 33 of file messagequeue.h.

+

Field Documentation

+ +
+
+ + + + +
uint32_t first
+
+ +

Definition at line 42 of file messagequeue.h.

+ +
+
+ +
+
+ + + + +
OSMessage* messages
+
+ +

Definition at line 40 of file messagequeue.h.

+ +
+
+ +
+
+ + + + +
const char* name
+
+ +

Definition at line 36 of file messagequeue.h.

+ +
+
+ +
+
+ + + + +
OSThreadQueue recvQueue
+
+ +

Definition at line 39 of file messagequeue.h.

+ +
+
+ +
+
+ + + + +
OSThreadQueue sendQueue
+
+ +

Definition at line 38 of file messagequeue.h.

+ +
+
+ +
+
+ + + + +
uint32_t size
+
+ +

Definition at line 41 of file messagequeue.h.

+ +
+
+ +
+
+ + + + +
uint32_t tag
+
+ +

Definition at line 35 of file messagequeue.h.

+ +
+
+ +
+
+ + + + +
uint32_t used
+
+ +

Definition at line 43 of file messagequeue.h.

+ +
+
+
The documentation for this struct was generated from the following file: +
+ + + + diff --git a/struct_o_s_mutex.html b/struct_o_s_mutex.html new file mode 100644 index 0000000..13a2cc6 --- /dev/null +++ b/struct_o_s_mutex.html @@ -0,0 +1,210 @@ + + + + + + +WUT: OSMutex Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
OSMutex Struct Reference
+
+
+ +

#include <mutex.h>

+ + + + + + + + + + + + + + +

+Data Fields

uint32_t tag
 
const char * name
 
OSThreadQueue queue
 
OSThreadowner
 
int32_t count
 
OSMutexLink link
 
+

Detailed Description

+
+

Definition at line 32 of file mutex.h.

+

Field Documentation

+ +
+
+ + + + +
int32_t count
+
+ +

Definition at line 48 of file mutex.h.

+ +
+
+ +
+
+ + + + +
OSMutexLink link
+
+ +

Definition at line 51 of file mutex.h.

+ +
+
+ +
+
+ + + + +
const char* name
+
+ +

Definition at line 38 of file mutex.h.

+ +
+
+ +
+
+ + + + +
OSThread* owner
+
+ +

Definition at line 45 of file mutex.h.

+ +
+
+ +
+
+ + + + +
OSThreadQueue queue
+
+ +

Definition at line 42 of file mutex.h.

+ +
+
+ +
+
+ + + + +
uint32_t tag
+
+ +

Definition at line 35 of file mutex.h.

+ +
+
+
The documentation for this struct was generated from the following file:
    +
  • D:/Programming/Projects/wut/include/coreinit/mutex.h
  • +
+
+ + + + diff --git a/struct_o_s_mutex_link.html b/struct_o_s_mutex_link.html new file mode 100644 index 0000000..d257cf8 --- /dev/null +++ b/struct_o_s_mutex_link.html @@ -0,0 +1,146 @@ + + + + + + +WUT: OSMutexLink Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
OSMutexLink Struct Reference
+
+
+ +

#include <mutex.h>

+ + + + + + +

+Data Fields

OSMutexnext
 
OSMutexprev
 
+

Detailed Description

+
+

Definition at line 21 of file mutex.h.

+

Field Documentation

+ +
+
+ + + + +
OSMutex* next
+
+ +

Definition at line 23 of file mutex.h.

+ +
+
+ +
+
+ + + + +
OSMutex* prev
+
+ +

Definition at line 24 of file mutex.h.

+ +
+
+
The documentation for this struct was generated from the following file:
    +
  • D:/Programming/Projects/wut/include/coreinit/mutex.h
  • +
+
+ + + + diff --git a/struct_o_s_mutex_queue.html b/struct_o_s_mutex_queue.html new file mode 100644 index 0000000..67a69a3 --- /dev/null +++ b/struct_o_s_mutex_queue.html @@ -0,0 +1,162 @@ + + + + + + +WUT: OSMutexQueue Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
OSMutexQueue Struct Reference
+
+
+ +

#include <thread.h>

+ + + + + + + + +

+Data Fields

OSMutexhead
 
OSMutextail
 
void * parent
 
+

Detailed Description

+
+

Definition at line 112 of file thread.h.

+

Field Documentation

+ +
+
+ + + + +
OSMutex* head
+
+ +

Definition at line 114 of file thread.h.

+ +
+
+ +
+
+ + + + +
void* parent
+
+ +

Definition at line 116 of file thread.h.

+ +
+
+ +
+
+ + + + +
OSMutex* tail
+
+ +

Definition at line 115 of file thread.h.

+ +
+
+
The documentation for this struct was generated from the following file:
    +
  • D:/Programming/Projects/wut/include/coreinit/thread.h
  • +
+
+ + + + diff --git a/struct_o_s_rendezvous.html b/struct_o_s_rendezvous.html new file mode 100644 index 0000000..4bfabc7 --- /dev/null +++ b/struct_o_s_rendezvous.html @@ -0,0 +1,130 @@ + + + + + + +WUT: OSRendezvous Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
OSRendezvous Struct Reference
+
+
+ +

#include <rendezvous.h>

+ + + + +

+Data Fields

uint32_t core [3]
 
+

Detailed Description

+
+

Definition at line 16 of file rendezvous.h.

+

Field Documentation

+ +
+
+ + + + +
uint32_t core[3]
+
+ +

Definition at line 18 of file rendezvous.h.

+ +
+
+
The documentation for this struct was generated from the following file:
    +
  • D:/Programming/Projects/wut/include/coreinit/rendezvous.h
  • +
+
+ + + + diff --git a/struct_o_s_semaphore.html b/struct_o_s_semaphore.html new file mode 100644 index 0000000..7668a0f --- /dev/null +++ b/struct_o_s_semaphore.html @@ -0,0 +1,178 @@ + + + + + + +WUT: OSSemaphore Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
OSSemaphore Struct Reference
+
+
+ +

#include <semaphore.h>

+ + + + + + + + + + +

+Data Fields

uint32_t tag
 
const char * name
 
int32_t count
 
OSThreadQueue queue
 
+

Detailed Description

+
+

Definition at line 19 of file semaphore.h.

+

Field Documentation

+ +
+
+ + + + +
int32_t count
+
+ +

Definition at line 24 of file semaphore.h.

+ +
+
+ +
+
+ + + + +
const char* name
+
+ +

Definition at line 22 of file semaphore.h.

+ +
+
+ +
+
+ + + + +
OSThreadQueue queue
+
+ +

Definition at line 25 of file semaphore.h.

+ +
+
+ +
+
+ + + + +
uint32_t tag
+
+ +

Definition at line 21 of file semaphore.h.

+ +
+
+
The documentation for this struct was generated from the following file:
    +
  • D:/Programming/Projects/wut/include/coreinit/semaphore.h
  • +
+
+ + + + diff --git a/struct_o_s_spin_lock.html b/struct_o_s_spin_lock.html new file mode 100644 index 0000000..87d2a04 --- /dev/null +++ b/struct_o_s_spin_lock.html @@ -0,0 +1,146 @@ + + + + + + +WUT: OSSpinLock Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
OSSpinLock Struct Reference
+
+
+ +

#include <spinlock.h>

+ + + + + + +

+Data Fields

uint32_t owner
 
uint32_t recursion
 
+

Detailed Description

+
+

Definition at line 17 of file spinlock.h.

+

Field Documentation

+ +
+
+ + + + +
uint32_t owner
+
+ +

Definition at line 19 of file spinlock.h.

+ +
+
+ +
+
+ + + + +
uint32_t recursion
+
+ +

Definition at line 21 of file spinlock.h.

+ +
+
+
The documentation for this struct was generated from the following file:
    +
  • D:/Programming/Projects/wut/include/coreinit/spinlock.h
  • +
+
+ + + + diff --git a/struct_o_s_thread.html b/struct_o_s_thread.html new file mode 100644 index 0000000..6769a93 --- /dev/null +++ b/struct_o_s_thread.html @@ -0,0 +1,562 @@ + + + + + + +WUT: OSThread Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
OSThread Struct Reference
+
+
+ +

#include <thread.h>

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Data Fields

OSContext context
 
uint32_t tag
 
OSThreadState state
 
OSThreadAttributes attr
 
uint16_t id
 
int32_t suspendCounter
 
int32_t priority
 
int32_t basePriority
 
int32_t exitValue
 
OSThreadQueuequeue
 
OSThreadLink link
 
OSThreadQueue joinQueue
 
OSMutexmutex
 
OSMutexQueue mutexQueue
 
OSThreadLink activeLink
 
void * stackStart
 
void * stackEnd
 
OSThreadEntryPointFn entryPoint
 
uint32_t specific [0x10]
 
const char * name
 
void * userStackPointer
 
OSThreadCleanupCallbackFn cleanupCallback
 
OSThreadDeallocatorFn deallocator
 
uint32_t cancelState
 
OSThreadRequest requestFlag
 
int32_t needSuspend
 
int32_t suspendResult
 
OSThreadQueue suspendQueue
 
+

Detailed Description

+
+

Definition at line 135 of file thread.h.

+

Field Documentation

+ +
+
+ + + + +
OSThreadLink activeLink
+
+ +

Definition at line 152 of file thread.h.

+ +
+
+ +
+
+ + + + +
OSThreadAttributes attr
+
+ +

Definition at line 140 of file thread.h.

+ +
+
+ +
+
+ + + + +
int32_t basePriority
+
+ +

Definition at line 144 of file thread.h.

+ +
+
+ +
+
+ + + + +
uint32_t cancelState
+
+ +

Definition at line 164 of file thread.h.

+ +
+
+ +
+
+ + + + +
OSThreadCleanupCallbackFn cleanupCallback
+
+ +

Definition at line 162 of file thread.h.

+ +
+
+ +
+
+ + + + +
OSContext context
+
+ +

Definition at line 137 of file thread.h.

+ +
+
+ +
+
+ + + + +
OSThreadDeallocatorFn deallocator
+
+ +

Definition at line 163 of file thread.h.

+ +
+
+ +
+
+ + + + +
OSThreadEntryPointFn entryPoint
+
+ +

Definition at line 155 of file thread.h.

+ +
+
+ +
+
+ + + + +
int32_t exitValue
+
+ +

Definition at line 145 of file thread.h.

+ +
+
+ +
+
+ + + + +
uint16_t id
+
+ +

Definition at line 141 of file thread.h.

+ +
+
+ +
+
+ + + + +
OSThreadQueue joinQueue
+
+ +

Definition at line 149 of file thread.h.

+ +
+
+ +
+
+ + + + +
OSThreadLink link
+
+ +

Definition at line 148 of file thread.h.

+ +
+
+ +
+
+ + + + +
OSMutex* mutex
+
+ +

Definition at line 150 of file thread.h.

+ +
+
+ +
+
+ + + + +
OSMutexQueue mutexQueue
+
+ +

Definition at line 151 of file thread.h.

+ +
+
+ +
+
+ + + + +
const char* name
+
+ +

Definition at line 159 of file thread.h.

+ +
+
+ +
+
+ + + + +
int32_t needSuspend
+
+ +

Definition at line 166 of file thread.h.

+ +
+
+ +
+
+ + + + +
int32_t priority
+
+ +

Definition at line 143 of file thread.h.

+ +
+
+ +
+
+ + + + +
OSThreadQueue* queue
+
+ +

Definition at line 147 of file thread.h.

+ +
+
+ +
+
+ + + + +
OSThreadRequest requestFlag
+
+ +

Definition at line 165 of file thread.h.

+ +
+
+ +
+
+ + + + +
uint32_t specific[0x10]
+
+ +

Definition at line 157 of file thread.h.

+ +
+
+ +
+
+ + + + +
void* stackEnd
+
+ +

Definition at line 154 of file thread.h.

+ +
+
+ +
+
+ + + + +
void* stackStart
+
+ +

Definition at line 153 of file thread.h.

+ +
+
+ +
+
+ + + + +
OSThreadState state
+
+ +

Definition at line 139 of file thread.h.

+ +
+
+ +
+
+ + + + +
int32_t suspendCounter
+
+ +

Definition at line 142 of file thread.h.

+ +
+
+ +
+
+ + + + +
OSThreadQueue suspendQueue
+
+ +

Definition at line 168 of file thread.h.

+ +
+
+ +
+
+ + + + +
int32_t suspendResult
+
+ +

Definition at line 167 of file thread.h.

+ +
+
+ +
+
+ + + + +
uint32_t tag
+
+ +

Definition at line 138 of file thread.h.

+ +
+
+ +
+
+ + + + +
void* userStackPointer
+
+ +

Definition at line 161 of file thread.h.

+ +
+
+
The documentation for this struct was generated from the following file:
    +
  • D:/Programming/Projects/wut/include/coreinit/thread.h
  • +
+
+ + + + diff --git a/struct_o_s_thread_link.html b/struct_o_s_thread_link.html new file mode 100644 index 0000000..49017bc --- /dev/null +++ b/struct_o_s_thread_link.html @@ -0,0 +1,146 @@ + + + + + + +WUT: OSThreadLink Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
OSThreadLink Struct Reference
+
+
+ +

#include <threadqueue.h>

+ + + + + + +

+Data Fields

OSThreadprev
 
OSThreadnext
 
+

Detailed Description

+
+

Definition at line 20 of file threadqueue.h.

+

Field Documentation

+ +
+
+ + + + +
OSThread* next
+
+ +

Definition at line 23 of file threadqueue.h.

+ +
+
+ +
+
+ + + + +
OSThread* prev
+
+ +

Definition at line 22 of file threadqueue.h.

+ +
+
+
The documentation for this struct was generated from the following file: +
+ + + + diff --git a/struct_o_s_thread_queue.html b/struct_o_s_thread_queue.html new file mode 100644 index 0000000..6cea4c5 --- /dev/null +++ b/struct_o_s_thread_queue.html @@ -0,0 +1,162 @@ + + + + + + +WUT: OSThreadQueue Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
OSThreadQueue Struct Reference
+
+
+ +

#include <threadqueue.h>

+ + + + + + + + +

+Data Fields

OSThreadhead
 
OSThreadtail
 
void * parent
 
+

Detailed Description

+
+

Definition at line 29 of file threadqueue.h.

+

Field Documentation

+ +
+
+ + + + +
OSThread* head
+
+ +

Definition at line 31 of file threadqueue.h.

+ +
+
+ +
+
+ + + + +
void* parent
+
+ +

Definition at line 33 of file threadqueue.h.

+ +
+
+ +
+
+ + + + +
OSThread* tail
+
+ +

Definition at line 32 of file threadqueue.h.

+ +
+
+
The documentation for this struct was generated from the following file: +
+ + + + diff --git a/struct_o_s_thread_simple_queue.html b/struct_o_s_thread_simple_queue.html new file mode 100644 index 0000000..973710a --- /dev/null +++ b/struct_o_s_thread_simple_queue.html @@ -0,0 +1,146 @@ + + + + + + +WUT: OSThreadSimpleQueue Struct Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
OSThreadSimpleQueue Struct Reference
+
+
+ +

#include <threadqueue.h>

+ + + + + + +

+Data Fields

OSThreadhead
 
OSThreadtail
 
+

Detailed Description

+
+

Definition at line 41 of file threadqueue.h.

+

Field Documentation

+ +
+
+ + + + +
OSThread* head
+
+ +

Definition at line 43 of file threadqueue.h.

+ +
+
+ +
+
+ + + + +
OSThread* tail
+
+ +

Definition at line 44 of file threadqueue.h.

+ +
+
+
The documentation for this struct was generated from the following file: +
+ + + + diff --git a/sync_off.png b/sync_off.png new file mode 100644 index 0000000000000000000000000000000000000000..3b443fc62892114406e3d399421b2a881b897acc GIT binary patch literal 853 zcmV-b1FHOqP)oT|#XixUYy%lpuf3i8{fX!o zUyDD0jOrAiT^tq>fLSOOABs-#u{dV^F$b{L9&!2=9&RmV;;8s^x&UqB$PCj4FdKbh zoB1WTskPUPu05XzFbA}=KZ-GP1fPpAfSs>6AHb12UlR%-i&uOlTpFNS7{jm@mkU1V zh`nrXr~+^lsV-s1dkZOaI|kYyVj3WBpPCY{n~yd%u%e+d=f%`N0FItMPtdgBb@py; zq@v6NVArhyTC7)ULw-Jy8y42S1~4n(3LkrW8mW(F-4oXUP3E`e#g**YyqI7h-J2zK zK{m9##m4ri!7N>CqQqCcnI3hqo1I;Yh&QLNY4T`*ptiQGozK>FF$!$+84Z`xwmeMh zJ0WT+OH$WYFALEaGj2_l+#DC3t7_S`vHpSivNeFbP6+r50cO8iu)`7i%Z4BTPh@_m3Tk!nAm^)5Bqnr%Ov|Baunj#&RPtRuK& z4RGz|D5HNrW83-#ydk}tVKJrNmyYt-sTxLGlJY5nc&Re zU4SgHNPx8~Yxwr$bsju?4q&%T1874xxzq+_%?h8_ofw~(bld=o3iC)LUNR*BY%c0y zWd_jX{Y8`l%z+ol1$@Qa?Cy!(0CVIEeYpKZ`(9{z>3$CIe;pJDQk$m3p}$>xBm4lb zKo{4S)`wdU9Ba9jJbVJ0C=SOefZe%d$8=2r={nu<_^a3~>c#t_U6dye5)JrR(_a^E f@}b6j1K9lwFJq@>o)+Ry00000NkvXXu0mjfWa5j* literal 0 HcmV?d00001 diff --git a/sync_on.png b/sync_on.png new file mode 100644 index 0000000000000000000000000000000000000000..e08320fb64e6fa33b573005ed6d8fe294e19db76 GIT binary patch literal 845 zcmV-T1G4;yP)Y;xxyHF2B5Wzm| zOOGupOTn@c(JmBOl)e;XMNnZuiTJP>rM8<|Q`7I_))aP?*T)ow&n59{}X4$3Goat zgjs?*aasfbrokzG5cT4K=uG`E14xZl@z)F={P0Y^?$4t z>v!teRnNZym<6h{7sLyF1V0HsfEl+l6TrZpsfr1}luH~F7L}ktXu|*uVX^RG$L0`K zWs3j|0tIvVe(N%_?2{(iCPFGf#B6Hjy6o&}D$A%W%jfO8_W%ZO#-mh}EM$LMn7joJ z05dHr!5Y92g+31l<%i1(=L1a1pXX+OYnalY>31V4K}BjyRe3)9n#;-cCVRD_IG1fT zOKGeNY8q;TL@K{dj@D^scf&VCs*-Jb>8b>|`b*osv52-!A?BpbYtTQBns5EAU**$m zSnVSm(teh>tQi*S*A>#ySc=n;`BHz`DuG4&g4Kf8lLhca+zvZ7t7RflD6-i-mcK=M z!=^P$*u2)bkY5asG4gsss!Hn%u~>}kIW`vMs%lJLH+u*9<4PaV_c6U`KqWXQH%+Nu zTv41O(^ZVi@qhjQdG!fbZw&y+2o!iYymO^?ud3{P*HdoX83YV*Uu_HB=?U&W9%AU# z80}k1SS-CXTU7dcQlsm<^oYLxVSseqY6NO}dc`Nj?8vrhNuCdm@^{a3AQ_>6myOj+ z`1RsLUXF|dm|3k7s2jD(B{rzE>WI2scH8i1;=O5Cc9xB3^aJk%fQjqsu+kH#0=_5a z0nCE8@dbQa-|YIuUVvG0L_IwHMEhOj$Mj4Uq05 X8=0q~qBNan00000NkvXXu0mjfptF>5 literal 0 HcmV?d00001 diff --git a/tab_a.png b/tab_a.png new file mode 100644 index 0000000000000000000000000000000000000000..3b725c41c5a527a3a3e40097077d0e206a681247 GIT binary patch literal 142 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QlXwMjv*C{Z|8b*H5dputLHD# z=<0|*y7z(Vor?d;H&?EG&cXR}?!j-Lm&u1OOI7AIF5&c)RFE;&p0MYK>*Kl@eiymD r@|NpwKX@^z+;{u_Z~trSBfrMKa%3`zocFjEXaR$#tDnm{r-UW|TZ1%4 literal 0 HcmV?d00001 diff --git a/tab_b.png b/tab_b.png new file mode 100644 index 0000000000000000000000000000000000000000..e2b4a8638cb3496a016eaed9e16ffc12846dea18 GIT binary patch literal 169 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QU#tajv*C{Z}0l@H7kg?K0Lnr z!j&C6_(~HV9oQ0Pa6x{-v0AGV_E?vLn=ZI-;YrdjIl`U`uzuDWSP?o#Dmo{%SgM#oan kX~E1%D-|#H#QbHoIja2U-MgvsK&LQxy85}Sb4q9e0Efg%P5=M^ literal 0 HcmV?d00001 diff --git a/tabs.css b/tabs.css new file mode 100644 index 0000000..9cf578f --- /dev/null +++ b/tabs.css @@ -0,0 +1,60 @@ +.tabs, .tabs2, .tabs3 { + background-image: url('tab_b.png'); + width: 100%; + z-index: 101; + font-size: 13px; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; +} + +.tabs2 { + font-size: 10px; +} +.tabs3 { + font-size: 9px; +} + +.tablist { + margin: 0; + padding: 0; + display: table; +} + +.tablist li { + float: left; + display: table-cell; + background-image: url('tab_b.png'); + line-height: 36px; + list-style: none; +} + +.tablist a { + display: block; + padding: 0 20px; + font-weight: bold; + background-image:url('tab_s.png'); + background-repeat:no-repeat; + background-position:right; + color: #283A5D; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; + outline: none; +} + +.tabs3 .tablist a { + padding: 0 10px; +} + +.tablist a:hover { + background-image: url('tab_h.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); + text-decoration: none; +} + +.tablist li.current a { + background-image: url('tab_a.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +} diff --git a/taskqueue_8h.html b/taskqueue_8h.html new file mode 100644 index 0000000..b4acd16 --- /dev/null +++ b/taskqueue_8h.html @@ -0,0 +1,188 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/taskqueue.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
taskqueue.h File Reference
+
+
+
#include <wut.h>
+#include "time.h"
+
+

Go to the source code of this file.

+ + + + + + + + + + +

+Data Structures

struct  MPTaskInfo
 
struct  MPTask
 
struct  MPTaskQueueInfo
 
struct  MPTaskQueue
 
+ + + + + + + + + + + + + +

+Typedefs

typedef struct MPTask MPTask
 
typedef struct MPTaskInfo MPTaskInfo
 
typedef struct MPTaskQueue MPTaskQueue
 
typedef struct MPTaskQueueInfo MPTaskQueueInfo
 
typedef uint32_t MPTaskState
 
typedef uint32_t(* MPTaskFunc) (uint32_t, uint32_t)
 
+ + + +

+Enumerations

enum  MPTaskState { MP_TASK_STATE_INITIALISED = 1 << 0, +MP_TASK_STATE_READY = 1 << 1, +MP_TASK_STATE_RUNNING = 1 << 2, +MP_TASK_STATE_FINISHED = 1 << 3 + }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

void MPInitTaskQ (MPTaskQueue *queue, MPTask **queueBuffer, uint32_t queueBufferLen)
 
BOOL MPTermTaskQ (MPTaskQueue *queue)
 
BOOL MPGetTaskQInfo (MPTaskQueue *queue, MPTaskQueueInfo *info)
 
BOOL MPStartTaskQ (MPTaskQueue *queue)
 
BOOL MPStopTaskQ (MPTaskQueue *queue)
 
BOOL MPResetTaskQ (MPTaskQueue *queue)
 
BOOL MPEnqueTask (MPTaskQueue *queue, MPTask *task)
 
MPTaskMPDequeTask (MPTaskQueue *queue)
 
uint32_t MPDequeTasks (MPTaskQueue *queue, MPTask **queueBuffer, uint32_t queueBufferLen)
 
BOOL MPWaitTaskQ (MPTaskQueue *queue, MPTaskQueueState mask)
 
BOOL MPWaitTaskQWithTimeout (MPTaskQueue *queue, MPTaskQueueState wmask, OSTime timeout)
 
BOOL MPPrintTaskQStats (MPTaskQueue *queue, uint32_t unk)
 
void MPInitTask (MPTask *task, MPTaskFunc func, uint32_t userArg1, uint32_t userArg2)
 
BOOL MPTermTask (MPTask *task)
 
BOOL MPGetTaskInfo (MPTask *task, MPTaskInfo *info)
 
void * MPGetTaskUserData (MPTask *task)
 
void MPSetTaskUserData (MPTask *task, void *userData)
 
BOOL MPRunTasksFromTaskQ (MPTaskQueue *queue, uint32_t count)
 
BOOL MPRunTask (MPTask *task)
 
+
+ + + + diff --git a/taskqueue_8h_source.html b/taskqueue_8h_source.html new file mode 100644 index 0000000..807da0b --- /dev/null +++ b/taskqueue_8h_source.html @@ -0,0 +1,350 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/taskqueue.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
taskqueue.h
+
+
+Go to the documentation of this file.
1 #pragma once
+
2 #include <wut.h>
+
3 #include "time.h"
+
4 
+
11 #ifdef __cplusplus
+
12 extern "C" {
+
13 #endif
+
14 
+
15 typedef struct MPTask MPTask;
+
16 typedef struct MPTaskInfo MPTaskInfo;
+
17 typedef struct MPTaskQueue MPTaskQueue;
+ +
19 
+
20 typedef uint32_t MPTaskState;
+
21 
+
22 typedef uint32_t (*MPTaskFunc)(uint32_t, uint32_t);
+
23 
+
24 enum MPTaskState
+
25 {
+ + + + +
30 };
+
31 
+
32 struct MPTaskInfo
+
33 {
+
34  MPTaskState state;
+
35  uint32_t result;
+
36  uint32_t coreID;
+ +
38 };
+
39 CHECK_OFFSET(MPTaskInfo, 0x00, state);
+
40 CHECK_OFFSET(MPTaskInfo, 0x04, result);
+
41 CHECK_OFFSET(MPTaskInfo, 0x08, coreID);
+
42 CHECK_OFFSET(MPTaskInfo, 0x0C, duration);
+
43 CHECK_SIZE(MPTaskInfo, 0x14);
+
44 
+
45 struct MPTask
+
46 {
+
47  MPTask *self;
+ +
49  MPTaskState state;
+ +
51  uint32_t userArg1;
+
52  uint32_t userArg2;
+
53  uint32_t result;
+
54  uint32_t coreID;
+ +
56  void *userData;
+
57 };
+
58 CHECK_OFFSET(MPTask, 0x00, self);
+
59 CHECK_OFFSET(MPTask, 0x04, queue);
+
60 CHECK_OFFSET(MPTask, 0x08, state);
+
61 CHECK_OFFSET(MPTask, 0x0C, func);
+
62 CHECK_OFFSET(MPTask, 0x10, userArg1);
+
63 CHECK_OFFSET(MPTask, 0x14, userArg2);
+
64 CHECK_OFFSET(MPTask, 0x18, result);
+
65 CHECK_OFFSET(MPTask, 0x1C, coreID);
+
66 CHECK_OFFSET(MPTask, 0x20, duration);
+
67 CHECK_OFFSET(MPTask, 0x28, userData);
+
68 CHECK_SIZE(MPTask, 0x2C);
+
69 
+ +
71 {
+
72  MPTaskQueueState state;
+
73  uint32_t tasks;
+
74  uint32_t tasksReady;
+
75  uint32_t tasksRunning;
+
76  uint32_t tasksFinished;
+
77 };
+
78 CHECK_OFFSET(MPTaskQueueInfo, 0x00, state);
+
79 CHECK_OFFSET(MPTaskQueueInfo, 0x04, tasks);
+
80 CHECK_OFFSET(MPTaskQueueInfo, 0x08, tasksReady);
+
81 CHECK_OFFSET(MPTaskQueueInfo, 0x0C, tasksRunning);
+
82 CHECK_OFFSET(MPTaskQueueInfo, 0x10, tasksFinished);
+
83 CHECK_SIZE(MPTaskQueueInfo, 0x14);
+
84 
+ +
86 {
+
87  MPTaskQueue *self;
+
88  MPTaskQueueState state;
+
89  uint32_t tasks;
+
90  uint32_t tasksReady;
+
91  uint32_t tasksRunning;
+
92  UNKNOWN(4);
+
93  uint32_t tasksFinished;
+
94  UNKNOWN(8);
+
95  uint32_t queueIndex;
+
96  UNKNOWN(8);
+
97  uint32_t queueSize;
+
98  UNKNOWN(4);
+ +
100  uint32_t queueMaxSize;
+ +
102 };
+
103 CHECK_OFFSET(MPTaskQueue, 0x00, self);
+
104 CHECK_OFFSET(MPTaskQueue, 0x04, state);
+
105 CHECK_OFFSET(MPTaskQueue, 0x08, tasks);
+
106 CHECK_OFFSET(MPTaskQueue, 0x0C, tasksReady);
+
107 CHECK_OFFSET(MPTaskQueue, 0x10, tasksRunning);
+
108 CHECK_OFFSET(MPTaskQueue, 0x18, tasksFinished);
+
109 CHECK_OFFSET(MPTaskQueue, 0x24, queueIndex);
+
110 CHECK_OFFSET(MPTaskQueue, 0x30, queueSize);
+
111 CHECK_OFFSET(MPTaskQueue, 0x38, queue);
+
112 CHECK_OFFSET(MPTaskQueue, 0x3C, queueMaxSize);
+
113 CHECK_OFFSET(MPTaskQueue, 0x40, lock);
+
114 CHECK_SIZE(MPTaskQueue, 0x50);
+
115 
+
116 void
+
117 MPInitTaskQ(MPTaskQueue *queue,
+
118  MPTask **queueBuffer,
+
119  uint32_t queueBufferLen);
+
120 
+
121 BOOL
+
122 MPTermTaskQ(MPTaskQueue *queue);
+
123 
+
124 BOOL
+ +
126  MPTaskQueueInfo *info);
+
127 
+
128 BOOL
+
129 MPStartTaskQ(MPTaskQueue *queue);
+
130 
+
131 BOOL
+
132 MPStopTaskQ(MPTaskQueue *queue);
+
133 
+
134 BOOL
+
135 MPResetTaskQ(MPTaskQueue *queue);
+
136 
+
137 BOOL
+
138 MPEnqueTask(MPTaskQueue *queue,
+
139  MPTask *task);
+
140 
+
141 MPTask *
+
142 MPDequeTask(MPTaskQueue *queue);
+
143 
+
144 uint32_t
+ +
146  MPTask **queueBuffer,
+
147  uint32_t queueBufferLen);
+
148 
+
149 BOOL
+
150 MPWaitTaskQ(MPTaskQueue *queue,
+
151  MPTaskQueueState mask);
+
152 
+
153 BOOL
+ +
155  MPTaskQueueState wmask,
+
156  OSTime timeout);
+
157 
+
158 BOOL
+ +
160  uint32_t unk);
+
161 
+
162 void
+
163 MPInitTask(MPTask *task,
+
164  MPTaskFunc func,
+
165  uint32_t userArg1,
+
166  uint32_t userArg2);
+
167 
+
168 BOOL
+
169 MPTermTask(MPTask* task);
+
170 
+
171 BOOL
+
172 MPGetTaskInfo(MPTask *task,
+
173  MPTaskInfo *info);
+
174 
+
175 void *
+ +
177 
+
178 void
+ +
180  void *userData);
+
181 
+
182 BOOL
+ +
184  uint32_t count);
+
185 
+
186 BOOL
+
187 MPRunTask(MPTask *task);
+
188 
+
189 #ifdef __cplusplus
+
190 }
+
191 #endif
+
192 
+
MPTaskState
Definition: taskqueue.h:24
+
BOOL MPEnqueTask(MPTaskQueue *queue, MPTask *task)
+
uint32_t tasksFinished
Definition: taskqueue.h:76
+
void MPInitTaskQ(MPTaskQueue *queue, MPTask **queueBuffer, uint32_t queueBufferLen)
+
uint32_t MPDequeTasks(MPTaskQueue *queue, MPTask **queueBuffer, uint32_t queueBufferLen)
+
BOOL MPStartTaskQ(MPTaskQueue *queue)
+
MPTask * MPDequeTask(MPTaskQueue *queue)
+ +
uint32_t tasks
Definition: taskqueue.h:89
+
void * MPGetTaskUserData(MPTask *task)
+
int64_t OSTime
Definition: time.h:17
+ +
MPTaskQueueState state
Definition: taskqueue.h:72
+ +
uint32_t tasksRunning
Definition: taskqueue.h:91
+
uint32_t tasksFinished
Definition: taskqueue.h:93
+
BOOL MPWaitTaskQ(MPTaskQueue *queue, MPTaskQueueState mask)
+
uint32_t tasksRunning
Definition: taskqueue.h:75
+
BOOL MPTermTask(MPTask *task)
+
BOOL MPRunTask(MPTask *task)
+
BOOL MPPrintTaskQStats(MPTaskQueue *queue, uint32_t unk)
+
uint32_t queueMaxSize
Definition: taskqueue.h:100
+
void * userData
Definition: taskqueue.h:56
+
BOOL MPResetTaskQ(MPTaskQueue *queue)
+ + +
BOOL MPGetTaskQInfo(MPTaskQueue *queue, MPTaskQueueInfo *info)
+ +
BOOL MPStopTaskQ(MPTaskQueue *queue)
+
uint32_t tasksReady
Definition: taskqueue.h:90
+
BOOL MPRunTasksFromTaskQ(MPTaskQueue *queue, uint32_t count)
+
uint32_t coreID
Definition: taskqueue.h:36
+
BOOL MPGetTaskInfo(MPTask *task, MPTaskInfo *info)
+ +
OSSpinLock lock
Definition: taskqueue.h:101
+
uint32_t result
Definition: taskqueue.h:35
+
uint32_t userArg2
Definition: taskqueue.h:52
+ +
BOOL MPTermTaskQ(MPTaskQueue *queue)
+
MPTaskFunc func
Definition: taskqueue.h:50
+
uint32_t queueSize
Definition: taskqueue.h:97
+
uint32_t tasksReady
Definition: taskqueue.h:74
+ +
uint32_t result
Definition: taskqueue.h:53
+
MPTaskState state
Definition: taskqueue.h:34
+
OSTime duration
Definition: taskqueue.h:55
+
int BOOL
Definition: wut_types.h:4
+
void MPSetTaskUserData(MPTask *task, void *userData)
+
uint32_t tasks
Definition: taskqueue.h:73
+
uint32_t queueIndex
Definition: taskqueue.h:95
+
MPTaskState state
Definition: taskqueue.h:49
+ +
MPTaskQueueState state
Definition: taskqueue.h:88
+
uint32_t coreID
Definition: taskqueue.h:54
+
void MPInitTask(MPTask *task, MPTaskFunc func, uint32_t userArg1, uint32_t userArg2)
+ +
MPTask ** queue
Definition: taskqueue.h:99
+
uint32_t(* MPTaskFunc)(uint32_t, uint32_t)
Definition: taskqueue.h:22
+
BOOL MPWaitTaskQWithTimeout(MPTaskQueue *queue, MPTaskQueueState wmask, OSTime timeout)
+
MPTaskQueue * queue
Definition: taskqueue.h:48
+
OSTime duration
Definition: taskqueue.h:37
+
uint32_t userArg1
Definition: taskqueue.h:51
+
+ + + + diff --git a/thread_8h.html b/thread_8h.html new file mode 100644 index 0000000..a8288c5 --- /dev/null +++ b/thread_8h.html @@ -0,0 +1,264 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/thread.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
thread.h File Reference
+
+
+
#include <wut.h>
+#include "time.h"
+#include "threadqueue.h"
+
+

Go to the source code of this file.

+ + + + + + + + + + +

+Data Structures

struct  OSContext
 
struct  OSMutexQueue
 
struct  OSFastMutexQueue
 
struct  OSThread
 
+ + + + + +

+Macros

#define OS_CONTEXT_TAG   0x4F53436F6E747874ull
 
#define OS_THREAD_TAG   0x74487244u
 
+ + + + + + + + + + + + + + + + + + + + + + + + + +

+Typedefs

typedef struct OSContext OSContext
 
typedef struct OSFastMutex OSFastMutex
 
typedef struct OSFastMutexQueue OSFastMutexQueue
 
typedef struct OSMutex OSMutex
 
typedef struct OSMutexQueue OSMutexQueue
 
typedef struct OSThread OSThread
 
typedef uint8_t OSThreadState
 
typedef uint32_t OSThreadRequest
 
typedef uint8_t OSThreadAttributes
 
typedef int(* OSThreadEntryPointFn) (int argc, const char **argv)
 
typedef void(* OSThreadCleanupCallbackFn) (OSThread *thread, void *stack)
 
typedef void(* OSThreadDeallocatorFn) (OSThread *thread, void *stack)
 
+ + + + + + + +

+Enumerations

enum  OSThreadState {
+  OS_THREAD_STATE_NONE = 0, +OS_THREAD_STATE_READY = 1 << 0, +OS_THREAD_STATE_RUNNING = 1 << 1, +OS_THREAD_STATE_WAITING = 1 << 2, +
+  OS_THREAD_STATE_MORIBUND = 1 << 3 +
+ }
 
enum  OSThreadRequest { OS_THREAD_REQUEST_NONE = 0, +OS_THREAD_REQUEST_SUSPEND = 1, +OS_THREAD_REQUEST_CANCEL = 2 + }
 
enum  OSThreadAttributes {
+  OS_THREAD_ATTRIB_AFFINITY_CPU0 = 1 << 0, +OS_THREAD_ATTRIB_AFFINITY_CPU1 = 1 << 1, +OS_THREAD_ATTRIB_AFFINITY_CPU2 = 1 << 2, +OS_THREAD_ATTRIB_AFFINITY_ANY = 1 << 3, +
+  OS_THREAD_ATTRIB_DETACHED = 1 << 4 +
+ }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

void OSCancelThread (OSThread *thread)
 
int32_t OSCheckActiveThreads ()
 
int32_t OSCheckThreadStackUsage (OSThread *thread)
 
void OSClearThreadStackUsage (OSThread *thread)
 
void OSContinueThread (OSThread *thread)
 
BOOL OSCreateThread (OSThread *thread, OSThreadEntryPointFn entry, int32_t argc, char *argv, void *stack, uint32_t stackSize, int32_t priority, OSThreadAttributes attributes)
 
void OSDetachThread (OSThread *thread)
 
void OSExitThread (int32_t result)
 
void OSGetActiveThreadLink (OSThread *thread, OSThreadLink *link)
 
OSThreadOSGetCurrentThread ()
 
OSThreadOSGetDefaultThread (uint32_t coreID)
 
uint32_t OSGetStackPointer ()
 
uint32_t OSGetThreadAffinity (OSThread *thread)
 
const char * OSGetThreadName (OSThread *thread)
 
int32_t OSGetThreadPriority (OSThread *thread)
 
uint32_t OSGetThreadSpecific (uint32_t id)
 
BOOL OSIsThreadSuspended (OSThread *thread)
 
BOOL OSIsThreadTerminated (OSThread *thread)
 
BOOL OSJoinThread (OSThread *thread, int *threadResult)
 
void OSPrintCurrentThreadState ()
 
int32_t OSResumeThread (OSThread *thread)
 
BOOL OSRunThread (OSThread *thread, OSThreadEntryPointFn entry, int argc, const char **argv)
 
BOOL OSSetThreadAffinity (OSThread *thread, uint32_t affinity)
 
BOOL OSSetThreadCancelState (BOOL state)
 
OSThreadCleanupCallbackFn OSSetThreadCleanupCallback (OSThread *thread, OSThreadCleanupCallbackFn callback)
 
OSThreadDeallocatorFn OSSetThreadDeallocator (OSThread *thread, OSThreadDeallocatorFn deallocator)
 
void OSSetThreadName (OSThread *thread, const char *name)
 
BOOL OSSetThreadPriority (OSThread *thread, int32_t priority)
 
BOOL OSSetThreadRunQuantum (OSThread *thread, uint32_t quantum)
 
void OSSetThreadSpecific (uint32_t id, uint32_t value)
 
BOOL OSSetThreadStackUsage (OSThread *thread)
 
void OSSleepThread (OSThreadQueue *queue)
 
void OSSleepTicks (OSTime ticks)
 
uint32_t OSSuspendThread (OSThread *thread)
 
void OSTestThreadCancel ()
 
void OSWakeupThread (OSThreadQueue *queue)
 
void OSYieldThread ()
 
+
+ + + + diff --git a/thread_8h_source.html b/thread_8h_source.html new file mode 100644 index 0000000..8e7d23a --- /dev/null +++ b/thread_8h_source.html @@ -0,0 +1,554 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/thread.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
thread.h
+
+
+Go to the documentation of this file.
1 #pragma once
+
2 #include <wut.h>
+
3 #include "time.h"
+
4 #include "threadqueue.h"
+
5 
+
12 #ifdef __cplusplus
+
13 extern "C" {
+
14 #endif
+
15 
+
16 typedef struct OSContext OSContext;
+
17 typedef struct OSFastMutex OSFastMutex;
+ +
19 typedef struct OSMutex OSMutex;
+
20 typedef struct OSMutexQueue OSMutexQueue;
+
21 typedef struct OSThread OSThread;
+
22 
+
23 typedef uint8_t OSThreadState;
+
24 typedef uint32_t OSThreadRequest;
+
25 typedef uint8_t OSThreadAttributes;
+
26 
+
27 typedef int (*OSThreadEntryPointFn)(int argc, const char **argv);
+
28 typedef void (*OSThreadCleanupCallbackFn)(OSThread *thread, void *stack);
+
29 typedef void (*OSThreadDeallocatorFn)(OSThread *thread, void *stack);
+
30 
+
31 enum OSThreadState
+
32 {
+ + + + + +
38 };
+
39 
+
40 enum OSThreadRequest
+
41 {
+ + + +
45 };
+
46 
+
47 enum OSThreadAttributes
+
48 {
+ + + + + +
54 };
+
55 
+
56 #define OS_CONTEXT_TAG 0x4F53436F6E747874ull
+
57 
+
58 struct OSContext
+
59 {
+
60  uint64_t tag;
+
61  uint32_t gpr[32];
+
62  uint32_t cr;
+
63  uint32_t lr;
+
64  uint32_t ctr;
+
65  uint32_t xer;
+
66  uint32_t srr0;
+
67  uint32_t srr1;
+
68  UNKNOWN(0x14);
+
69  uint32_t fpscr;
+
70  double fpr[32];
+
71  uint16_t spinLockCount;
+
72  uint16_t state;
+
73  uint32_t gqr[8];
+
74  UNKNOWN(4);
+
75  double psf[32];
+
76  uint64_t coretime[3];
+
77  uint64_t starttime;
+
78  uint32_t error;
+
79  UNKNOWN(4);
+
80  uint32_t pmc1;
+
81  uint32_t pmc2;
+
82  uint32_t pmc3;
+
83  uint32_t pmc4;
+
84  uint32_t mmcr0;
+
85  uint32_t mmcr1;
+
86 };
+
87 CHECK_OFFSET(OSContext, 0x00, tag);
+
88 CHECK_OFFSET(OSContext, 0x08, gpr);
+
89 CHECK_OFFSET(OSContext, 0x88, cr);
+
90 CHECK_OFFSET(OSContext, 0x8c, lr);
+
91 CHECK_OFFSET(OSContext, 0x90, ctr);
+
92 CHECK_OFFSET(OSContext, 0x94, xer);
+
93 CHECK_OFFSET(OSContext, 0x98, srr0);
+
94 CHECK_OFFSET(OSContext, 0x9c, srr1);
+
95 CHECK_OFFSET(OSContext, 0xb4, fpscr);
+
96 CHECK_OFFSET(OSContext, 0xb8, fpr);
+
97 CHECK_OFFSET(OSContext, 0x1b8, spinLockCount);
+
98 CHECK_OFFSET(OSContext, 0x1ba, state);
+
99 CHECK_OFFSET(OSContext, 0x1bc, gqr);
+
100 CHECK_OFFSET(OSContext, 0x1e0, psf);
+
101 CHECK_OFFSET(OSContext, 0x2e0, coretime);
+
102 CHECK_OFFSET(OSContext, 0x2f8, starttime);
+
103 CHECK_OFFSET(OSContext, 0x300, error);
+
104 CHECK_OFFSET(OSContext, 0x308, pmc1);
+
105 CHECK_OFFSET(OSContext, 0x30c, pmc2);
+
106 CHECK_OFFSET(OSContext, 0x310, pmc3);
+
107 CHECK_OFFSET(OSContext, 0x314, pmc4);
+
108 CHECK_OFFSET(OSContext, 0x318, mmcr0);
+
109 CHECK_OFFSET(OSContext, 0x31c, mmcr1);
+
110 CHECK_SIZE(OSContext, 0x320);
+
111 
+ +
113 {
+ + +
116  void *parent;
+
117  UNKNOWN(4);
+
118 };
+
119 CHECK_OFFSET(OSMutexQueue, 0x0, head);
+
120 CHECK_OFFSET(OSMutexQueue, 0x4, tail);
+
121 CHECK_OFFSET(OSMutexQueue, 0x8, parent);
+
122 CHECK_SIZE(OSMutexQueue, 0x10);
+
123 
+ +
125 {
+ + +
128 };
+
129 CHECK_OFFSET(OSFastMutexQueue, 0x00, head);
+
130 CHECK_OFFSET(OSFastMutexQueue, 0x04, tail);
+
131 CHECK_SIZE(OSFastMutexQueue, 0x08);
+
132 
+
133 #define OS_THREAD_TAG 0x74487244u
+
134 
+
135 struct OSThread
+
136 {
+ +
138  uint32_t tag;
+
139  OSThreadState state;
+
140  OSThreadAttributes attr;
+
141  uint16_t id;
+
142  int32_t suspendCounter;
+
143  int32_t priority; // Actual priority of thread
+
144  int32_t basePriority; // Base priority of thread
+
145  int32_t exitValue; // Value from OSExitThread
+
146  UNKNOWN(0x35C - 0x338);
+
147  OSThreadQueue *queue; // Queue the thread is on
+
148  OSThreadLink link; // Thread queue link
+
149  OSThreadQueue joinQueue; // Queue of threads waiting to join this
+
150  OSMutex *mutex; // Mutex we are waiting to lock
+
151  OSMutexQueue mutexQueue; // Mutexes owned by this thread
+
152  OSThreadLink activeLink; // Link on active thread queue
+
153  void *stackStart; // Stack starting value (top, highest address)
+
154  void *stackEnd; // Stack end value (bottom, lowest address)
+
155  OSThreadEntryPointFn entryPoint; // Entry point from OSCreateThread
+
156  UNKNOWN(0x57c - 0x3a0);
+
157  uint32_t specific[0x10]; // OSSetThreadSpecific / OSGetThreadSpecific
+
158  UNKNOWN(0x5c0 - 0x5bc);
+
159  const char *name; // Thread name
+
160  UNKNOWN(0x4);
+
161  void *userStackPointer; // The stack specified in OSCreateThread
+
162  OSThreadCleanupCallbackFn cleanupCallback; // Set with OSSetThreadCleanupCallback
+
163  OSThreadDeallocatorFn deallocator; // Set with OSSetThreadDeallocator
+
164  uint32_t cancelState; // Is listening to requestFlag enabled
+
165  OSThreadRequest requestFlag; // Request flag for cancel or suspend
+
166  int32_t needSuspend; // How many pending suspends we have
+
167  int32_t suspendResult; // Result of suspend
+
168  OSThreadQueue suspendQueue; // Queue of threads waiting for suspend to finish
+
169  UNKNOWN(0x69c - 0x5f4);
+
170 };
+
171 CHECK_OFFSET(OSThread, 0x320, tag);
+
172 CHECK_OFFSET(OSThread, 0x324, state);
+
173 CHECK_OFFSET(OSThread, 0x325, attr);
+
174 CHECK_OFFSET(OSThread, 0x326, id);
+
175 CHECK_OFFSET(OSThread, 0x328, suspendCounter);
+
176 CHECK_OFFSET(OSThread, 0x32c, priority);
+
177 CHECK_OFFSET(OSThread, 0x330, basePriority);
+
178 CHECK_OFFSET(OSThread, 0x334, exitValue);
+
179 CHECK_OFFSET(OSThread, 0x35c, queue);
+
180 CHECK_OFFSET(OSThread, 0x360, link);
+
181 CHECK_OFFSET(OSThread, 0x368, joinQueue);
+
182 CHECK_OFFSET(OSThread, 0x378, mutex);
+
183 CHECK_OFFSET(OSThread, 0x37c, mutexQueue);
+
184 CHECK_OFFSET(OSThread, 0x38c, activeLink);
+
185 CHECK_OFFSET(OSThread, 0x394, stackStart);
+
186 CHECK_OFFSET(OSThread, 0x398, stackEnd);
+
187 CHECK_OFFSET(OSThread, 0x39c, entryPoint);
+
188 CHECK_OFFSET(OSThread, 0x57c, specific);
+
189 CHECK_OFFSET(OSThread, 0x5c0, name);
+
190 CHECK_OFFSET(OSThread, 0x5c8, userStackPointer);
+
191 CHECK_OFFSET(OSThread, 0x5cc, cleanupCallback);
+
192 CHECK_OFFSET(OSThread, 0x5d0, deallocator);
+
193 CHECK_OFFSET(OSThread, 0x5d4, cancelState);
+
194 CHECK_OFFSET(OSThread, 0x5d8, requestFlag);
+
195 CHECK_OFFSET(OSThread, 0x5dc, needSuspend);
+
196 CHECK_OFFSET(OSThread, 0x5e0, suspendResult);
+
197 CHECK_OFFSET(OSThread, 0x5e4, suspendQueue);
+
198 CHECK_SIZE(OSThread, 0x69c);
+
199 
+
200 void
+
201 OSCancelThread(OSThread *thread);
+
202 
+
203 int32_t
+ +
205 
+
206 int32_t
+ +
208 
+
209 void
+ +
211 
+
212 void
+
213 OSContinueThread(OSThread *thread);
+
214 
+
215 BOOL
+
216 OSCreateThread(OSThread *thread,
+
217  OSThreadEntryPointFn entry,
+
218  int32_t argc,
+
219  char *argv,
+
220  void *stack,
+
221  uint32_t stackSize,
+
222  int32_t priority,
+
223  OSThreadAttributes attributes);
+
224 
+
225 void
+
226 OSDetachThread(OSThread *thread);
+
227 
+
228 void
+
229 OSExitThread(int32_t result);
+
230 
+
231 void
+ +
233  OSThreadLink *link);
+
234 
+
235 OSThread *
+ +
237 
+
238 OSThread *
+
239 OSGetDefaultThread(uint32_t coreID);
+
240 
+
241 uint32_t
+ +
243 
+
244 uint32_t
+ +
246 
+
247 const char *
+
248 OSGetThreadName(OSThread *thread);
+
249 
+
250 int32_t
+ +
252 
+
253 uint32_t
+
254 OSGetThreadSpecific(uint32_t id);
+
255 
+
256 BOOL
+ +
258 
+
259 BOOL
+ +
261 
+
262 BOOL
+
263 OSJoinThread(OSThread *thread,
+
264  int *threadResult);
+
265 
+
266 void
+ +
268 
+
269 int32_t
+
270 OSResumeThread(OSThread *thread);
+
271 
+
272 BOOL
+
273 OSRunThread(OSThread *thread,
+
274  OSThreadEntryPointFn entry,
+
275  int argc,
+
276  const char **argv);
+
277 
+
278 BOOL
+ +
280  uint32_t affinity);
+
281 
+
282 BOOL
+ +
284 
+ + +
287  OSThreadCleanupCallbackFn callback);
+
288 
+ + +
291  OSThreadDeallocatorFn deallocator);
+
292 
+
293 void
+
294 OSSetThreadName(OSThread *thread,
+
295  const char *name);
+
296 
+
297 BOOL
+ +
299  int32_t priority);
+
300 
+
301 BOOL
+ +
303  uint32_t quantum);
+
304 
+
305 void
+
306 OSSetThreadSpecific(uint32_t id,
+
307  uint32_t value);
+
308 
+
309 BOOL
+ +
311 
+
312 void
+ +
314 
+
315 void
+
316 OSSleepTicks(OSTime ticks);
+
317 
+
318 uint32_t
+
319 OSSuspendThread(OSThread *thread);
+
320 
+
321 void
+ +
323 
+
324 void
+ +
326 
+
327 void
+
328 OSYieldThread();
+
329 
+
330 #ifdef __cplusplus
+
331 }
+
332 #endif
+
333 
+
OSThreadCleanupCallbackFn cleanupCallback
Definition: thread.h:162
+
OSThreadRequest
Definition: thread.h:40
+
OSThreadDeallocatorFn deallocator
Definition: thread.h:163
+
uint32_t mmcr0
Definition: thread.h:84
+ +
uint32_t gpr[32]
Definition: thread.h:61
+
void OSSetThreadSpecific(uint32_t id, uint32_t value)
+
uint32_t srr1
Definition: thread.h:67
+
int32_t priority
Definition: thread.h:143
+
OSThreadLink link
Definition: thread.h:148
+
uint32_t gqr[8]
Definition: thread.h:73
+
OSThreadQueue * queue
Definition: thread.h:147
+
OSContext context
Definition: thread.h:137
+
BOOL OSCreateThread(OSThread *thread, OSThreadEntryPointFn entry, int32_t argc, char *argv, void *stack, uint32_t stackSize, int32_t priority, OSThreadAttributes attributes)
+ +
int64_t OSTime
Definition: time.h:17
+
int32_t OSCheckThreadStackUsage(OSThread *thread)
+
double fpr[32]
Definition: thread.h:70
+
int32_t suspendCounter
Definition: thread.h:142
+
uint64_t tag
Definition: thread.h:60
+
OSThread * OSGetDefaultThread(uint32_t coreID)
+
int32_t basePriority
Definition: thread.h:144
+
OSThread * OSGetCurrentThread()
+
int32_t OSGetThreadPriority(OSThread *thread)
+
void OSCancelThread(OSThread *thread)
+
uint32_t pmc1
Definition: thread.h:80
+ + +
const char * name
Definition: thread.h:159
+
uint16_t id
Definition: thread.h:141
+ +
void OSSleepTicks(OSTime ticks)
+
void * stackStart
Definition: thread.h:153
+
void(* OSThreadDeallocatorFn)(OSThread *thread, void *stack)
Definition: thread.h:29
+ + +
BOOL OSIsThreadSuspended(OSThread *thread)
+
void OSYieldThread()
+ +
const char * OSGetThreadName(OSThread *thread)
+
uint32_t pmc3
Definition: thread.h:82
+ +
int32_t exitValue
Definition: thread.h:145
+
OSThreadLink activeLink
Definition: thread.h:152
+
OSMutex * tail
Definition: thread.h:115
+
BOOL OSSetThreadRunQuantum(OSThread *thread, uint32_t quantum)
+
OSThreadAttributes attr
Definition: thread.h:140
+
uint32_t ctr
Definition: thread.h:64
+
uint32_t OSSuspendThread(OSThread *thread)
+ +
OSThreadState state
Definition: thread.h:139
+ +
void OSDetachThread(OSThread *thread)
+
BOOL OSSetThreadCancelState(BOOL state)
+
int(* OSThreadEntryPointFn)(int argc, const char **argv)
Definition: thread.h:27
+
BOOL OSSetThreadPriority(OSThread *thread, int32_t priority)
+
int32_t OSResumeThread(OSThread *thread)
+
int32_t needSuspend
Definition: thread.h:166
+ +
OSMutex * mutex
Definition: thread.h:150
+
uint32_t srr0
Definition: thread.h:66
+
uint32_t OSGetStackPointer()
+
void OSGetActiveThreadLink(OSThread *thread, OSThreadLink *link)
+
int32_t OSCheckActiveThreads()
+
void OSPrintCurrentThreadState()
+
void * stackEnd
Definition: thread.h:154
+
void * parent
Definition: thread.h:116
+
uint32_t cr
Definition: thread.h:62
+
OSThreadState
Definition: thread.h:31
+
BOOL OSSetThreadAffinity(OSThread *thread, uint32_t affinity)
+ +
uint16_t spinLockCount
Definition: thread.h:71
+
BOOL OSJoinThread(OSThread *thread, int *threadResult)
+
uint32_t tag
Definition: thread.h:138
+
OSThreadAttributes
Definition: thread.h:47
+ +
void OSWakeupThread(OSThreadQueue *queue)
+ +
uint32_t pmc2
Definition: thread.h:81
+
void OSContinueThread(OSThread *thread)
+ + +
OSThreadRequest requestFlag
Definition: thread.h:165
+
OSFastMutex * head
Definition: thread.h:126
+
void OSSetThreadName(OSThread *thread, const char *name)
+ + +
uint32_t specific[0x10]
Definition: thread.h:157
+
OSThreadEntryPointFn entryPoint
Definition: thread.h:155
+
uint32_t fpscr
Definition: thread.h:69
+
OSThreadQueue suspendQueue
Definition: thread.h:168
+
BOOL OSSetThreadStackUsage(OSThread *thread)
+ +
int BOOL
Definition: wut_types.h:4
+
uint32_t lr
Definition: thread.h:63
+
Definition: mutex.h:32
+
uint32_t cancelState
Definition: thread.h:164
+
void * userStackPointer
Definition: thread.h:161
+
uint64_t starttime
Definition: thread.h:77
+
OSMutex * head
Definition: thread.h:114
+
uint64_t coretime[3]
Definition: thread.h:76
+
int32_t suspendResult
Definition: thread.h:167
+
uint32_t xer
Definition: thread.h:65
+
uint32_t error
Definition: thread.h:78
+
uint32_t OSGetThreadAffinity(OSThread *thread)
+
OSThreadQueue joinQueue
Definition: thread.h:149
+ +
void OSSleepThread(OSThreadQueue *queue)
+
BOOL OSRunThread(OSThread *thread, OSThreadEntryPointFn entry, int argc, const char **argv)
+
double psf[32]
Definition: thread.h:75
+
void OSTestThreadCancel()
+
void OSExitThread(int32_t result)
+
uint32_t mmcr1
Definition: thread.h:85
+ +
OSThreadDeallocatorFn OSSetThreadDeallocator(OSThread *thread, OSThreadDeallocatorFn deallocator)
+
OSThreadCleanupCallbackFn OSSetThreadCleanupCallback(OSThread *thread, OSThreadCleanupCallbackFn callback)
+ +
OSMutexQueue mutexQueue
Definition: thread.h:151
+
uint16_t state
Definition: thread.h:72
+
void(* OSThreadCleanupCallbackFn)(OSThread *thread, void *stack)
Definition: thread.h:28
+
OSFastMutex * tail
Definition: thread.h:127
+
BOOL OSIsThreadTerminated(OSThread *thread)
+
uint32_t pmc4
Definition: thread.h:83
+
uint32_t OSGetThreadSpecific(uint32_t id)
+
void OSClearThreadStackUsage(OSThread *thread)
+
+ + + + diff --git a/threadqueue_8h.html b/threadqueue_8h.html new file mode 100644 index 0000000..a195b4a --- /dev/null +++ b/threadqueue_8h.html @@ -0,0 +1,137 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/threadqueue.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
threadqueue.h File Reference
+
+
+
#include <wut.h>
+
+

Go to the source code of this file.

+ + + + + + + + +

+Data Structures

struct  OSThreadLink
 
struct  OSThreadQueue
 
struct  OSThreadSimpleQueue
 
+ + + + + + + + + +

+Typedefs

typedef struct OSThread OSThread
 
typedef struct OSThreadLink OSThreadLink
 
typedef struct OSThreadQueue OSThreadQueue
 
typedef struct OSThreadSimpleQueue OSThreadSimpleQueue
 
+ + + + + +

+Functions

void OSInitThreadQueue (OSThreadQueue *queue)
 
void OSInitThreadQueueEx (OSThreadQueue *queue, void *parent)
 
+
+ + + + diff --git a/threadqueue_8h_source.html b/threadqueue_8h_source.html new file mode 100644 index 0000000..20cc23a --- /dev/null +++ b/threadqueue_8h_source.html @@ -0,0 +1,170 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/threadqueue.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
threadqueue.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 OSThread OSThread;
+
15 
+
16 typedef struct OSThreadLink OSThreadLink;
+ + +
19 
+ +
21 {
+ + +
24 };
+
25 CHECK_OFFSET(OSThreadLink, 0x00, prev);
+
26 CHECK_OFFSET(OSThreadLink, 0x04, next);
+
27 CHECK_SIZE(OSThreadLink, 0x8);
+
28 
+ +
30 {
+ + +
33  void *parent;
+
34  UNKNOWN(4);
+
35 };
+
36 CHECK_OFFSET(OSThreadQueue, 0x00, head);
+
37 CHECK_OFFSET(OSThreadQueue, 0x04, tail);
+
38 CHECK_OFFSET(OSThreadQueue, 0x08, parent);
+
39 CHECK_SIZE(OSThreadQueue, 0x10);
+
40 
+ +
42 {
+ + +
45 };
+
46 CHECK_OFFSET(OSThreadSimpleQueue, 0x00, head);
+
47 CHECK_OFFSET(OSThreadSimpleQueue, 0x04, tail);
+
48 CHECK_SIZE(OSThreadSimpleQueue, 0x08);
+
49 
+
50 void
+ +
52 
+
53 void
+ +
55  void *parent);
+
56 
+
57 #ifdef __cplusplus
+
58 }
+
59 #endif
+
60 
+ +
void OSInitThreadQueue(OSThreadQueue *queue)
+
OSThread * tail
Definition: threadqueue.h:32
+
OSThread * head
Definition: threadqueue.h:31
+ + + +
void * parent
Definition: threadqueue.h:33
+ + + +
void OSInitThreadQueueEx(OSThreadQueue *queue, void *parent)
+ + +
+ + + + diff --git a/time_8h.html b/time_8h.html new file mode 100644 index 0000000..eb9c999 --- /dev/null +++ b/time_8h.html @@ -0,0 +1,139 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/time.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
time.h File Reference
+
+
+
#include <wut.h>
+
+

Go to the source code of this file.

+ + + + +

+Data Structures

struct  OSCalendarTime
 
+ + + + + + + +

+Typedefs

typedef struct OSCalendarTime OSCalendarTime
 
typedef int32_t OSTick
 
typedef int64_t OSTime
 
+ + + + + + + + + + + + + +

+Functions

OSTime OSGetTime ()
 
OSTime OSGetSystemTime ()
 
OSTick OSGetTick ()
 
OSTick OSGetSystemTick ()
 
OSTime OSCalendarTimeToTicks (OSCalendarTime *calendarTime)
 
void OSTicksToCalendarTime (OSTime time, OSCalendarTime *calendarTime)
 
+
+ + + + diff --git a/time_8h_source.html b/time_8h_source.html new file mode 100644 index 0000000..95df52c --- /dev/null +++ b/time_8h_source.html @@ -0,0 +1,170 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/time.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
time.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 
+ +
15 
+
16 typedef int32_t OSTick;
+
17 typedef int64_t OSTime;
+
18 
+ +
20 {
+
21  int32_t tm_sec;
+
22  int32_t tm_min;
+
23  int32_t tm_hour;
+
24  int32_t tm_mday;
+
25  int32_t tm_mon;
+
26  int32_t tm_year;
+
27 };
+
28 CHECK_OFFSET(OSCalendarTime, 0x00, tm_sec);
+
29 CHECK_OFFSET(OSCalendarTime, 0x04, tm_min);
+
30 CHECK_OFFSET(OSCalendarTime, 0x08, tm_hour);
+
31 CHECK_OFFSET(OSCalendarTime, 0x0C, tm_mday);
+
32 CHECK_OFFSET(OSCalendarTime, 0x10, tm_mon);
+
33 CHECK_OFFSET(OSCalendarTime, 0x14, tm_year);
+
34 CHECK_SIZE(OSCalendarTime, 0x18);
+
35 
+
36 OSTime
+
37 OSGetTime();
+
38 
+
39 OSTime
+ +
41 
+
42 OSTick
+
43 OSGetTick();
+
44 
+
45 OSTick
+ +
47 
+
48 OSTime
+ +
50 
+
51 void
+
52 OSTicksToCalendarTime(OSTime time,
+
53  OSCalendarTime *calendarTime);
+
54 
+
55 #ifdef __cplusplus
+
56 }
+
57 #endif
+
58 
+
OSTick OSGetTick()
+
int64_t OSTime
Definition: time.h:17
+
int32_t tm_sec
Definition: time.h:21
+
int32_t tm_hour
Definition: time.h:23
+
OSTime OSCalendarTimeToTicks(OSCalendarTime *calendarTime)
+
int32_t tm_mday
Definition: time.h:24
+
OSTime OSGetTime()
+
void OSTicksToCalendarTime(OSTime time, OSCalendarTime *calendarTime)
+
OSTick OSGetSystemTick()
+ +
int32_t tm_min
Definition: time.h:22
+
OSTime OSGetSystemTime()
+ +
int32_t OSTick
Definition: time.h:16
+
int32_t tm_mon
Definition: time.h:25
+
int32_t tm_year
Definition: time.h:26
+
+ + + + diff --git a/unitheap_8h.html b/unitheap_8h.html new file mode 100644 index 0000000..b511282 --- /dev/null +++ b/unitheap_8h.html @@ -0,0 +1,137 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/unitheap.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
unitheap.h File Reference
+
+
+
#include <wut.h>
+
+

Go to the source code of this file.

+ + + + +

+Data Structures

struct  MEMUnitHeap
 
+ + + +

+Typedefs

typedef struct MEMUnitHeap MEMUnitHeap
 
+ + + + + + + + + + + + + + + +

+Functions

MEMUnitHeapMEMCreateUnitHeapEx (MEMUnitHeap *heap, uint32_t size, uint32_t blockSize, int32_t alignment, uint16_t flags)
 
void * MEMDestroyUnitHeap (MEMUnitHeap *heap)
 
void * MEMAllocFromUnitHeap (MEMUnitHeap *heap)
 
void MEMFreeToUnitHeap (MEMUnitHeap *heap, void *block)
 
void MEMiDumpUnitHeap (MEMUnitHeap *heap)
 
uint32_t MEMCountFreeBlockForUnitHeap (MEMUnitHeap *heap)
 
uint32_t MEMCalcHeapSizeForUnitHeap (uint32_t blockSize, uint32_t count, int32_t alignment)
 
+
+ + + + diff --git a/unitheap_8h_source.html b/unitheap_8h_source.html new file mode 100644 index 0000000..b83ddf3 --- /dev/null +++ b/unitheap_8h_source.html @@ -0,0 +1,157 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/unitheap.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
unitheap.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 MEMUnitHeap MEMUnitHeap;
+
15 
+ +
17 {
+
18 };
+
19 UNKNOWN_SIZE(MEMUnitHeap);
+
20 
+ + +
23  uint32_t size,
+
24  uint32_t blockSize,
+
25  int32_t alignment,
+
26  uint16_t flags);
+
27 
+
28 void *
+ +
30 
+
31 void *
+ +
33 
+
34 void
+ +
36  void *block);
+
37 
+
38 void
+ +
40 
+
41 uint32_t
+ +
43 
+
44 uint32_t
+
45 MEMCalcHeapSizeForUnitHeap(uint32_t blockSize,
+
46  uint32_t count,
+
47  int32_t alignment);
+
48 
+
49 #ifdef __cplusplus
+
50 }
+
51 #endif
+
52 
+
void * MEMAllocFromUnitHeap(MEMUnitHeap *heap)
+
void * MEMDestroyUnitHeap(MEMUnitHeap *heap)
+
MEMUnitHeap * MEMCreateUnitHeapEx(MEMUnitHeap *heap, uint32_t size, uint32_t blockSize, int32_t alignment, uint16_t flags)
+
void MEMFreeToUnitHeap(MEMUnitHeap *heap, void *block)
+
uint32_t MEMCalcHeapSizeForUnitHeap(uint32_t blockSize, uint32_t count, int32_t alignment)
+
uint32_t MEMCountFreeBlockForUnitHeap(MEMUnitHeap *heap)
+ + +
void MEMiDumpUnitHeap(MEMUnitHeap *heap)
+
+ + + + diff --git a/wish8.5.exe.stackdump b/wish8.5.exe.stackdump new file mode 100644 index 0000000..bcabe47 --- /dev/null +++ b/wish8.5.exe.stackdump @@ -0,0 +1,19 @@ +Stack trace: +Frame Function Args +0000024A8E0 001800724DA (0000024E3F4, 00000000104, 00000000004, 0000024DE50) +0000024A980 00180073C70 (00000000064, 00000000000, 00000000334, 00000000000) +0000024ABD0 0018012E5FF (00000000000, 00000000000, 000002B36C0, 00000290000) +0000024AEC0 0018012B2F0 (00040000000, 00300000000, 00000000000, 0003E210000) +0000024B030 0018012B7B9 (00000000000, 00000000000, 00000000000, 00000000006) +0000024B030 0018012B98C (7FFFCA4822A1, 00000004048, 001802120D8, 001801304FC) +0000024B030 0018012BC4F (003FCE4DF99, 003FCE4DF40, 000000001C5, 0018021202F) +0000024B030 00180041B65 (003FCE3627D, 0000024B120, 0000024B100, 0000024B1A0) +00000000000 003FCE33F07 (006002B9FE0, 00600068780, 00000000000, 003F7EAF6A0) +00000000000 003F7E5419E (006002B9FE0, 00000000000, 00300000000, 0000024B200) +006002AEB00 003F7E54ABA (006002AEB00, 006002B9760, 006002BA260, 006000124A0) +006002AEB00 003F7E54CDF (003F7DAC2FE, 00000000000, 0000024B3E0, 003F7E6A500) +006000124A0 003F7DB581A (006002AEB00, 006002AF360, 003F7EAF6A0, 006002AEB00) +00000000000 003F7DAD6A8 (006000915D0, 006002B9EE0, 006002B9760, 006002AEB00) +006000124A0 003F7DAE1BA (003F81571AC, 006002B7F58, 0000024B65C, 003F7DCDD90) +003F7EAF6A0 003F7DCF27B (006002B6850, 0060013EF78, 006002B33C0, 006002B8170) +End of stack trace (more stack frames may be present) diff --git a/wut_8h.html b/wut_8h.html new file mode 100644 index 0000000..4867f34 --- /dev/null +++ b/wut_8h.html @@ -0,0 +1,106 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/wut.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
wut.h File Reference
+
+
+
#include "wut_structsize.h"
+#include "wut_types.h"
+
+

Go to the source code of this file.

+
+ + + + diff --git a/wut_8h_source.html b/wut_8h_source.html new file mode 100644 index 0000000..3e50676 --- /dev/null +++ b/wut_8h_source.html @@ -0,0 +1,106 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/wut.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
wut.h
+
+
+Go to the documentation of this file.
1 #pragma once
+
2 #include "wut_structsize.h"
+
3 #include "wut_types.h"
+ +
+ + + + diff --git a/wut__types_8h.html b/wut__types_8h.html new file mode 100644 index 0000000..1f84ca1 --- /dev/null +++ b/wut__types_8h.html @@ -0,0 +1,165 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/wut_types.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
wut_types.h File Reference
+
+
+
#include <stdint.h>
+
+

Go to the source code of this file.

+ + + + + + +

+Macros

#define TRUE   1
 
#define FALSE   0
 
+ + + +

+Typedefs

typedef int BOOL
 
+

Macro Definition Documentation

+ +
+
+ + + + +
#define FALSE   0
+
+ +

Definition at line 11 of file wut_types.h.

+ +
+
+ +
+
+ + + + +
#define TRUE   1
+
+ +

Definition at line 7 of file wut_types.h.

+ +
+
+

Typedef Documentation

+ +
+
+ + + + +
typedef int BOOL
+
+ +

Definition at line 4 of file wut_types.h.

+ +
+
+
+ + + + diff --git a/wut__types_8h_source.html b/wut__types_8h_source.html new file mode 100644 index 0000000..1987693 --- /dev/null +++ b/wut__types_8h_source.html @@ -0,0 +1,115 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/wut_types.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
wut_types.h
+
+
+Go to the documentation of this file.
1 #pragma once
+
2 #include <stdint.h>
+
3 
+
4 typedef int BOOL;
+
5 
+
6 #ifndef TRUE
+
7 #define TRUE 1
+
8 #endif
+
9 
+
10 #ifndef FALSE
+
11 #define FALSE 0
+
12 #endif
+
int BOOL
Definition: wut_types.h:4
+
+ + + +