Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling Virtual Memory #200

Open
ibndias opened this issue May 12, 2020 · 2 comments
Open

Disabling Virtual Memory #200

ibndias opened this issue May 12, 2020 · 2 comments

Comments

@ibndias
Copy link

ibndias commented May 12, 2020

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?

@aswaterman
Copy link
Collaborator

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

@ibndias
Copy link
Author

ibndias commented May 14, 2020

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants