diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2014-03-28 17:55:24 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-06-05 16:10:33 +0200 |
commit | 0f590e749f7c838bfd40b79242fc5aeb91e81747 (patch) | |
tree | dc7978fe575a9886b3425e396c7c36e4a035254b /target-i386 | |
parent | d94f0a8ecb256fcfcd9eb12bd4700711eca3e937 (diff) | |
download | qemu-0f590e749f7c838bfd40b79242fc5aeb91e81747.tar.gz qemu-0f590e749f7c838bfd40b79242fc5aeb91e81747.tar.bz2 qemu-0f590e749f7c838bfd40b79242fc5aeb91e81747.zip |
softmmu: commonize helper definitions
They do not need to be in op_helper.c. Because cputlb.c now includes
softmmu_template.h twice for each size, io_readX must be elided the
second time through.
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-i386')
-rw-r--r-- | target-i386/mem_helper.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/target-i386/mem_helper.c b/target-i386/mem_helper.c index 83aa1038d7..16bc91bcb4 100644 --- a/target-i386/mem_helper.c +++ b/target-i386/mem_helper.c @@ -110,24 +110,6 @@ void helper_boundl(CPUX86State *env, target_ulong a0, int v) } #if !defined(CONFIG_USER_ONLY) - -#define MMUSUFFIX _mmu - -#define SHIFT 0 -#include "exec/softmmu_template.h" - -#define SHIFT 1 -#include "exec/softmmu_template.h" - -#define SHIFT 2 -#include "exec/softmmu_template.h" - -#define SHIFT 3 -#include "exec/softmmu_template.h" - -#endif - -#if !defined(CONFIG_USER_ONLY) /* try to fill the TLB and return an exception if error. If retaddr is * NULL, it means that the function was called in C code (i.e. not * from generated code or from helper.c) |