Removing writes to read-only PLIC interrupt pending registers.

Signed-off-by: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>
This commit is contained in:
Yuhui Zheng
2020-04-02 20:26:10 -07:00
parent 5b9777e11e
commit fa74f7dccf

View File

@ -141,10 +141,6 @@ struct metal_interrupt *pxInterruptController;
/* Set all interrupt enable bits to 0. */
mainPLIC_ENABLE_0 = 0UL;
mainPLIC_ENABLE_1 = 0UL;
/* Clear all pending interrupts. */
mainPLIC_PENDING_0 = 0UL;
mainPLIC_PENDING_1 = 0UL;
}
/*-----------------------------------------------------------*/