On Thu, Aug 24, 2023 at 07:14:36PM -0300, Daniel Henrique Barboza wrote: > Let's change the other instances in realize() where we're enabling an > extension based on a certain criteria (e.g. it's a dependency of another > extension). > > We're leaving icsr and ifencei being enabled during RVG for later - > we'll want to error out in that case. Every other extension enablement > during realize is now done via cpu_cfg_ext_auto_update(). > > The end goal is that only cpu init() functions will handle extension > flags directly via "cpu->cfg.ext_N = true|false". > > Signed-off-by: Daniel Henrique Barboza <dbarb...@ventanamicro.com> > Reviewed-by: Alistair Francis <alistair.fran...@wdc.com> > --- > target/riscv/cpu.c | 50 +++++++++++++++++++++++----------------------- > 1 file changed, 25 insertions(+), 25 deletions(-) >
Reviewed-by: Andrew Jones <ajo...@ventanamicro.com>