mirror of
https://github.com/Fishwaldo/opensbi.git
synced 2025-07-22 21:08:41 +00:00
Write MSIP by using memory-mapped control register
The machine-level MSIP bits are written by accesses to memory-mapped control registers. Only use CSR instruction for SSIP and USIP. There is no effect that using CSR instruction to write MSIP when testing on unleashed board and QEMU. Signed-off-by: Zong Li <zong.li@sifive.com> Reviewed-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
parent
0a482e2edb
commit
1ed9eb255d
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ void sbi_hart_wait_for_coldboot(struct sbi_scratch *scratch, u32 hartid)
|
|||
spin_unlock(&coldboot_wait_bitmap_lock);
|
||||
} while (!(mipval & MIP_MSIP));
|
||||
|
||||
csr_clear(CSR_MIP, MIP_MSIP);
|
||||
sbi_platform_ipi_clear(plat, hartid);
|
||||
}
|
||||
|
||||
void sbi_hart_wake_coldboot_harts(struct sbi_scratch *scratch, u32 hartid)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue