Explorar o código

fix compiling error

weety %!s(int64=11) %!d(string=hai) anos
pai
achega
36c4604a36
Modificáronse 1 ficheiros con 12 adicións e 0 borrados
  1. 12 0
      libcpu/arm/arm926/stack.c

+ 12 - 0
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
  *