fix compiling error

This commit is contained in:
weety 2013-07-21 19:39:21 +08:00
parent 42f9840653
commit 36c4604a36
1 changed files with 12 additions and 0 deletions

View File

@ -13,6 +13,18 @@
*/
#include <rtthread.h>
/*****************************/
/* CPU Mode */
/*****************************/
#define USERMODE 0x10
#define FIQMODE 0x11
#define IRQMODE 0x12
#define SVCMODE 0x13
#define ABORTMODE 0x17
#define UNDEFMODE 0x1b
#define MODEMASK 0x1f
#define NOINT 0xc0
/**
* This function will initialize thread stack
*