- fixed libsys includes

git-svn-id: http://moon:8086/svn/mips@201 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
2021-11-23 18:42:38 +00:00
parent d8bd262509
commit b454e8dd00
14 changed files with 23 additions and 18 deletions
-7
View File
@@ -7,13 +7,6 @@
#include <stdint.h>
#ifndef ERROR_BASE
#define ERROR_BASE 0x80000000
#endif
#ifndef IS_ERROR
#define IS_ERROR(e) ((e & ERROR_BASE) == ERROR_BASE)
#endif
#define MAX(a,b) ((a)>(b)?(a):(b))
#define MIN(a,b) ((a)<(b)?(a):(b))
+1 -1
View File
@@ -3,7 +3,7 @@
#include "asm/regdef.h"
#include "xcpt.h"
#include "irq.h"
#include <cop0.h>
#include "cop0.h"
static fp_irq_t g_irq_handler[MAX_NUM_IRQ] = {NULL};
+1
View File
@@ -30,6 +30,7 @@ typedef struct _suart_if_t
extern "C" {
#endif
void UART_setbaud(void const *pInst, uint32_t baudrate);
int UART_readchar(void const *pInst);
void UART_writechar(void const *pInst, char c);