diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/sbi/sbi_domain.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sbi/sbi_domain.h b/include/sbi/sbi_domain.h index 1196d609..3360e090 100644 --- a/include/sbi/sbi_domain.h +++ b/include/sbi/sbi_domain.h @@ -254,6 +254,13 @@ void sbi_domain_memregion_init(unsigned long addr, struct sbi_domain_memregion *reg); /** + * Return the oldpmp pmpcfg LRWX encoding for the flags in @reg. + * + * @param reg pointer to memory region; its flags field encodes permissions. + */ +unsigned int sbi_domain_get_oldpmp_flags(struct sbi_domain_memregion *reg); + +/** * Return the Smepmp pmpcfg LRWX encoding for the flags in @reg. * * @param reg pointer to memory region; its flags field encodes permissions. |
