diff options
author | Panagiotis Peristerakis <perister@ics.forth.gr> | 2019-06-21 11:47:35 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2019-06-29 14:34:06 +0300 |
commit | c6d06a94486479bf36f5325d83847d478907195a (patch) | |
tree | 56dcbb61493a60bc79eb46bd8650196515ed21b9 /include | |
parent | 65aa5873c377cfd01f4923e02871e401be644162 (diff) | |
download | opensbi-c6d06a94486479bf36f5325d83847d478907195a.tar.xz |
Changed plic_set_thresh() and plic_set_ie() to public
Signed-off-by: Panagiotis Peristerakis <perister@ics.forth.gr>
Diffstat (limited to 'include')
-rw-r--r-- | include/sbi_utils/irqchip/plic.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sbi_utils/irqchip/plic.h b/include/sbi_utils/irqchip/plic.h index eb97123..8d6cefa 100644 --- a/include/sbi_utils/irqchip/plic.h +++ b/include/sbi_utils/irqchip/plic.h @@ -18,4 +18,8 @@ int plic_warm_irqchip_init(u32 target_hart, int m_cntx_id, int s_cntx_id); int plic_cold_irqchip_init(unsigned long base, u32 num_sources, u32 hart_count); +void plic_set_thresh(u32 cntxid, u32 val); + +void plic_set_ie(u32 cntxid, u32 word_index, u32 val); + #endif |