mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-25 07:41:42 +01:00
lib: sbi/sbi_domain: cosmetic style fixes
Minor updates to the comments for language and style fixes. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
@@ -337,7 +337,7 @@ static int sanitize_domain(const struct sbi_platform *plat,
|
|||||||
/*
|
/*
|
||||||
* Check next mode
|
* Check next mode
|
||||||
*
|
*
|
||||||
* We only allow next mode to be S-mode or U-mode.so that we can
|
* We only allow next mode to be S-mode or U-mode, so that we can
|
||||||
* protect M-mode context and enforce checks on memory accesses.
|
* protect M-mode context and enforce checks on memory accesses.
|
||||||
*/
|
*/
|
||||||
if (dom->next_mode != PRV_S &&
|
if (dom->next_mode != PRV_S &&
|
||||||
|
Reference in New Issue
Block a user