riscv-pk icon indicating copy to clipboard operation
riscv-pk copied to clipboard

Disabling Virtual Memory

Open ibndias opened this issue 4 years ago • 2 comments

Hi, I am new to RISCV is there a way to disable virtual memory address?

Seems like the --disable-vm flag is no longer can be used?

ibndias avatar May 12 '20 08:05 ibndias

Right, it's best not to use pk at all if you don't want to use virtual memory.

aswaterman avatar May 12 '20 08:05 aswaterman

But I need some of its feature, I just want to disable the virtual memory.

Changing the SATP_MODE_SV32 to SATP_MODE_OFF gives me Store/AMO access fault!

Could you tell me which are the parts that I should modify in order to disable vm? Because I still have to use pk

Thanks!

ibndias avatar May 14 '20 23:05 ibndias