diff options
author | Laurent Vivier <laurent@vivier.eu> | 2018-04-11 20:56:37 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2018-04-30 09:48:03 +0200 |
commit | d0a28415e674ec0fee9375a800fb2250e6e0612a (patch) | |
tree | 4f5fe709c7574d829f91ca8966adac2fe34a33aa /linux-user/sparc64 | |
parent | d9673512267d081f01fe1e450ac0891ba7d005aa (diff) |
linux-user: move sparc/sparc64 cpu loop to sparc directory
No code change, only move code from main.c to
sparc/cpu_loop.c.
Include sparc/cpu_loop.c in sparc64/cpu_loop.c
to avoid to duplicate code.
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20180411185651.21351-6-laurent@vivier.eu>
Diffstat (limited to 'linux-user/sparc64')
-rw-r--r-- | linux-user/sparc64/cpu_loop.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/linux-user/sparc64/cpu_loop.c b/linux-user/sparc64/cpu_loop.c index b7700a5561..4fd44e1b1e 100644 --- a/linux-user/sparc64/cpu_loop.c +++ b/linux-user/sparc64/cpu_loop.c @@ -17,10 +17,4 @@ * along with this program; if not, see <http://www.gnu.org/licenses/>. */ -#include "qemu/osdep.h" -#include "qemu.h" -#include "cpu_loop-common.h" - -void target_cpu_copy_regs(CPUArchState *env, struct target_pt_regs *regs) -{ -} +#include "../sparc/cpu_loop.c" |