qemu/target-openrisc
Lluís Vilanova 1bcea73e13 tcg: Add type for vCPU pointers
Adds the 'TCGv_env' type for pointers to 'CPUArchState' objects. The
tracing infrastructure later needs to differentiate between regular
pointers and pointers to vCPUs.

Also changes all targets to use the new 'TCGv_env' type instead of the
generic 'TCGv_ptr'. As of now, the change is merely cosmetic ('TCGv_env'
translates into 'TCGv_ptr'), but that could change in the future to
enforce the difference.

Note that a 'TCGv_env' type (for 'CPUState') is not added, since all
helpers currently receive the architecture-specific
pointer ('CPUArchState').

Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
Acked-by: Richard Henderson <rth@twiddle.net>
Message-id: 145641859552.30295.7821536833590725201.stgit@localhost
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2016-03-01 13:27:09 +00:00
..
cpu.c openrisc: Clean up includes 2016-01-29 15:07:24 +00:00
cpu.h all: Clean up includes 2016-02-23 12:43:05 +00:00
exception_helper.c openrisc: Clean up includes 2016-01-29 15:07:24 +00:00
exception.c openrisc: Clean up includes 2016-01-29 15:07:24 +00:00
exception.h target-or32: Add exception support 2012-07-27 21:12:58 +00:00
fpu_helper.c openrisc: Clean up includes 2016-01-29 15:07:24 +00:00
gdbstub.c openrisc: Clean up includes 2016-01-29 15:07:24 +00:00
helper.h tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
int_helper.c openrisc: Clean up includes 2016-01-29 15:07:24 +00:00
interrupt_helper.c openrisc: Clean up includes 2016-01-29 15:07:24 +00:00
interrupt.c openrisc: Clean up includes 2016-01-29 15:07:24 +00:00
machine.c openrisc: Clean up includes 2016-01-29 15:07:24 +00:00
Makefile.objs cpu: Introduce CPUClass::gdb_{read,write}_register() 2013-07-27 00:04:17 +02:00
mmu_helper.c openrisc: Clean up includes 2016-01-29 15:07:24 +00:00
mmu.c openrisc: Clean up includes 2016-01-29 15:07:24 +00:00
sys_helper.c openrisc: Clean up includes 2016-01-29 15:07:24 +00:00
translate.c tcg: Add type for vCPU pointers 2016-03-01 13:27:09 +00:00