diff options
author | Daniel Henrique Barboza <dbarboza@ventanamicro.com> | 2024-01-05 20:05:34 -0300 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2024-02-09 10:46:42 +1000 |
commit | 11097be4a571f80b387ab12381fd308eec13dfe7 (patch) | |
tree | 996dd56dd49ac3a4cd91dc38a6067d96bbd5c369 /event-loop-base.c | |
parent | d06f28db60c536b9d7f159adedca397979f6e5ca (diff) |
target/riscv: move 'pmp' to riscv_cpu_properties[]
Move 'pmp' to riscv_cpu_properties[], creating a new setter() for it
that forbids 'pmp' to be changed in vendor CPUs, like we did with the
'mmu' option.
We'll also have to manually set 'pmp = true' to generic CPUs that were
still relying on the previous default to set it.
Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Tested-by: Vladimir Isaev <vladimir.isaev@syntacore.com>
Message-ID: <20240105230546.265053-6-dbarboza@ventanamicro.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'event-loop-base.c')
0 files changed, 0 insertions, 0 deletions