Re: [PATCH v2 10/11] target/riscv: remove RISCV_FEATURE_MMU

2023-02-15 Thread Bin Meng
On Wed, Feb 15, 2023 at 3:27 AM Daniel Henrique Barboza wrote: > > RISCV_FEATURE_MMU is set whether cpu->cfg.mmu is set, so let's just use > the flag directly instead. > > With this change the enum is also removed. It is worth noticing that > this enum, and all the RISCV_FEATURES_* that were conta

[PATCH v2 10/11] target/riscv: remove RISCV_FEATURE_MMU

2023-02-14 Thread Daniel Henrique Barboza
RISCV_FEATURE_MMU is set whether cpu->cfg.mmu is set, so let's just use the flag directly instead. With this change the enum is also removed. It is worth noticing that this enum, and all the RISCV_FEATURES_* that were contained in it, predates the existence of the cpu->cfg object. Today, using cpu