aboutsummaryrefslogtreecommitdiff
path: root/linux-user/sparc64
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2018-04-11 20:56:37 +0200
committerLaurent Vivier <laurent@vivier.eu>2018-04-30 09:48:03 +0200
commitd0a28415e674ec0fee9375a800fb2250e6e0612a (patch)
tree4f5fe709c7574d829f91ca8966adac2fe34a33aa /linux-user/sparc64
parentd9673512267d081f01fe1e450ac0891ba7d005aa (diff)
downloadqemu-d0a28415e674ec0fee9375a800fb2250e6e0612a.zip
qemu-d0a28415e674ec0fee9375a800fb2250e6e0612a.tar.gz
qemu-d0a28415e674ec0fee9375a800fb2250e6e0612a.tar.bz2
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.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/linux-user/sparc64/cpu_loop.c b/linux-user/sparc64/cpu_loop.c
index b7700a5..4fd44e1 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"