mirror of
https://github.com/Fishwaldo/opensbi.git
synced 2025-06-25 07:39:44 +00:00
lib: utils: Remove redundant parameters from PLIC init functions
The "target_hart" and "hart_count" parameters of PLIC cold and warm init functions are only used for sanity checks and not required in PLIC initialization. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
This commit is contained in:
parent
89ba63493c
commit
73d6ef3b29
10 changed files with 22 additions and 48 deletions
|
@ -12,9 +12,9 @@
|
|||
|
||||
#include <sbi/sbi_types.h>
|
||||
|
||||
int plic_warm_irqchip_init(u32 target_hart, int m_cntx_id, int s_cntx_id);
|
||||
int plic_warm_irqchip_init(int m_cntx_id, int s_cntx_id);
|
||||
|
||||
int plic_cold_irqchip_init(unsigned long base, u32 num_sources, u32 hart_count);
|
||||
int plic_cold_irqchip_init(unsigned long base, u32 num_sources);
|
||||
|
||||
void plic_set_thresh(u32 cntxid, u32 val);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue