24 #ifdef _LANGUAGE_C_PLUS_PLUS
30 #if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
92 u64 *output_buff_size;
103 long long int force_structure_alignment;
106 typedef u32 OSYieldResult;
113 #define OS_TASK_YIELDED 0x0001
114 #define OS_TASK_DP_WAIT 0x0002
115 #define OS_TASK_LOADABLE 0x0004
116 #define OS_TASK_SP_ONLY 0x0008
117 #define OS_TASK_USR0 0x0010
118 #define OS_TASK_USR1 0x0020
119 #define OS_TASK_USR2 0x0040
120 #define OS_TASK_USR3 0x0080
129 #if (defined(F3DEX_GBI) || defined(F3DLP_GBI) || defined(F3DEX_GBI_2))
131 #define OS_YIELD_DATA_SIZE 0xD00
133 #define OS_YIELD_DATA_SIZE 0xC00
136 #define OS_YIELD_DATA_SIZE 0x900
141 #define M_TASK_FLAG0 1
142 #define M_TASK_FLAG1 2
145 #define SPSTATUS_CLEAR_HALT 0x00000001
146 #define SPSTATUS_SET_HALT 0x00000002
147 #define SPSTATUS_CLEAR_BROKE 0x00000004
148 #define SPSTATUS_CLEAR_INTR 0x00000008
149 #define SPSTATUS_SET_INTR 0x00000010
150 #define SPSTATUS_CLEAR_SSTEP 0x00000020
151 #define SPSTATUS_SET_SSTEP 0x00000040
152 #define SPSTATUS_CLEAR_INTR_ON_BREAK 0x00000080
153 #define SPSTATUS_SET_INTR_ON_BREAK 0x00000100
154 #define SPSTATUS_CLEAR_SIGNAL0 0x00000200
155 #define SPSTATUS_SET_SIGNAL0 0x00000400
156 #define SPSTATUS_CLEAR_SIGNAL1 0x00000800
157 #define SPSTATUS_SET_SIGNAL1 0x00001000
158 #define SPSTATUS_CLEAR_SIGNAL2 0x00002000
159 #define SPSTATUS_SET_SIGNAL2 0x00004000
160 #define SPSTATUS_CLEAR_SIGNAL3 0x00008000
161 #define SPSTATUS_SET_SIGNAL3 0x00010000
162 #define SPSTATUS_CLEAR_SIGNAL4 0x00020000
163 #define SPSTATUS_SET_SIGNAL4 0x00040000
164 #define SPSTATUS_CLEAR_SIGNAL5 0x00080000
165 #define SPSTATUS_SET_SIGNAL5 0x00100000
166 #define SPSTATUS_CLEAR_SIGNAL6 0x00200000
167 #define SPSTATUS_SET_SIGNAL6 0x00800000
168 #define SPSTATUS_CLEAR_SIGNAL7 0x01000000
169 #define SPSTATUS_SET_SIGNAL7 0x02000000
171 #define SPSTATUS_HALT 0x0001
172 #define SPSTATUS_BROKE 0x0002
173 #define SPSTATUS_DMA_BUSY 0x0004
174 #define SPSTATUS_DMA_FULL 0x0008
175 #define SPSTATUS_IO_FULL 0x0010
176 #define SPSTATUS_SINGLE_STEP 0x0020
177 #define SPSTATUS_INTERRUPT_ON_BREAK 0x0040
178 #define SPSTATUS_SIGNAL0_SET 0x0080
179 #define SPSTATUS_SIGNAL1_SET 0x0100
180 #define SPSTATUS_SIGNAL2_SET 0x0200
181 #define SPSTATUS_SIGNAL3_SET 0x0400
182 #define SPSTATUS_SIGNAL4_SET 0x0800
183 #define SPSTATUS_SIGNAL5_SET 0x1000
184 #define SPSTATUS_SIGNAL6_SET 0x2000
185 #define SPSTATUS_SIGNAL7_SET 0x4000
187 #if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
198 #define osSpTaskStart(p) \
226 #ifdef _LANGUAGE_C_PLUS_PLUS
unsigned long long int u64
Definition: llconv.c:2
void osSpTaskLoad(OSTask *task)
Definition: osSpTaskLoadGo.c:25
void osSpTaskStartGo(UNUSED OSTask *task)
Definition: osSpTaskLoadGo.c:59
void osSpTaskYield(void)
Definition: osSpTaskYield.c:3
OSYieldResult osSpTaskYielded(OSTask *task)
Definition: osSpTaskYielded.c:3
unsigned int u32
Definition: ultratypes.h:16