tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
sys
/
arch
/
riscv64
/
include
/
at
master
49 files
_float.h
Initial import of OpenBSD/riscv64
5 years ago
_types.h
riscv64: switch to clockintr
3 years ago
asm.h
Drop unused WEAK_REFERENCE macro
3 years ago
atomic.h
use ansi volatile keyword, not __volatile ok miod@ guenther@
3 years ago
bootconfig.h
Cleanup early bootstrap code. This mostly realigns the code with the FreeBSD code from which it was derived. In particular, it uses the same trick to switch page tables as FreeBSD, which is what we use to spin up the secondary CPUs already. This avoids having to install a temporary 1:1 mapping.
4 years ago
bus.h
Avoid doing cache flush/invalidate operations for DMA memory allocated with the BUS_DMA_COHERENT flag.
3 years ago
cdefs.h
Initial import of OpenBSD/riscv64
5 years ago
conf.h
Remove unused field d_poll from struct cdevsw.
3 years ago
cpu.h
riscv64: switch to clockintr
3 years ago
cpufunc.h
use ansi volatile keyword, not __volatile ok miod@ guenther@
3 years ago
db_machdep.h
Remove typedef of db_addr_t; mpi converted the users of it to vaddr_t already back in 2019.
4 years ago
disklabel.h
add OpenBSD rcs ids
4 years ago
endian.h
Do not pretend there exist MD code for byte swapping yet provide copies of the MI fallback code; ok deraadt@ jsg@
4 years ago
exec.h
add OpenBSD rcs ids
4 years ago
fdt.h
Add sfgpio(4), a driver for the GPIO controller found on the SiFive FU740 SoC.
3 years ago
fenv.h
Correct defines for fenv rounding modes and change fenv_t and fexcept_t from unsigned long long to unsigned int.
4 years ago
frame.h
Fix kernel stack alignment on riscv64
4 years ago
ieee.h
add OpenBSD rcs ids
4 years ago
ieeefp.h
Fix line swap resulting in misplaced ',' causing build error.
5 years ago
intr.h
SMP support. Mostly works, but occasionally craps out during boot.
4 years ago
kcore.h
add OpenBSD rcs ids
4 years ago
limits.h
add SIZE_MAX. ok kettenis@
4 years ago
loadfile_machdep.h
File was accidentally duplicated on inital checkin, remove dup.
5 years ago
mplock.h
Using the MI mplock should be fine on riscv64.
4 years ago
mutex.h
Initial import of OpenBSD/riscv64
5 years ago
openpromio.h
reuse arm64 openprom(4) on riscv64 ok kettenis@
5 years ago
param.h
don't define __HAVE_ACPI to unbreak radeondrm build
4 years ago
pcb.h
Simplify the way we track the FPU state, using powerpc64 as a model. The new code still uses the clean/dirty state that the hardware reports to optimize saving/restoring the FPU register, but no longer attempts to keep the FPU registers alive across a context switch. Fixes panics seen on MP kernels.
4 years ago
pci_machdep.h
Use uint64_t instead of u_long for pcitag_t.
4 years ago
pmap.h
Remove obsolete __HAVE_VM_PAGE_MD define - all platforms provide vm_page_md those days, and nothing checks for that symbol anymore.
3 years ago
proc.h
add OpenBSD rcs ids
4 years ago
profile.h
delete useless comment
4 years ago
pte.h
add OpenBSD rcs ids
4 years ago
ptrace.h
Don't pretend we support PT_STEP on this architecture.
4 years ago
reg.h
add OpenBSD rcs ids
4 years ago
reloc.h
add OpenBSD rcs ids
4 years ago
riscv64var.h
add OpenBSD rcs ids
4 years ago
riscvreg.h
use ansi volatile keyword, not __volatile ok miod@ guenther@
3 years ago
sbi.h
use ansi volatile keyword, not __volatile ok miod@ guenther@
3 years ago
setjmp.h
On OpenBSD _JBLEN is the number of slots (of type long) in jmp_buf. We don't need 256 slots, so change it to 32 which leaves us with a few spare slots and is probably what was intended.
4 years ago
signal.h
Significant overhaul of the floating point save/restore code. At this point the mechanism should closely resemble the powerpc64 save/restore points with one difference. (reload avoidance) The previous 'aggressive' fpu save code that was (mostly) implemented before and is present on arm32 and arm64.
4 years ago
softintr.h
remove "for all AArch64 platforms" from comment removed from other archs in 2020 before riscv64 was imported
4 years ago
spinlock.h
add OpenBSD rcs ids
4 years ago
sysarch.h
Provide instruction cache invalidation through sysarch(RISCV_ICACHE_SYNC)
4 years ago
syscall.h
delete useless comment
4 years ago
tcb.h
add OpenBSD rcs ids
4 years ago
timetc.h
riscv64 userland timecounter support
4 years ago
trap.h
add OpenBSD rcs ids
4 years ago
vmparam.h
Aggressively randomize the location of the stack on all 64-bit architectures except alpha. This will put the stack at a random location in the upper 1/4th of the userland virtual address space providing up to 26 additional bits of randomness in the address. Skip alpha for now since it currently puts the stack at a (for a 64-bit architecture) very low address. Skip 32-bit architectures for now as well since those have a much smaller virtual address space and we need more time to figure out what a safe amount of extra randomizations is. These architectures will continue to use a mildly randomized stack address through the existing stackgap random mechanism. We will revisit this after 7.3 is released.
3 years ago