rsd-devel / rsd

RSD: RISC-V Out-of-Order Superscalar Processor
Apache License 2.0
934 stars 95 forks source link

Can RSD set the access permissions on a certain memory address? #44

Closed Hsiang0816 closed 2 years ago

Hsiang0816 commented 2 years ago

Hi,

I have seen the operation of RSD in memory mapping, and it seems to use simple static address translation instead of a mechanism like Page table. So is RSD unable to set memory permissions like the page table mechanism? Or does RSD have other methods to support memory permissions?

Thank you!

shioyadan commented 2 years ago

Hi,

We have a plan to implement page protection in the future, but the current RSD only has a simple static protection mechanism. The simple mechanism does not allow you to dynamically change areas to be protected, but you can hardcode areas to be protected in HDL to provide fine-grained memory protection.

Hsiang0816 commented 2 years ago

Okay, Thank!