]> Git Repo - qemu.git/commit - target-s390x/interrupt.c
target-s390x: Clean up cpu_inject_*() signatures
authorAndreas Färber <[email protected]>
Wed, 30 Jan 2013 12:48:24 +0000 (12:48 +0000)
committerAlexander Graf <[email protected]>
Fri, 1 Feb 2013 01:02:20 +0000 (02:02 +0100)
commitf94667336ecf6566e090a895a37bc06da435d686
treea79088f7bd0e6fc08dfcec334ae3dc4172c4b2bd
parent07cc7d128111958e1079632129b1633cb2a435ec
target-s390x: Clean up cpu_inject_*() signatures

Despite cautioning that S390CPU is needed for upcoming CPUState
refactorings, commit 5d69c547d947798cba92d836d06f6e017ba2b19d (s390:
I/O interrupt and machine check injection.) added functions
cpu_inject_io() and cpu_inject_crw_mchk() with CPUS390XState argument,
claiming consistency with cpu_inject_ext().

This complicates making cpu_interrupt() take a CPUState even more and it
required to pass &cpu->env from some S390CPU-aware call sites already,
creating inconsistency elsewhere. Address that.

This also eliminates the need for CPUS390XState in s390_virtio_irq().

Signed-off-by: Andreas Färber <[email protected]>
Acked-by: Cornelia Huck <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
hw/s390x/s390-virtio-bus.c
target-s390x/cpu.h
target-s390x/helper.c
target-s390x/interrupt.c
This page took 0.026127 seconds and 4 git commands to generate.