]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm/hvf: Reorder DEF_SYSREG arguments
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 16 Sep 2025 14:22:05 +0000 (07:22 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 25 Sep 2025 14:42:34 +0000 (15:42 +0100)
commit8da60618b6d2ee7cdd73d58e9f0b670c021a6bd0
treebbcb125dfdb5bbc22a0caa83fe432f767b1ed8ed
parenta648af4885b1a344394a98cf298a9485f5232b4b
target/arm/hvf: Reorder DEF_SYSREG arguments

The order of the parameters in the Arm ARM is

  op0, op1, crn, crm, op2

Reorder the arguments of DEF_SYSREG to match.
Mechanical change to sysreg.c.inc using

  sed 's/\([^,]*\),\([^,]*\),\([^,]*\),\([^,]*\),\([^,]*\)/\1,\4,\5,\2,\3/'

Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/hvf/hvf.c
target/arm/hvf/sysreg.c.inc