Removed some header files that largely just contained duplicated entries, and repointed files using them to the proper place. This makes it possible to generate a working ctx.c file for mips_to_c which I've added a simple script to do automatically

This commit is contained in:
Ryan Myers
2021-09-20 11:50:03 -04:00
parent fa860c5da0
commit 260a48c58a
9 changed files with 12 additions and 156 deletions
+2
View File
@@ -4,6 +4,8 @@
/* Internal functions used by the operating system */
/* Do not include this header in application code */
#include "os_thread.h"
/* Variables */
//extern u64 osClockRate;
+2 -1
View File
@@ -68,6 +68,7 @@ The Indy development board use cartridge domain 1:
**************************************************************************/
#define HW_REG(reg, type) *(volatile type *)(u32*)(reg | 0xa0000000)
/*************************************************************************
* RDRAM Memory (Assumes that maximum size is 4 MB)
@@ -735,7 +736,7 @@ The Indy development board use cartridge domain 1:
* Bit 1: IO busy - set when IO is in progress
* Bit 2: Error - set when CPU issues IO request while DMA is busy
*/
#define PI_STATUS_ERROR 0x04
#define PI_STATUS_ERROR 0x03
#define PI_STATUS_IO_BUSY 0x02
#define PI_STATUS_DMA_BUSY 0x01