Unverified Commit 70b7e9ca authored by Chih-Min Chao's avatar Chih-Min Chao Committed by GitHub
Browse files

mmu: support asid/vmid (#928)



The change makes [v]satp.asid and hgatp.vmid writtable and supports
maximum length for rv32 and rv64. Software could write and read the
satp.asid to get the valid length or check if the core supports
asid/vmid or not.  However, there is no official way to describe this hardware
capability (device tree or something else).  Two implementation flags
are also added for future use and enabled by default.

Signed-off-by: default avatarChih-Min Chao <chihmin.chao@sifive.com>
parent 1767a27a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment