summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-08-27 11:31:48 -0700
committerRichard Henderson <rth@twiddle.net>2013-09-02 09:08:30 -0700
commit701e3a5cc02fd52ba59894781e78d433ec043772 (patch)
treef8a57418cad2972aadd89cdcf1e7134819304bdb
parent5bcebc253c1637d3a5b957abc7460c49a670c4de (diff)
downloadfocaccia-qemu-701e3a5cc02fd52ba59894781e78d433ec043772.tar.gz
focaccia-qemu-701e3a5cc02fd52ba59894781e78d433ec043772.zip
exec: Rename USUFFIX to LSUFFIX
In a following patch, there will be confusion between multiple "unsigned"
suffixes; rename this one so as to imply "load".

Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
-rw-r--r--include/exec/softmmu_template.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/exec/softmmu_template.h b/include/exec/softmmu_template.h
index 2fc6ea3235..f9922e2689 100644
--- a/include/exec/softmmu_template.h
+++ b/include/exec/softmmu_template.h
@@ -28,19 +28,19 @@
 
 #if DATA_SIZE == 8
 #define SUFFIX q
-#define USUFFIX q
+#define LSUFFIX q
 #define DATA_TYPE uint64_t
 #elif DATA_SIZE == 4
 #define SUFFIX l
-#define USUFFIX l
+#define LSUFFIX l
 #define DATA_TYPE uint32_t
 #elif DATA_SIZE == 2
 #define SUFFIX w
-#define USUFFIX uw
+#define LSUFFIX uw
 #define DATA_TYPE uint16_t
 #elif DATA_SIZE == 1
 #define SUFFIX b
-#define USUFFIX ub
+#define LSUFFIX ub
 #define DATA_TYPE uint8_t
 #else
 #error unsupported data size
@@ -147,7 +147,7 @@ glue(glue(helper_ret_ld, SUFFIX), MMUSUFFIX)(CPUArchState *env,
 #endif
 
     haddr = addr + env->tlb_table[mmu_idx][index].addend;
-    return glue(glue(ld, USUFFIX), _raw)((uint8_t *)haddr);
+    return glue(glue(ld, LSUFFIX), _raw)((uint8_t *)haddr);
 }
 
 DATA_TYPE
@@ -264,6 +264,6 @@ glue(glue(helper_st, SUFFIX), MMUSUFFIX)(CPUArchState *env, target_ulong addr,
 #undef SHIFT
 #undef DATA_TYPE
 #undef SUFFIX
-#undef USUFFIX
+#undef LSUFFIX
 #undef DATA_SIZE
 #undef ADDR_READ