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
/
arm
/
include
/
at
jcs
50 files
_float.h
create new machine/_float.h which is namespace clean. create a new MI float.h which pulls in and defines the values that are needed from there, and repair sys/limits.h so that it defines the values it needs as well (depending on POSIX version, XPG version, etc). guenther has a more exact selection of that coming for limits.h. this also fixes a few mistakes for the vax. reviewed by kettenis and guenther.
13 years ago
_types.h
all platforms, kernel: remove __HAVE_CLOCKINTR symbol
2 years ago
apmvar.h
flense more trailing whitespace
7 years ago
armreg.h
Synch the cpu match/attach/identify code with arm64. This drops some information from dmesg that is no longer relevant to ARMv7 CPUs in favour of printing the full architected cache hierarchy in the same way as we do on arm64. It also is another small step towards SMP support on armv7.
6 years ago
asm.h
_C_LABEL() and _ASM_LABEL() are no longer useful in the "everything is ELF" world. Eliminate use of them in amd64, arm64, armv7, i386, macppc, mips64, and sparc64 code.
3 years ago
atomic.h
use ansi volatile keyword, not __volatile ok miod@ guenther@
3 years ago
bus.h
Expose already existing bus_dmamem_alloc_range interface. Needed by recent virtio changes.
8 months ago
cdefs.h
Add __strong_alias macros for all architectures to be able to alias another symbol without weak attribute. To be used in libc and libm soon. Agreed by kettenis@, guenther@, matthew@.
13 years ago
conf.h
Remove unused field d_poll from struct cdevsw.
3 years ago
cpu.h
Add a compiler barrier where missing in CPU_BUSY_CYCLE() implems
2 years ago
cpuconf.h
Remove leftover indirections required by pre-armv7 cpu support.
1 year ago
cpufunc.h
spelling ok jmc@ guenther@ tb@
2 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
Use #ifndef _MACHINE_DISKLABEL_H_ everywhere. Replace _ARM_DISKLABEL_H_ and _SH_DISKLABEL_H_ with _MACHINE_DISKLABEL_H_. Add the guard to loongson and octeon. The #defines are not used anywhere else in the tree so no functional change.
10 years ago
elf.h
Add elf_aux_info(3)
2 years ago
endian.h
drop the MD byte-swap micro-optimizations on clang architectures
2 years ago
exec.h
In exec_elf.c: expand ELFNAME(), ELFNAME2(), and ELFNAMEEND() except leaving out the size, so that ELFNAME2(exec,makecmds) becomes exec_elf_makecmds instead of exec_elf{32,64}_makecmds and then delete the ELFNAME2() and ELFNAMEEND() macros.
9 years ago
fdt.h
Extend the interrupt API on arm64 and armv7 to be able to pass around a struct cpu_info *. From a driver point of view the fdt_intr_establish_* API now also exist same functions with a *_cpu suffix. Internally the "old" functions now call their *_cpu counterparts, passing NULL as ci. NULL will be interpreted as primary CPU in the interrupt controller code.
5 years ago
fenv.h
Also enclose variable names with external linkage in __BEGIN_DECLS.
15 years ago
fiq.h
Arm port, NetBSD codebase stripped down, 32bit only support.
22 years ago
frame.h
_C_LABEL() and _ASM_LABEL() are no longer useful in the "everything is ELF" world. Eliminate use of them in amd64, arm64, armv7, i386, macppc, mips64, and sparc64 code.
3 years ago
ieee.h
remove support for big endian; ok drahn
14 years ago
ieeefp.h
Normalize sentinel. Use _MACHINE_*_H_ and _<ARCH>_*_H_ properly and consitently.
15 years ago
kcore.h
Kernel crash dump support for arm-based platform, with minimal support in libkvm, but all the necessary information for a complete _kvm_kvatop() is available in the crash dump.
19 years ago
limits.h
Remove SIZE_MAX from limits.h. It was added years ago before we had a proper stdint.h. No ports fallout. OK guenther@ miod@
11 years ago
machdep.h
remove prototypes for removed functions
2 years ago
mplock.h
Make it possible to build a MULTIPROCESSOR kernel on armv7. While this doesn't actually spin up any secondary CPUs, it does run. Mostly a cleanup of <machine/cpu.h> along the lines of what I did earlier on arm64. Makes armv7 use the MI mplock implementation and implements copyin32.
7 years ago
mutex.h
Convert armv7 to MI mutex.
8 years ago
openpromio.h
Implement openprom(4) for armv7.
10 years ago
param.h
NKMEMPAGES_MAX_DEFAULT is no longer used. Remove it from param.h. OK miod@
2 years ago
pcb.h
Add kernel support for the VFP FPU/SIMD unit. Based on a diff by drahn@. This allows us to use floating-pointer and vector instructions in userland code. The current implementation assumes all 32 VFP registers are present. This should be the case on all armv7 hardware currently supported by OpenBSD.
8 years ago
pci_machdep.h
Use a 64-bit integer for pcitag_t and define PCITAG_NODE and PCITAG_OFFSET macros to make armv7 build again.
4 years ago
pmap.h
Remove leftover indirections required by pre-armv7 cpu support.
1 year ago
proc.h
Provide mips64 with kernel-facing TCB_{GET,SET} macros that store it in struct mdproc. With that, all archs have those and the __HAVE_MD_TCB macro can be unifdef'ed as always defined.
9 years ago
profile.h
Modernize arm assembly in the kernel for clang. Based on a similar diff in bitrig. No binary change when compiled with gcc.
9 years ago
pte.h
spelling
5 years ago
ptrace.h
Arm port, NetBSD codebase stripped down, 32bit only support.
22 years ago
reg.h
Revise 'struct fpreg' such that it can actually represent the full VFPv3-D32 state.
8 years ago
reloc.h
Add RCS id.
20 years ago
setjmp.h
fix double words in comments feedback and ok jmc@ miod, ok millert@
3 years ago
signal.h
Save and restore FPU registers around signal handlers. Fixes the random crashes in sh(1).
7 years ago
simplebusvar.h
move simplebusvar.h so it can be used without ifdef ok kettenis@ phessler@
2 years ago
spinlock.h
Move mutex, condvar, and thread-specific data routes, pthread_once, and pthread_exit from libpthread to libc, along with low-level bits to support them. Major bump to both libc and libpthread.
8 years ago
sysarch.h
Remove excessive sys/cdefs.h inclusion ok guenther millert kettenis
13 years ago
sysreg.h
Add macros to access cp14/cp15 registers by name instead of six arguments to instructions. Based on a file from FreeBSD.
10 years ago
tcb.h
The userspace TCB_GET() shouldn't take an argument
9 years ago
trap.h
Remove strange /* End of file */ style.
7 years ago
undefined.h
Store whether or not the VFP was active on entering the unhandled instruction trap and pass it to the VFP fault handler, so that it knows if we faulted with the VFP active or disabled. Reading the status in the VFP fault handler does not work since at that point the VFP already got disabled.
7 years ago
vfp.h
cululative -> cumulative
4 years ago
vmparam.h
the clang binary never shrinks, especially since it is statically linked (for performance). in this case, it grew larger than the maximum text segment size; increase that size.
2 years ago