From 59f9d96f4489256bb64cafd7b68e9a231caf7ee3 Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Mon, 25 Jan 2021 22:37:10 +1000 Subject: [PATCH] Decompile osScGetCmdQ --- src/boot/boot.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/boot/boot.c b/src/boot/boot.c index fa309d687..6d2876bf0 100644 --- a/src/boot/boot.c +++ b/src/boot/boot.c @@ -1315,7 +1315,7 @@ glabel func000019f4 /* 1a7c: 0c00078c */ jal osScAddClient /* 1a80: 00003825 */ or $a3,$zero,$zero /* 1a84: 3c048009 */ lui $a0,%hi(var8008dbd0) -/* 1a88: 0c0007a3 */ jal func00001e8c +/* 1a88: 0c0007a3 */ jal osScGetCmdQ /* 1a8c: 2484dbd0 */ addiu $a0,$a0,%lo(var8008dbd0) /* 1a90: 8fbf0014 */ lw $ra,0x14($sp) /* 1a94: 3c018009 */ lui $at,%hi(var8008dbc8) @@ -1593,11 +1593,10 @@ glabel osScRemoveClient ); #endif -GLOBAL_ASM( -glabel func00001e8c -/* 1e8c: 03e00008 */ jr $ra -/* 1e90: 24820078 */ addiu $v0,$a0,0x78 -); +OSMesgQueue *osScGetCmdQ(OSSched *sc) +{ + return &sc->cmdQ; +} void __scMain(void *arg) {