mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
Rename CPUState -> CPUArchState
Scripted conversion: for file in *.[hc] hw/*.[hc] hw/kvm/*.[hc] linux-user/*.[hc] linux-user/m68k/*.[hc] bsd-user/*.[hc] darwin-user/*.[hc] tcg/*/*.[hc] target-*/cpu.h; do sed -i "s/CPUState/CPUArchState/g" $file done All occurrences of CPUArchState are expected to be replaced by QOM CPUState, once all targets are QOM'ified and common fields have been extracted. Signed-off-by: Andreas Färber <afaerber@suse.de> Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
5bfcb36ec4
commit
9349b4f9fd
59 changed files with 419 additions and 419 deletions
|
@ -38,7 +38,7 @@
|
|||
|
||||
//#define DEBUG_SIGNAL
|
||||
|
||||
static void exception_action(CPUState *env1)
|
||||
static void exception_action(CPUArchState *env1)
|
||||
{
|
||||
#if defined(TARGET_I386)
|
||||
raise_exception_err_env(env1, env1->exception_index, env1->error_code);
|
||||
|
@ -50,7 +50,7 @@ static void exception_action(CPUState *env1)
|
|||
/* exit the current TB from a signal handler. The host registers are
|
||||
restored in a state compatible with the CPU emulator
|
||||
*/
|
||||
void cpu_resume_from_signal(CPUState *env1, void *puc)
|
||||
void cpu_resume_from_signal(CPUArchState *env1, void *puc)
|
||||
{
|
||||
#ifdef __linux__
|
||||
struct ucontext *uc = puc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue