summaryrefslogtreecommitdiff
path: root/lib/utils/timer/objects.mk
diff options
context:
space:
mode:
authorNylon Chen <[email protected]>2023-02-10 16:52:38 +0800
committerAnup Patel <[email protected]>2023-02-27 11:22:11 +0530
commit30ea8069f4c704e67017215f90f74b8588ee9bdf (patch)
tree389237de2dabdc8e54ab040c039b76846fa6fbb1 /lib/utils/timer/objects.mk
parent4f2be401025d7f5095dd2a4d2acad0fa60ef15e0 (diff)
lib: sbi_hart: Enable hcontext and scontext
According to the description in "riscv-state-enable[0]", to access h/scontext in S-Mode, we need to enable the 57th bit. If it is not enabled, an "illegal instruction" error will occur. Link: https://github.com/riscv/riscv-state-enable/blob/a28bfae443f350d5b4c42874f428367d5b322ffe/content.adoc [0] Signed-off-by: Nylon Chen <[email protected]> Reviewed-by: Zong Li <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/timer/objects.mk')
0 files changed, 0 insertions, 0 deletions