89f3492919
Version 0.2 of the SBI specification [1] marked the existing SBI functions as "legacy" in order to move to a newer calling convention. It also introduced a set of replacement extensions for some of the legacy functionality. In particular, the TIME, IPI, and RFENCE extensions implement and extend the semantics of their legacy counterparts, while conforming to the newer version of the spec. Update our SBI code to use the new replacement extensions when available, and fall back to the legacy ones. These will eventually be dropped, when support for version 0.2 is ubiquitous. [1] https://github.com/riscv/riscv-sbi-doc/blob/master/riscv-sbi.adoc Submitted by: Danjel Q. <danq1222@gmail.com> Reviewed by: kp Differential Revision: https://reviews.freebsd.org/D26953 |
||
---|---|---|
.. | ||
_align.h | ||
_bus.h | ||
_inttypes.h | ||
_limits.h | ||
_stdint.h | ||
_types.h | ||
asm.h | ||
atomic.h | ||
bus_dma_impl.h | ||
bus_dma.h | ||
bus.h | ||
clock.h | ||
counter.h | ||
cpu.h | ||
cpufunc.h | ||
db_machdep.h | ||
dump.h | ||
efi.h | ||
elf.h | ||
encoding.h | ||
endian.h | ||
exec.h | ||
float.h | ||
floatingpoint.h | ||
fpe.h | ||
frame.h | ||
ieeefp.h | ||
in_cksum.h | ||
intr.h | ||
kdb.h | ||
machdep.h | ||
md_var.h | ||
memdev.h | ||
metadata.h | ||
minidump.h | ||
ofw_machdep.h | ||
param.h | ||
pcb.h | ||
pcpu_aux.h | ||
pcpu.h | ||
pmap.h | ||
pmc_mdep.h | ||
proc.h | ||
procctl.h | ||
profile.h | ||
psl.h | ||
pte.h | ||
ptrace.h | ||
reg.h | ||
reloc.h | ||
resource.h | ||
riscvreg.h | ||
runq.h | ||
sbi.h | ||
setjmp.h | ||
sf_buf.h | ||
sigframe.h | ||
signal.h | ||
smp.h | ||
stack.h | ||
stdarg.h | ||
sysarch.h | ||
trap.h | ||
ucontext.h | ||
vdso.h | ||
vm.h | ||
vmparam.h |