History | View | Annotate | Download (2.1 kB)
target-openrisc: Clean up triple QOM casts
Instead of calling openrisc_env_get_cpu(), casting to CPU via theENV_GET_CPU() compatibility macro and casting back to OPENRISC_CPU(),just call openrisc_env_get_cpu() directly.
ENV_GET_CPU() is meant as workaround for target-independent code only....
misc: move include files to include/qemu/
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target-or32: Add int instruction helpers
Add OpenRISC int instruction helpers.
Signed-off-by: Jia Liu <proljc@gmail.com>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>