On Tue, 8 Mar 2022 at 07:20, Richard Henderson <[email protected]> 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 <[email protected]>
Not 100% sold on the union, but Reviewed-by: Peter Maydell <[email protected]> thanks -- PMM
