OSDN Git Service

cpu: Move cpu_copy() into linux-user
authorAndreas Färber <afaerber@suse.de>
Tue, 2 Jul 2013 15:43:21 +0000 (17:43 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 7 Oct 2013 09:48:39 +0000 (11:48 +0200)
commit30ba0ee52d1519b717089782ef1caf0480a01dc3
tree2007245f902dc0dfba178f55cc9f0a0288fddfc3
parent812586405c5d165aae791d3806a9bbb8312ec2ac
cpu: Move cpu_copy() into linux-user

It is only used there and is deemed very fragile if not incorrect in its
current memcpy() form. Moving it into linux-user will allow to move
parts into target_cpu.h headers and only copy what the ABI mandates.

Signed-off-by: Andreas Färber <afaerber@suse.de>
exec.c
linux-user/main.c