Commit 9af85e39 authored by Anup Patel's avatar Anup Patel Committed by Anup Patel
Browse files

Implement hypervisor CSRs read/write



We add newly defined hypervisor CSRs and allow M/HS-mode to access
these CSRs. The MRET, SRET, ECALL and WFI instructions have also
been updated so that virt-to-novirt switch and exception cause is
based on HART virtualization state.

Subsequent patches will implement two-stage page tables, HFENCE
instructions and HSV/HLV instructions.

Signed-off-by: default avatarAnup Patel <anup.patel@wdc.com>
parent b6038de3
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