Re: [PATCH v3 13/14] arm/cpu: Add sysreg generation scripts

2025-04-05 Thread Sebastian Ott
On Tue, 11 Mar 2025, Cornelia Huck wrote: +++ b/scripts/gen-cpu-sysregs-header.awk [...] +BEGIN { +print "" +} END { +print "" +} + +# skip blank lines and comment lines +/^$/ { next } +/^[\t ]*#/ { next } + +/^Sysreg\t/ || /^Sysreg /{ + + reg = $2 + op0 = $3 + op1 = $

Re: [PATCH v3 13/14] arm/cpu: Add sysreg generation scripts

2025-03-21 Thread Cornelia Huck
On Thu, Mar 20 2025, Sebastian Ott wrote: > On Tue, 11 Mar 2025, Cornelia Huck wrote: >> +++ b/scripts/gen-cpu-sysregs-header.awk > [...] >> +BEGIN { >> +print "" >> +} END { >> +print "" >> +} >> + >> +# skip blank lines and comment lines >> +/^$/ { next } >> +/^[\t ]*#/ { next } >> + >>

[PATCH v3 13/14] arm/cpu: Add sysreg generation scripts

2025-03-11 Thread Cornelia Huck
From: Eric Auger Introduce scripts that automate the generation of system register definitions from a given linux source tree arch/arm64/tools/sysreg. Invocation of ./update-aarch64-sysreg-code.sh $PATH_TO_LINUX_SOURCE_TREE in scripts directory generates target/arm/cpu-sysregs.h.inc containing d