diff options
author | Samuel Holland <samuel@sholland.org> | 2022-06-12 20:03:47 -0500 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2022-06-13 11:54:06 +0530 |
commit | b20ed9febe0b78228055ce69d8e3fbb13f64f1cc (patch) | |
tree | e1d0a3f7dfcf5342ec85d1e0f786e6a90a7e5f68 /lib/utils/irqchip/plic.c | |
parent | ce1d6188a2169c7771af1189cc8332e7a394cd19 (diff) | |
download | opensbi-b20ed9febe0b78228055ce69d8e3fbb13f64f1cc.zip opensbi-b20ed9febe0b78228055ce69d8e3fbb13f64f1cc.tar.gz opensbi-b20ed9febe0b78228055ce69d8e3fbb13f64f1cc.tar.bz2 |
lib: sbi_hsm: Call a device hook during hart resume
Non-retentive suspend states may require platform-specific actions
during resume. For example, firmware may need to save and restore the
values of custom CSRs. Add a hook to support this.
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'lib/utils/irqchip/plic.c')
0 files changed, 0 insertions, 0 deletions