mirror of https://github.com/acidanthera/audk.git
MdePkg/Register: RISC-V: Add satp mode bits shift definition
The satp mode bits shift is used cross modules. It should be defined in one place. Signed-off-by: Tuan Phan <tphan@ventanamicro.com> Reviewed-by: Andrei Warkentin <andrei.warkentin@intel.com> Reviewed-by: Sunil V L <sunilvl@ventanamicro.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
This commit is contained in:
parent
7178047402
commit
fbec9aec00
|
@ -59,6 +59,7 @@
|
|||
#define PRV_M 3UL
|
||||
|
||||
#define SATP64_MODE 0xF000000000000000ULL
|
||||
#define SATP64_MODE_SHIFT 60
|
||||
#define SATP64_ASID 0x0FFFF00000000000ULL
|
||||
#define SATP64_PPN 0x00000FFFFFFFFFFFULL
|
||||
|
||||
|
|
Loading…
Reference in New Issue