riscv: Add DEFINE_MPRV_READ_MXR to read execution-only page

Hardware / Coreboot - Xiang Wang [126.com] - 4 September 2018 12:35 EDT

Must to set MXR, when needs to read the page which is execution-only. So make this change.

Change-Id: I19519782fe791982a8fbd48ef33b5a92a3c48bfc

33354ddaa8 riscv: Add DEFINE_MPRV_READ_MXR to read execution-only page
src/arch/riscv/include/vm.h | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)

Upstream: review.coreboot.org


  • Share