- fixed libsys includes
git-svn-id: http://moon:8086/svn/mips@201 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
@@ -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};
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user