summaryrefslogtreecommitdiff
path: root/lib/utils/timer
diff options
context:
space:
mode:
authorSamuel Holland <[email protected]>2022-06-12 20:03:52 -0500
committerAnup Patel <[email protected]>2022-06-13 11:54:06 +0530
commit2b79b694a80513696daf072db0fd980e7573b212 (patch)
tree7e64f4ba642d226c35a0726f35841ed23bdb5644 /lib/utils/timer
parent415ecf28f7ade7ba5a48a0cc9be8d45a7539dd89 (diff)
lib: irqchip/plic: Add priority save/restore helpers
These can be used by platform code to save the PLIC priority state, if it would otherwise be lost during non-retentive suspend. The platform is responsible for allocating all necessary storage. As a space optimization, store the saved priority values as 8-bit integers, since that is large enough to hold any priority value on the relevant platforms. Reviewed-by: Anup Patel <[email protected]> Signed-off-by: Samuel Holland <[email protected]>
Diffstat (limited to 'lib/utils/timer')
0 files changed, 0 insertions, 0 deletions