Decompile osSpTaskYeild

This commit is contained in:
Ryan Dwyer 2021-01-26 12:22:45 +10:00
parent 83c4db1e54
commit 6435c8246b
1 changed files with 5 additions and 12 deletions

View File

@ -35,17 +35,10 @@ glabel func000490b0
/* 490fc: 00000000 */ nop
);
GLOBAL_ASM(
glabel osSpTaskYield
/* 49100: 27bdffe8 */ addiu $sp,$sp,-24
/* 49104: afbf0014 */ sw $ra,0x14($sp)
/* 49108: 0c012d40 */ jal __osSpSetStatus
/* 4910c: 24040400 */ addiu $a0,$zero,0x400
/* 49110: 8fbf0014 */ lw $ra,0x14($sp)
/* 49114: 27bd0018 */ addiu $sp,$sp,0x18
/* 49118: 03e00008 */ jr $ra
/* 4911c: 00000000 */ nop
);
void osSpTaskYield(void)
{
__osSpSetStatus(SP_SET_YIELD);
}
GLOBAL_ASM(
glabel func00049120
@ -85,4 +78,4 @@ glabel func00049120
/* 491a4: 00000000 */ nop
/* 491a8: 00000000 */ nop
/* 491ac: 00000000 */ nop
);
);