FreeRTOS/Demo/RISC-V_RV64_PolarFire_SoftConsole/polarfire_hal/platform/mpfs_hal/common/mss_plic.h
/***************************************************************************/
/**
 * The function PLIC_CompleteIRQ() indicates to the PLIC controller the
 * interrupt is processed and claim is complete.
 */
The function PLIC_CompleteIRQ() indicates to the PLIC controller the
interrupt is processed and claim is complete.
The function PLIC_CompleteIRQ () indicates to the PLIC controller the interrupt is processed and claim is complete .
static inline void PLIC_CompleteIRQ(uint32_t source)
{
    uint64_t hart_id  = read_csr(mhartid);
    ASSERT(source <= MAX_PLIC_INT);
    PLIC->TARGET[plic_hart_lookup[hart_id]].CLAIM_COMPLETE  = source;
}
static inline void PLIC_CompleteIRQ ( uint32_t source ) { uint64_t hart_id = read_csr ( mhartid ) ; ASSERT ( source <= MAX_PLIC_INT ) ; PLIC -> TARGET [ plic_hart_lookup [ hart_id ] ] . CLAIM_COMPLETE = source ; }
The function PLIC_CompleteIRQ() indicates to the PLIC controller the
 interrupt is processed and claim is complete.
The function PLIC_CompleteIRQ () indicates to the PLIC controller the interrupt is processed and claim is complete .