Skip to content

Commit

Permalink
MdePkg.dec: RISC-V: Define override bit for Sstc extension
Browse files Browse the repository at this point in the history
Define the BIT 1 as the override bit for Sstc extension. This will be
used by the timer driver to decide whether to use SBI calls or direct
CSR access to configure the timer.

Cc: Liming Gao <[email protected]>
Cc: Michael D Kinney <[email protected]>
Cc: Zhiguang Liu <[email protected]>
Cc: Andrei Warkentin <[email protected]>
Signed-off-by: Sunil V L <[email protected]>
Reviewed-by: Andrei Warkentin <[email protected]>
  • Loading branch information
vlsunil authored and mergify[bot] committed Jan 11, 2024
1 parent 889535c commit fd629ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MdePkg/MdePkg.dec
Original file line number Diff line number Diff line change
Expand Up @@ -2405,6 +2405,8 @@
# Configurability to override RISC-V CPU Features
# BIT 0 = Cache Management Operations. This bit is relevant only if
# previous stage has feature enabled and user wants to disable it.
# BIT 1 = Supervisor Time Compare (Sstc). This bit is relevant only if
# previous stage has feature enabled and user wants to disable it.
#
gEfiMdePkgTokenSpaceGuid.PcdRiscVFeatureOverride|0xFFFFFFFFFFFFFFFF|UINT64|0x69

Expand Down

0 comments on commit fd629ef

Please sign in to comment.