Move #define's out of ARMUtils.h and into a newly created file ARMDefines.h.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124261 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Plugins/Process/Utility/ARMDefines.h b/source/Plugins/Process/Utility/ARMDefines.h
new file mode 100644
index 0000000..b258b75
--- /dev/null
+++ b/source/Plugins/Process/Utility/ARMDefines.h
@@ -0,0 +1,56 @@
+//===-- lldb_ARMDefines.h ---------------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef lldb_ARMDefines_h_
+#define lldb_ARMDefines_h_
+
+#include "InstructionUtils.h"
+
+// Common defintions for the ARM/Thumb Instruction Set Architecture.
+
+namespace lldb_private {
+
+// ARM conditions
+#define COND_EQ 0x0
+#define COND_NE 0x1
+#define COND_CS 0x2
+#define COND_HS 0x2
+#define COND_CC 0x3
+#define COND_LO 0x3
+#define COND_MI 0x4
+#define COND_PL 0x5
+#define COND_VS 0x6
+#define COND_VC 0x7
+#define COND_HI 0x8
+#define COND_LS 0x9
+#define COND_GE 0xA
+#define COND_LT 0xB
+#define COND_GT 0xC
+#define COND_LE 0xD
+#define COND_AL 0xE
+#define COND_UNCOND 0xF
+
+// Masks for CPSR
+#define MASK_CPSR_MODE_MASK (0x0000001fu)
+#define MASK_CPSR_T (1u << 5)
+#define MASK_CPSR_F (1u << 6)
+#define MASK_CPSR_I (1u << 7)
+#define MASK_CPSR_A (1u << 8)
+#define MASK_CPSR_E (1u << 9)
+#define MASK_CPSR_GE_MASK (0x000f0000u)
+#define MASK_CPSR_J (1u << 24)
+#define MASK_CPSR_Q (1u << 27)
+#define MASK_CPSR_V (1u << 28)
+#define MASK_CPSR_C (1u << 29)
+#define MASK_CPSR_Z (1u << 30)
+#define MASK_CPSR_N (1u << 31)
+
+} // namespace lldb_private
+
+#endif // lldb_ARMDefines_h_