aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAtish Patra <atish.patra@wdc.com>2020-03-06 11:44:44 -0800
committerAnup Patel <anup@brainfault.org>2020-03-07 13:15:56 +0530
commit6704216732e528ac99109b8bad401e60c68d6c22 (patch)
tree56a87ece2283dd26d5a1806cdfed10d7b1eaa8d6 /Makefile
parente3f69fc1e934ce7815d9cde2d13dd2038a2894a6 (diff)
lib: Check MSIP bit after returning from WFI
As per the RISC-V privilege specification, WFI can be implemented as a NOP. Software should ensure that relevant interrupt pending bits are set. Otherwise, loop back to WFI. Signed-off-by: Atish Patra <atish.patra@wdc.com> Reviewed-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions