Re: [PATCH 10/13] target: Use CPUArchState as interface to target-specific CPU state

2022-02-09 Thread Philippe Mathieu-Daudé via
On 8/2/22 23:40, Richard Henderson wrote: On 2/9/22 02:22, Philippe Mathieu-Daudé wrote: While CPUState is our interface with generic code, CPUArchState is our interface with target-specific code. Use CPUArchState as an abstract type, defined by each target. Signed-off-by: Philippe Mathieu-Daud

Re: [PATCH 10/13] target: Use CPUArchState as interface to target-specific CPU state

2022-02-08 Thread Richard Henderson
On 2/9/22 02:22, Philippe Mathieu-Daudé wrote: While CPUState is our interface with generic code, CPUArchState is our interface with target-specific code. Use CPUArchState as an abstract type, defined by each target. Signed-off-by: Philippe Mathieu-Daudé --- include/exec/poison.h | 2 -- i

[PATCH 10/13] target: Use CPUArchState as interface to target-specific CPU state

2022-02-08 Thread Philippe Mathieu-Daudé via
While CPUState is our interface with generic code, CPUArchState is our interface with target-specific code. Use CPUArchState as an abstract type, defined by each target. Signed-off-by: Philippe Mathieu-Daudé --- include/exec/poison.h | 2 -- include/hw/core/cpu.h | 2 +- include/qemu/typedef