Home
last modified time | relevance | path

Searched hist:ea3e9847 (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/bsd-user/
H A Dmain.cea3e9847 Thu Jun 18 12:24:55 CDT 2015 Peter Crosthwaite <crosthwaitepeter@gmail.com> cpu-exec: Purge all uses of ENV_GET_CPU()

Remove un-needed usages of ENV_GET_CPU() by converting the APIs to use
CPUState pointers and retrieving the env_ptr as minimally needed.

Scripted conversion for target-* change:

for I in target-*/cpu.h; do
sed -i \
's/\(^int cpu_[^_]*_exec(\)[^ ][^ ]* \*s);$/\1CPUState *cpu);/' \
$I;
done

Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
/openbmc/qemu/linux-user/
H A Dmain.cea3e9847 Thu Jun 18 12:24:55 CDT 2015 Peter Crosthwaite <crosthwaitepeter@gmail.com> cpu-exec: Purge all uses of ENV_GET_CPU()

Remove un-needed usages of ENV_GET_CPU() by converting the APIs to use
CPUState pointers and retrieving the env_ptr as minimally needed.

Scripted conversion for target-* change:

for I in target-*/cpu.h; do
sed -i \
's/\(^int cpu_[^_]*_exec(\)[^ ][^ ]* \*s);$/\1CPUState *cpu);/' \
$I;
done

Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>