Re: [RFC PATCH 28/34] accel/tcg: Make plugin-gen.c target independent

2024-01-23 Thread Richard Henderson
On 1/20/24 00:40, Anton Johansson wrote: Switches computation of offsets into CPUState to use that the offset between CPUState and CPUArchState is guaranteed to be sizeof(CPUState). Signed-off-by: Anton Johansson --- accel/tcg/plugin-gen.c | 15 +++ 1 file changed, 7 insertions(+)

[RFC PATCH 28/34] accel/tcg: Make plugin-gen.c target independent

2024-01-19 Thread Anton Johansson via
Switches computation of offsets into CPUState to use that the offset between CPUState and CPUArchState is guaranteed to be sizeof(CPUState). Signed-off-by: Anton Johansson --- accel/tcg/plugin-gen.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/accel/tcg/plu