mirror of
https://github.com/Fishwaldo/opensbi.git
synced 2025-06-27 16:48:50 +00:00
include: sbi: fix CSR define of mseccfg
Because the CSR names in the spec are mseccfg and mseccfgh. Remove CSR_MSECCFG_LOWER and CSR_MSECCFG_UPPER and directly define CSR_MSECCFG and CSR_MSECCFGH. Signed-off-by: Xiang W <wxjstz@126.com> Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
parent
e05a9cfefc
commit
5e20d25f19
1 changed files with 2 additions and 3 deletions
|
@ -664,9 +664,8 @@
|
|||
#define CSR_MHPMEVENT31H 0x73f
|
||||
|
||||
/* Machine Security Configuration CSR (mseccfg) */
|
||||
#define CSR_MSECCFG_LOWER 0x747
|
||||
#define CSR_MSECCFG_UPPER 0x757
|
||||
#define CSR_MSECCFG (CSR_MSECCFG_LOWER)
|
||||
#define CSR_MSECCFG 0x747
|
||||
#define CSR_MSECCFGH 0x757
|
||||
|
||||
#define MSECCFG_MML_SHIFT (0)
|
||||
#define MSECCFG_MML (_UL(1) << MSECCFG_MML_SHIFT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue