Skip to contentSkip to conversation

Move helpers.h to helper.h

PATCH New Lluís 1 participant 1 message Oct 22, 2010

lore
Share & tools
lore

Lluís

author
#0 lore raw

PATCH 1/1 Move helpers.h to helper.h

This provides a consistent naming scheme across all targets.

---
 target-arm/helper.c        |    2 +-
 target-arm/helper.h        |  450 ++++++++++++++++++++++++++++++++++++++++++++
 target-arm/helpers.h       |  450 --------------------------------------------
 target-arm/iwmmxt_helper.c |    2 +-
 target-arm/neon_helper.c   |    2 +-
 target-arm/op_helper.c     |    2 +-
 target-arm/translate.c     |    6 +-
 target-m68k/helper.c       |    2 +-
 target-m68k/helper.h       |   54 ++++++
 target-m68k/helpers.h      |   54 ------
 target-m68k/op_helper.c    |    2 +-
 target-m68k/translate.c    |    6 +-
 12 files changed, 516 insertions(+), 516 deletions(-)
 create mode 100644 target-arm/helper.h
 delete mode 100644 target-arm/helpers.h
 create mode 100644 target-m68k/helper.h
 delete mode 100644 target-m68k/helpers.h
target-arm/helper.c +1 -1
index 2dd64d9..08afe24 100644
@@ -5,7 +5,7 @@
 #include "cpu.h"
 #include "exec-all.h"
 #include "gdbstub.h"
-#include "helpers.h"
+#include "helper.h"
 #include "qemu-common.h"
 #include "host-utils.h"
 #if !defined(CONFIG_USER_ONLY)
target-arm/helper.h new file +450 -0

450 lines not on this page · raw message

target-arm/helpers.h deleted +0 -450

450 lines not on this page · raw message

target-arm/iwmmxt_helper.c +1 -1
index 3332f70..843994d 100644
@@ -24,7 +24,7 @@
 
 #include "cpu.h"
 #include "exec-all.h"
-#include "helpers.h"
+#include "helper.h"
 
 /* iwMMXt macros extracted from GNU gdb.  */
 
target-arm/neon_helper.c +1 -1
index 5e6452b..342d243 100644
@@ -11,7 +11,7 @@
 
 #include "cpu.h"
 #include "exec-all.h"
-#include "helpers.h"
+#include "helper.h"
 
 #define SIGNBIT (uint32_t)0x80000000
 #define SIGNBIT64 ((uint64_t)1 << 63)
target-arm/op_helper.c +1 -1
index 9b1a014..6734888 100644
@@ -17,7 +17,7 @@
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 #include "exec.h"
-#include "helpers.h"
+#include "helper.h"
 
 #define SIGNBIT (uint32_t)0x80000000
 #define SIGNBIT64 ((uint64_t)1 << 63)
target-arm/translate.c +3 -3
index 6fcdd7e..a9fbe5b 100644
@@ -30,9 +30,9 @@
 #include "tcg-op.h"
 #include "qemu-log.h"
 
-#include "helpers.h"
+#include "helper.h"
 #define GEN_HELPER 1
-#include "helpers.h"
+#include "helper.h"
 
 #define ENABLE_ARCH_5J    0
 #define ENABLE_ARCH_6     arm_feature(env, ARM_FEATURE_V6)
@@ -120,7 +120,7 @@ void arm_translate_init(void)
 #endif
 
 #define GEN_HELPER 2
-#include "helpers.h"
+#include "helper.h"
 }
 
 static int num_temps;
target-m68k/helper.c +1 -1
index b4ebb14..798666d 100644
@@ -27,7 +27,7 @@
 #include "qemu-common.h"
 #include "gdbstub.h"
 
-#include "helpers.h"
+#include "helper.h"
 
 #define SIGNBIT (1u << 31)
 
target-m68k/helper.h new file +54 -0

54 lines not on this page · raw message

target-m68k/helpers.h deleted +0 -54

54 lines not on this page · raw message

target-m68k/op_helper.c +1 -1
index 0711107..c0698ff 100644
@@ -17,7 +17,7 @@
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 #include "exec.h"
-#include "helpers.h"
+#include "helper.h"
 
 #if defined(CONFIG_USER_ONLY)
 
target-m68k/translate.c +3 -3
index 5351880..0c6f0e2 100644
@@ -30,9 +30,9 @@
 #include "tcg-op.h"
 #include "qemu-log.h"
 
-#include "helpers.h"
+#include "helper.h"
 #define GEN_HELPER 1
-#include "helpers.h"
+#include "helper.h"
 
 //#define DEBUG_DISPATCH 1
 
@@ -111,7 +111,7 @@ void m68k_tcg_init(void)
     store_dummy = tcg_global_mem_new(TCG_AREG0, -8, "NULL");
 
 #define GEN_HELPER 2
-#include "helpers.h"
+#include "helper.h"
 }
 
 static inline void qemu_assert(int cond, const char *msg)
Signature · 7 lines
1.7.1

-- 
 "And it's much the same thing with knowledge, for whenever you learn
 something new, the whole world becomes that much richer."
 -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
 Tollbooth