mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-24 15:31:22 +01:00
include: sbi: macros for mseccfg.sseed and .useed
Define macros to access the sseed and the useed bit in the machine security configuration register (mseccfg). Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Xiang W <wxjstz@126.com> Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:

committed by
Anup Patel

parent
2bfdb9e5c2
commit
280f7ae627
@@ -678,6 +678,10 @@
|
||||
#define MSECCFG_MMWP (_UL(1) << MSECCFG_MMWP_SHIFT)
|
||||
#define MSECCFG_RLB_SHIFT (2)
|
||||
#define MSECCFG_RLB (_UL(1) << MSECCFG_RLB_SHIFT)
|
||||
#define MSECCFG_USEED_SHIFT (8)
|
||||
#define MSECCFG_USEED (_UL(1) << MSECCFG_USEED_SHIFT)
|
||||
#define MSECCFG_SSEED_SHIFT (9)
|
||||
#define MSECCFG_SSEED (_UL(1) << MSECCFG_SSEED_SHIFT)
|
||||
|
||||
/* Counter Overflow CSR */
|
||||
#define CSR_SCOUNTOVF 0xda0
|
||||
|
Reference in New Issue
Block a user