On Tue, 8 Mar 2022 at 07:20, Richard Henderson <richard.hender...@linaro.org> wrote: > > Place the control registers into their own array, env->ctrl[]. > > Use an anonymous union and struct to give the entries in the > array distinct names, so that one may write env->foo instead > of env->ctrl[CR_FOO]. > > Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
Not 100% sold on the union, but Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> thanks -- PMM