From 36c4604a362442c72616c2d66c084eedf6b7a663 Mon Sep 17 00:00:00 2001 From: weety Date: Sun, 21 Jul 2013 19:39:21 +0800 Subject: [PATCH] fix compiling error --- libcpu/arm/arm926/stack.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 +/*****************************/ +/* 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 * -- GitLab