diff options
| author | Bo Gan <[email protected]> | 2025-12-18 02:42:37 -0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2025-12-21 20:33:16 +0530 |
| commit | 707aa3231af8c19779e8ca07a950c3a6b331489a (patch) | |
| tree | cd6edff4134ae4aa14529ae7cf49dc236ac91d74 /include | |
| parent | 111738090c6cdf2d852717b3ad15b65e2085d237 (diff) | |
lib: sbi_hart_pmp: make sbi_hart_pmp_fence public
sbi_hart_pmp_fence can now be utilized by other hart-protection
implementation.
Signed-off-by: Bo Gan <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sbi/sbi_hart_pmp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sbi/sbi_hart_pmp.h b/include/sbi/sbi_hart_pmp.h index f54e8b2a..a7765d17 100644 --- a/include/sbi/sbi_hart_pmp.h +++ b/include/sbi/sbi_hart_pmp.h @@ -15,6 +15,7 @@ unsigned int sbi_hart_pmp_count(struct sbi_scratch *scratch); unsigned int sbi_hart_pmp_log2gran(struct sbi_scratch *scratch); unsigned int sbi_hart_pmp_addrbits(struct sbi_scratch *scratch); bool sbi_hart_smepmp_is_fw_region(unsigned int pmp_idx); +void sbi_hart_pmp_fence(void); int sbi_hart_pmp_init(struct sbi_scratch *scratch); #endif |
