diff options
| author | kenneth.liu <[email protected]> | 2025-01-03 20:47:02 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2025-01-16 09:03:26 +0800 |
| commit | 95064ed44900815a9ef823bfbeb29768d9acb46a (patch) | |
| tree | e789c849cfae23d77ae2089b2592b4ceefd0357b /components/net/netdev | |
| parent | 37908818a0a26977310c593989e9e27c93e4b4e7 (diff) | |
bsp: cvitek: fix bug in setting PLIC_PRIORITY[n]
description: In the bsp/cvitek/c906_little/board/interrupt.c, There is an issue with
setting the PLIC_PRIORITY[n].
analysis: PLIC_PRIORITY[n] each register corresponds to the priority of
a hardware interrupt number.
Solution: Each register is 4 bytes.
Multiply the total number of IRQs by 4 instead of dividing by 4.
Signed-off-by: Liu Gui <[email protected]>
Diffstat (limited to 'components/net/netdev')
0 files changed, 0 insertions, 0 deletions
