mirror of
https://github.com/Fishwaldo/opensbi.git
synced 2025-07-03 19:49:16 +00:00
lib: sbi: Remove stray '\' character
Reviewed-by: Xiang W <wxjstz@126.com> Reviewed-by: Anup Patel <anup.patel@wdc.com> Signed-off-by: Atish Patra <atish.patra@wdc.com>
This commit is contained in:
parent
fde28fadc2
commit
d3a96cc469
1 changed files with 1 additions and 1 deletions
|
@ -320,7 +320,7 @@ static unsigned long hart_pmp_get_allowed_addr(void)
|
|||
unsigned long val = 0;
|
||||
struct sbi_trap_info trap = {0};
|
||||
|
||||
csr_write_allowed(CSR_PMPADDR0, (ulong)&trap, PMP_ADDR_MASK); \
|
||||
csr_write_allowed(CSR_PMPADDR0, (ulong)&trap, PMP_ADDR_MASK);
|
||||
if (!trap.cause) {
|
||||
val = csr_read_allowed(CSR_PMPADDR0, (ulong)&trap);
|
||||
if (trap.cause)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue