mirror of
https://github.com/zeldaret/oot
synced 2026-06-22 17:02:58 -04:00
f1d183d6fe
* Restructure files, begin header restructure * Format * us2dex * Fix parallel spelling Co-authored-by: JoshDuMan <40190173+JoshDuMan@users.noreply.github.com> * Use OS_K0_TO_PHYSICAL in place of VIRTUAL_TO_PHYSICAL in osAiSetNextBuffer * Uppercase hex, exception vector address defines * Interrupt flags 1 Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> * Interrupt flags 2 Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> Co-authored-by: JoshDuMan <40190173+JoshDuMan@users.noreply.github.com> Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
10 lines
215 B
C
10 lines
215 B
C
#include "global.h"
|
|
|
|
void osYieldThread(void) {
|
|
register u32 prevInt = __osDisableInt();
|
|
|
|
__osRunningThread->state = OS_STATE_RUNNABLE;
|
|
__osEnqueueAndYield(&__osRunQueue);
|
|
__osRestoreInt(prevInt);
|
|
}
|