mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-06-26 03:08:27 +08:00
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:
@ -141,10 +141,6 @@ struct metal_interrupt *pxInterruptController;
|
|||||||
/* Set all interrupt enable bits to 0. */
|
/* Set all interrupt enable bits to 0. */
|
||||||
mainPLIC_ENABLE_0 = 0UL;
|
mainPLIC_ENABLE_0 = 0UL;
|
||||||
mainPLIC_ENABLE_1 = 0UL;
|
mainPLIC_ENABLE_1 = 0UL;
|
||||||
|
|
||||||
/* Clear all pending interrupts. */
|
|
||||||
mainPLIC_PENDING_0 = 0UL;
|
|
||||||
mainPLIC_PENDING_1 = 0UL;
|
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user