diff options
author | Bin Meng <bmeng@tinylab.org> | 2022-12-21 14:38:06 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2023-01-06 14:56:35 +0300 |
commit | 440fa818fbffd0771d75890c4fcda062ceab7ebd (patch) | |
tree | ddc51462269d7532149eab1bd60000158c37a535 /include/sbi/sbi_domain.h | |
parent | 6b5188ca14e59ce7bf71afe4e7d3d557c3d31bf8 (diff) | |
download | opensbi-440fa818fbffd0771d75890c4fcda062ceab7ebd.tar.xz |
treewide: Replace TRUE/FALSE with true/false
C language standard uses true/false for the boolean type.
Let's switch to that for better language compatibility.
Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Samuel Holland <samuel@sholland.org>
Tested-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'include/sbi/sbi_domain.h')
-rw-r--r-- | include/sbi/sbi_domain.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sbi/sbi_domain.h b/include/sbi/sbi_domain.h index 5553d21..f0d9289 100644 --- a/include/sbi/sbi_domain.h +++ b/include/sbi/sbi_domain.h @@ -113,7 +113,7 @@ extern struct sbi_domain *domidx_to_domain_table[]; * Check whether given HART is assigned to specified domain * @param dom pointer to domain * @param hartid the HART ID - * @return TRUE if HART is assigned to domain otherwise FALSE + * @return true if HART is assigned to domain otherwise false */ bool sbi_domain_is_assigned_hart(const struct sbi_domain *dom, u32 hartid); @@ -148,7 +148,7 @@ void sbi_domain_memregion_init(unsigned long addr, * @param addr the address to be checked * @param mode the privilege mode of access * @param access_flags bitmask of domain access types (enum sbi_domain_access) - * @return TRUE if access allowed otherwise FALSE + * @return true if access allowed otherwise false */ bool sbi_domain_check_addr(const struct sbi_domain *dom, unsigned long addr, unsigned long mode, |