summaryrefslogtreecommitdiff
path: root/lib/utils/timer
diff options
context:
space:
mode:
authorAtish Patra <[email protected]>2020-04-03 11:13:08 -0700
committerAnup Patel <[email protected]>2020-04-06 08:58:56 +0530
commitf281de885ec9417a6d3ae702d0ed5acab6396bee (patch)
treec67743b7504f94e18ce5c4efb3a84a9383a7dfa0 /lib/utils/timer
parente5a7f556ce22984128bed0a336551a968c818450 (diff)
lib: irqchip/plic: Fix maximum priority threshold value
As per the PLIC specification, maximum priority threshold value is 0x7. Even though, writing a higher value doesn't cause any error in qemu hifive unleashed, there may be some implementation which checks the upper and may result in an illegal access. Signed-off-by: Atish Patra <[email protected]> Reviewed-by: Bin Meng <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/timer')
0 files changed, 0 insertions, 0 deletions