aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xarray.c
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2022-02-10 05:49:42 +0000
committerPalmer Dabbelt <[email protected]>2022-03-10 17:29:31 +0000
commit63b13e64a829e7b12fba81fccbea0d5448fc0c24 (patch)
tree569b041c77fb2352a8890b5cdac5cedce6d04d88 /lib/xarray.c
parentRISC-V: Rename relocate() and make it global (diff)
downloadkernel-63b13e64a829e7b12fba81fccbea0d5448fc0c24.tar.gz
kernel-63b13e64a829e7b12fba81fccbea0d5448fc0c24.zip
RISC-V: Add arch functions for non-retentive suspend entry/exit
The hart registers and CSRs are not preserved in non-retentative suspend state so we provide arch specific helper functions which will save/restore hart context upon entry/exit to non-retentive suspend state. These helper functions can be used by cpuidle drivers for non-retentive suspend entry/exit. Signed-off-by: Anup Patel <[email protected]> Signed-off-by: Anup Patel <[email protected]> Reviewed-by: Guo Ren <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions