4584054e17
This bsp is used for test MIPS base code in simutator, implemented basic MIPS cpuport and serial port driver. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
14 lines
256 B
C
14 lines
256 B
C
#ifndef _MIPSSIM_H__
|
|
#define _MIPSSIM_H__
|
|
|
|
#include <mips.h>
|
|
|
|
#define ISA_MMIO_BASE 0x1fd00000
|
|
|
|
#define UART0_ISA_OFF 0x3f8
|
|
#define UART0_BASE KSEG1ADDR(ISA_MMIO_BASE + UART0_ISA_OFF)
|
|
|
|
void rt_hw_timer_handler(void);
|
|
void rt_hw_uart_init(void);
|
|
|
|
#endif |