Closed gagachang closed 9 months ago
According to pointer-masking-proposal, Some of PM CSRs are defined in the address:
But accroding to the privileged spec, these address have already been used for pmpaddr16, pmpaddr17, and pmpaddr18, respectively.
And the CSRs are already defined into QEMU: https://github.com/qemu/qemu/blob/master/target/riscv/csr.c#L4403 Is this pointer-masking-proposal in WIP? Or it has been deprecated.
The latest version of pointer masking no longer introduces dedicated CSRs but uses bits in existing CSRs.
According to pointer-masking-proposal, Some of PM CSRs are defined in the address:
PM CSR name | Address -- | -- MMTE | 0x3c0 MPMMASK | 0x3c1 MPMBASE | 0x3c2But accroding to the privileged spec, these address have already been used for pmpaddr16, pmpaddr17, and pmpaddr18, respectively.
And the CSRs are already defined into QEMU: https://github.com/qemu/qemu/blob/master/target/riscv/csr.c#L4403 Is this pointer-masking-proposal in WIP? Or it has been deprecated.