On Tue, 19 May 2026, Eric Auger wrote:
From: Shaju Abraham <[email protected]>
Include cpu-idregs.h.inc multiple times with different definitions for the
X-macros. This will generate tables for all Arm64 ID registers and their
fields. Additionally, initialize the tables with all architecturally defined
values. These tables will be consumed by the property layer in future
patches.
Co-authored-by: Khushit Shah <[email protected]>
Signed-off-by: Shaju Abraham <[email protected]>
Signed-off-by: Eric Auger <[email protected]>
---
target/arm/cpu-idregs.c | 50 +++++++++++++++++++++++++++++++++++++++++
target/arm/meson.build | 1 +
2 files changed, 51 insertions(+)
create mode 100644 target/arm/cpu-idregs.c
diff --git a/target/arm/cpu-idregs.c b/target/arm/cpu-idregs.c
new file mode 100644
index 0000000000..f79b22680c
--- /dev/null
+++ b/target/arm/cpu-idregs.c
@@ -0,0 +1,50 @@
+/*
+ * ARM ID register field table.
+ *
+ * Builds the per-id-register field descriptor arrays and the global
+ * arm_idregs[] table.
arm64_id_regs[]
Reviewed-by: Sebastian Ott <[email protected]>