mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-21 00:27:19 +08:00
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
This commit is contained in:
parent
d56c91e322
commit
da7bbdb0df
@ -19,7 +19,6 @@
|
|||||||
#include <rtthread.h>
|
#include <rtthread.h>
|
||||||
|
|
||||||
#include <jz4755.h>
|
#include <jz4755.h>
|
||||||
#include <mipsregs.h>
|
|
||||||
|
|
||||||
static struct rt_thread thread1;
|
static struct rt_thread thread1;
|
||||||
static rt_uint8_t thread1_stack[1024];
|
static rt_uint8_t thread1_stack[1024];
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
*/
|
*/
|
||||||
#include <rtthread.h>
|
#include <rtthread.h>
|
||||||
#include "jz47xx.h"
|
#include "jz47xx.h"
|
||||||
#include "interrupt.h"
|
|
||||||
|
|
||||||
#define JZ47XX_MAX_INTR 32
|
#define JZ47XX_MAX_INTR 32
|
||||||
|
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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__ */
|
|
@ -1,6 +1,8 @@
|
|||||||
#ifndef __JZ47XX_H__
|
#ifndef __JZ47XX_H__
|
||||||
#define __JZ47XX_H__
|
#define __JZ47XX_H__
|
||||||
|
|
||||||
|
#include "../common/mipsregs.h"
|
||||||
|
|
||||||
#define __REG8(addr) *((volatile unsigned char *)(addr))
|
#define __REG8(addr) *((volatile unsigned char *)(addr))
|
||||||
#define __REG16(addr) *((volatile unsigned short *)(addr))
|
#define __REG16(addr) *((volatile unsigned short *)(addr))
|
||||||
#define __REG32(addr) *((volatile unsigned int *)(addr))
|
#define __REG32(addr) *((volatile unsigned int *)(addr))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user