opnsense-src/sys/riscv/include
Mitchell Horne 741ba007c1 Fix definition of SSTATUS_SD
The SD bit is defined as the MSB of the sstatus register, meaning its
position will vary depending on the CSR's length. Previously, there were
two (unused) defines for this, for the 32 and 64-bit cases, but their
definitions were swapped.

Consolidate these into one define: SSTATUS_SD, and make the definition
dependent on the value of __riscv_xlen.

Reviewed by:	br
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D23402
2020-01-29 15:50:48 +00:00
..
_align.h
_bus.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
_inttypes.h
_limits.h
_stdint.h
_types.h Do not include float interfaces when using libsa. 2018-02-23 04:04:25 +00:00
asm.h Fix global pointer relaxations in the RISC-V kernel 2019-06-09 15:43:38 +00:00
atomic.h Fix atomic_*cmpset32 on riscv64 with clang. 2019-10-23 16:41:31 +00:00
bus.h
bus_dma.h Provide a template for busdma code for RISC-V. 2019-05-07 13:41:43 +00:00
bus_dma_impl.h Provide a template for busdma code for RISC-V. 2019-05-07 13:41:43 +00:00
clock.h
counter.h Centralize __pcpu definitions. 2019-08-29 07:25:27 +00:00
cpu.h RISC-V: Implement get_cyclecount(9). 2018-11-13 18:20:27 +00:00
cpufunc.h Provide a template for busdma code for RISC-V. 2019-05-07 13:41:43 +00:00
db_machdep.h Fix printing of negative offsets (typically from frame pointers) again. 2017-03-26 18:46:35 +00:00
dump.h
efi.h Fix building on i386 and arm. But 'public domain' headers on the files 2016-10-13 06:56:23 +00:00
elf.h RISC-V: expose extension bits in AT_HWCAP 2019-06-11 00:55:54 +00:00
encoding.h Add RISC-V instructions encoding. 2018-08-13 16:07:18 +00:00
endian.h
exec.h
float.h o Add support for long double. 2016-11-03 13:06:17 +00:00
floatingpoint.h
fpe.h Various fixes for floating point on RISC-V. 2018-09-19 23:45:18 +00:00
frame.h Replace uses of sbadaddr with stval. 2018-12-19 17:52:09 +00:00
ieeefp.h
in_cksum.h
intr.h o Add driver for PLIC (Platform-Level Interrupt Controller) device. 2018-06-12 17:45:15 +00:00
kdb.h Various fixes for TLB management on RISC-V. 2018-10-15 18:56:54 +00:00
machdep.h Support for v1.10 (latest) of RISC-V privilege specification. 2017-08-10 14:18:09 +00:00
md_var.h Add missing files from r354720 2019-11-15 03:37:49 +00:00
memdev.h
minidump.h
ofw_machdep.h
param.h Implement transparent 2MB superpage promotion for RISC-V. 2019-02-13 17:19:37 +00:00
pcb.h Implement per-CPU pmap activation tracking for RISC-V. 2019-02-13 17:50:01 +00:00
pcpu.h Fix global pointer relaxations in the RISC-V kernel 2019-06-09 15:43:38 +00:00
pcpu_aux.h Centralize __pcpu definitions. 2019-08-29 07:25:27 +00:00
pmap.h Introduce vm_page_astate. 2019-12-10 18:14:50 +00:00
pmc_mdep.h
proc.h Make struct syscall_args visible to userspace compilation environment 2017-06-12 20:53:44 +00:00
procctl.h amd64 KPTI: add control from procctl(2). 2019-03-16 11:44:33 +00:00
profile.h SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
psl.h
pte.h Implement transparent 2MB superpage promotion for RISC-V. 2019-02-13 17:19:37 +00:00
ptrace.h
reg.h Add full softfloat and hardfloat support for RISC-V. 2016-11-16 15:21:32 +00:00
reloc.h
resource.h Enable NEW_PCIB on riscv. 2020-01-24 16:50:51 +00:00
riscvreg.h Fix definition of SSTATUS_SD 2020-01-29 15:50:48 +00:00
runq.h
sbi.h RISC-V: Print SBI info at startup 2019-11-15 03:40:02 +00:00
setjmp.h Fix setjmp for RISC-V: 2018-07-23 09:54:28 +00:00
sf_buf.h
sigframe.h Follow arm[32] and sparc64 KAPI and provide the FreeBSD standard spelling 2019-01-29 20:10:27 +00:00
signal.h
smp.h o Add driver for PLIC (Platform-Level Interrupt Controller) device. 2018-06-12 17:45:15 +00:00
stack.h Add support for ddb(4). 2016-03-10 15:51:43 +00:00
stdarg.h Use standard pattern for stdargs.h 2018-02-12 14:48:05 +00:00
sysarch.h
trap.h
ucontext.h Use better form representing 32 x 128-bit floating-point registers. 2016-02-17 14:24:25 +00:00
vdso.h
vm.h
vmparam.h Eliminate an unused declaration. The variable in question is only defined 2019-10-07 04:22:03 +00:00