提交 da7bbdb0 编写于 作者: B bernard.xiong

remove interrupt.h and compiling error in jz47xx branch.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1005 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 d56c91e3
......@@ -19,7 +19,6 @@
#include <rtthread.h>
#include <jz4755.h>
#include <mipsregs.h>
static struct rt_thread thread1;
static rt_uint8_t thread1_stack[1024];
......
......@@ -13,7 +13,6 @@
*/
#include <rtthread.h>
#include "jz47xx.h"
#include "interrupt.h"
#define JZ47XX_MAX_INTR 32
......
/*
* File : interrupt.h
* Change Logs:
* Date Author Notes
* 2010-05-17 swkyer first version
*/
#ifndef __IRQ_H__
#define __IRQ_H__
/* Interrupt Numbers */
#define AXXXX_UART_INT 0
#define AXXXX_USB_INT 1
#define AXXXX_RTC_INT 2
#define AXXXX_DMA_INT 3
#define AXXXX_EXTERNAL_INT 4
#define AXXXX_SPI_INT 5
#define AXXXX_I2C1_INT 6
#define AXXXX_I2C2_INT 7
#define AXXXX_ADC_INT 8
#define AXXXX_DAC_INT 9
#define AXXXX_FLASH_INT 10
#define AXXXX_CP0_COUNT_INT 11
#define AXXXX_MAX_INTR 12
#endif /* end of __IRQ_H__ */
#ifndef __JZ47XX_H__
#define __JZ47XX_H__
#include "../common/mipsregs.h"
#define __REG8(addr) *((volatile unsigned char *)(addr))
#define __REG16(addr) *((volatile unsigned short *)(addr))
#define __REG32(addr) *((volatile unsigned int *)(addr))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册