Merge branch 'BernardXiong-patch-1' into v0.5.0rc

This commit is contained in:
Huang Rui 2018-11-02 21:17:46 +08:00
commit db5bcf28da
1 changed files with 2 additions and 1 deletions

View File

@ -155,7 +155,8 @@ void plic_irq_deregister(plic_irq_t irq)
}
/*Entry Point for PLIC Interrupt Handler*/
uintptr_t handle_irq_m_ext(uintptr_t cause, uintptr_t epc)
uintptr_t __attribute__((weak))
handle_irq_m_ext(uintptr_t cause, uintptr_t epc)
{
/*
* After the highest-priority pending interrupt is claimed by a target