diff options
| author | weety <[email protected]> | 2013-07-21 19:39:21 +0800 |
|---|---|---|
| committer | weety <[email protected]> | 2013-07-21 19:39:21 +0800 |
| commit | 36c4604a362442c72616c2d66c084eedf6b7a663 (patch) | |
| tree | 726f742fea149b96a97720d71ef84189fbd6d6bc /libcpu | |
| parent | 42f9840653025f26b77fe7e1c1bcd823838b660c (diff) | |
fix compiling error
Diffstat (limited to 'libcpu')
| -rw-r--r-- | libcpu/arm/arm926/stack.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libcpu/arm/arm926/stack.c b/libcpu/arm/arm926/stack.c index 7fec92d6df..3b31ea28b5 100644 --- a/libcpu/arm/arm926/stack.c +++ b/libcpu/arm/arm926/stack.c @@ -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 * |
