Removing writes to read-only PLIC interrupt pending registers.

Signed-off-by: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>
pull/48/head
Yuhui Zheng 5 years ago
parent 5b9777e11e
commit fa74f7dccf

@ -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;
}
/*-----------------------------------------------------------*/

Loading…
Cancel
Save