Move definition of op-codes that compilers may not support to an header file and
[bootloader-ap.git] / include / boot / arm-missing-opcodes.h
diff --git a/include/boot/arm-missing-opcodes.h b/include/boot/arm-missing-opcodes.h
new file mode 100644 (file)
index 0000000..18f066a
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+  ARM op-codes that compilers may not support
+  Copyright (c) 2010 TJ <linux@tjworld.net>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program (See the COPYRIGHT file the base directory).
+    If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#ifndef __ARM_MISSING_OPCODES_H
+#define __ARM_MISSING_OPCODES_H
+/*
+  moved from arch/arch-init-7x30.S so other source can use them
+*/
+#define DSB .byte 0x4f, 0xf0, 0x7f, 0xf5
+#define ISB .byte 0x6f, 0xf0, 0x7f, 0xf5
+
+#endif