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
/
arm64
/
include
/
at
jcs
53 files
_float.h
Import of OpenBSD/arm64
9 years ago
_types.h
all platforms, kernel: remove __HAVE_CLOCKINTR symbol
2 years ago
acpiapm.h
Add the apm(4) subsystem to arm64.
7 years ago
apmvar.h
Simplify the (so far unused) apm_record_event() function a bit and use it to send a resume event to userland when we come out of suspend.
3 years ago
armreg.h
Clean up the interface between ddb and the arm64 trap handler. Introduce code to directly enter DDB when an unexpected exception happens similar to what we already have on amd64, setting the panic message without actually doing a fool panic (which might destroy interesting register state). Mark permanent breakpoints and add code to skip over them.
8 months ago
asm.h
Implement branch target protection using the branch target identification feature introduced in Armv8.5. This provides "head-CFI" to complement the "tail-CFI" provided by retguard. Unfortunately most arm64 machines don't support this feature yet. But Apple M2 does support it and it seems to work there.
3 years ago
atomic.h
use ansi volatile keyword, not __volatile ok miod@ guenther@
3 years ago
bootconfig.h
boot_file was removed in arm64 machdep.c rev 1.55
2 years ago
bus.h
move bus space extern to bus.h; ok mpi@
1 year ago
cdefs.h
Import of OpenBSD/arm64
9 years ago
conf.h
remove BMAJ and CMAJ defines only used by arm64; ok deraadt@
2 years ago
cpu.h
avoid including "xcall.h" in cpu.h to avoid confusing userland.
3 months ago
cpufunc.h
Add imxpd(4) which is a power domain controller driver that essentially calls into ATF to make it supply power.
8 years ago
db_machdep.h
Clean up the interface between ddb and the arm64 trap handler. Introduce code to directly enter DDB when an unexpected exception happens similar to what we already have on amd64, setting the panic message without actually doing a fool panic (which might destroy interesting register state). Mark permanent breakpoints and add code to skip over them.
8 months ago
disklabel.h
Import of OpenBSD/arm64
9 years ago
efivar.h
Hook up the Qualcomm UEFI Secure Application that handles EFI variables to efi(4) such that we can access EFI variables through ioctls on /dev/efi.
2 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
Implement MD corefile notes and use them to write out the PAC note on arm64.
8 months 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
Setting and getting the rounding mode on our arm64 FPU has not worked in libm since the rounding mode is in fpcr, not fpsr. Since both FPU registers are 32-bit we can store them in the 64-bit fenv_t to make handling the bits easier.
7 years ago
fpu.h
Implement support for SVE (Scalable Vector Extension) on arm64.
1 year ago
frame.h
Remove strange /* End of file */ style.
7 years ago
hypervisor.h
Implement support for SVE (Scalable Vector Extension) on arm64.
1 year ago
ieee.h
Define EXT_IMPLICIT_NBIT like we do on sparc64 and mips64. Makes vaious long double math stuff (including printf) actually work.
9 years ago
ieeefp.h
Remove NetBSDisms that crept into the arm64 version of this file.
5 years ago
intr.h
wire up xcall support.
3 months ago
kcore.h
Import of OpenBSD/arm64
9 years ago
limits.h
Import of OpenBSD/arm64
9 years ago
loadfile_machdep.h
change marks[] array to uint64_t, so the code can track full 64-bit details from the ELF header instead of faking it. Proposal from mlarkin, tested on most architectures already
7 years ago
mplock.h
Make arm64 use the MI mplock implementation. Avoid <sys/mplock.h> being pulled in for assembly files by bringing <machine/cpu.h> and <machine/param.h> in line with other architectures. Some minor cleanup of those files is included.
8 years ago
mutex.h
Move common mutex implementations to a MI place.
8 years ago
openpromio.h
openprom(4)
9 years ago
param.h
Add an MI mechanism for creating an (unmapped) guard page between the PCB and the kernel stack. Switch amd64 over to this new mechanism. Also enable these guard pages on other 64-bit architectures with 4k pages (arm64, powerpc64, riscv64).
9 months ago
pcb.h
reguster -> register
1 year ago
pci_machdep.h
Handle the case of multiple MCFG table entries for a single segment by checking that the bus number falls within the range of the MCFG entry.
1 year ago
pmap.h
In preparation of moving work from the reaper into exit1(), introduce a new (optional) pmap function that "purges" a pmap to optimize a subsqeuent uvm space teardown. Rewire the arm64 TLB flush optimization to use that new function.
10 months 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
Add support for FIQs. We need these to support agtimer(4) on Apple M1 SoCs since its interrupts seem to be hardwared to trigger an FIQ instead of an IRQ. This means we need to manipulate both the F and the I bit in the DAIF register when enabling and disabling interrupts.
5 years ago
pte.h
remove unneeded vmparam.h include from pte.h include vmparam.h in process_machdep for USER_SPACE_BITS
2 years ago
ptrace.h
Implement support for pointer authentication (PAC) in userland. With PAC it is possible to "sign" pointers with a hidden key. The signature is placed in unused bits of the pointer and can be checked later. This can be used to provide "tail CFI" that is similar to what retguard provides.
2 years ago
reg.h
Revise 'struct fpreg' and dump floating-point register in core dumps. Also reset the floating-point register state upon exec.
9 years ago
reloc.h
R_AARCH64_NONE should be zero, not 256. The latter was a deprecated assignment and isn't used by clang/lld.
8 years ago
setjmp.h
fix double words in comments feedback and ok jmc@ miod, ok millert@
3 years ago
signal.h
Bring SROP mitigation to arm64. Make some small modifications to the arm code as well to improve diffability. Changes the types used in the arm64 "struct sigcontext" to avoid having to include <sys/types.h>.
9 years ago
simplebusvar.h
move simplebusvar.h so it can be used without ifdef ok kettenis@ phessler@
2 years ago
smbiosvar.h
Wnclosure -> Enclosure
9 months 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
Import of OpenBSD/arm64
9 years ago
tcb.h
Cleanup TCB header a la OpenBSD/armv7.
9 years ago
timetc.h
Allwinner hardware sucks! The ARM generic timer on the A64 has a bug where the bottom 9 bits of the counter register can't be trusted if any of the higher bits are rolling over. This is an unpublished errata so the details aren't known. Adopt the same workaround that Linux has.
3 years ago
vmmvar.h
Unbreak vmd build on arm64
8 months ago
vmparam.h
bump MAXDSIZ to 128G on amd64 and 64G on arm64 discussed with kettenis@, ok deraadt@
2 years ago