From 0f590e749f7c838bfd40b79242fc5aeb91e81747 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Fri, 28 Mar 2014 17:55:24 +0100 Subject: 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 Signed-off-by: Paolo Bonzini --- target-i386/mem_helper.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'target-i386') 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 @@ -109,24 +109,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 -- cgit v1.2.3