diff options
| author | Dragorn421 <Dragorn421@users.noreply.github.com> | 2024-11-08 02:27:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-07 17:27:19 -0800 |
| commit | fcc5cf828ded5d362b2e63a8868374a50df405ed (patch) | |
| tree | 530d7d6d8690599593f6588b04d10441e364b5c7 /src/boot/O2/rcp_utils.c | |
| parent | 9cd9099a0431b369be39f111bf57051f544bead3 (diff) | |
libu64 (#1705)
* libu64
* libu64 -O2
* Add libu64.md
Diffstat (limited to 'src/boot/O2/rcp_utils.c')
| -rw-r--r-- | src/boot/O2/rcp_utils.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/boot/O2/rcp_utils.c b/src/boot/O2/rcp_utils.c deleted file mode 100644 index f587fad21..000000000 --- a/src/boot/O2/rcp_utils.c +++ /dev/null @@ -1,23 +0,0 @@ -#include "ultra64.h" - -void RcpUtils_PrintRegisterStatus(void) { - u32 spStatus = __osSpGetStatus(); - u32 dpStatus = osDpGetStatus(); - - if (spStatus) { - // stubbed debug prints - } - - if (dpStatus) { - // stubbed debug prints - } -} - -void RcpUtils_Reset(void) { - RcpUtils_PrintRegisterStatus(); - // Flush the RDP pipeline and freeze clock counter - osDpSetStatus(DPC_SET_FREEZE | DPC_SET_FLUSH); - // Halt the RSP, disable interrupt on break and set "task done" signal - __osSpSetStatus(SP_SET_HALT | SP_SET_TASKDONE | SP_CLR_INTR_BREAK); - RcpUtils_PrintRegisterStatus(); -} |
