softmmu templates: optionally pass CPUState to memory access functions
commite141ab52d2ea5d0bc6ad3b1ad32841127ca04adc
authorBlue Swirl <blauwirbel@gmail.com>
Sun, 18 Sep 2011 14:55:46 +0000 (18 14:55 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 18 Mar 2012 12:21:52 +0000 (18 12:21 +0000)
tree9290ef9ce78430649ba092b1c755577c48bcf81c
parent6a18ae2d2947532d5c26439548afa0481c4529f9
softmmu templates: optionally pass CPUState to memory access functions

Optionally, make memory access helpers take a parameter for CPUState
instead of relying on global env.

On most targets, perform simple moves to reorder registers. On i386,
switch from regparm(3) calling convention to standard stack-based
version.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
16 files changed:
cpu-all.h
exec-all.h
exec.c
softmmu_defs.h
softmmu_header.h
softmmu_template.h
tcg/arm/tcg-target.c
tcg/hppa/tcg-target.c
tcg/i386/tcg-target.c
tcg/ia64/tcg-target.c
tcg/mips/tcg-target.c
tcg/ppc/tcg-target.c
tcg/ppc64/tcg-target.c
tcg/s390/tcg-target.c
tcg/sparc/tcg-target.c
tcg/tci/tcg-target.c