Function hart_to_plic_context_id

Source
pub fn hart_to_plic_context_id(_hart_id: usize) -> usize
Expand description

Get the ID of the PLIC context corresponding to the S-mode interrupt target for the given HART ID. The mapping between these IDs is platform-specific, but might have a better conversion mechanism in the future.