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
/
sparc64
/
include
/
at
master
57 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.
14 years ago
_types.h
sparc64: switch to clockintr
3 years ago
apmvar.h
flense more trailing whitespace
7 years ago
asm.h
Drop PICCY_SET() and RODATA() macros now that libc no longer needs them.
3 years ago
atomic.h
Export our atomic definitions to userland instead of gcc builtins.
8 years ago
autoconf.h
First pass at removing clauses 3 and 4 from NetBSD licenses.
18 years ago
boot_flag.h
Pass boothowto from bootloader to kernel using .openbsd.bootdata. To make sure that an old bootloader can boot a new kernel and a new bootloader can still boot an old kernel some hackery is needed as old kernels check for an exact size of the openbsd_bootdata struct.
5 years ago
bppioctl.h
Iain Hibbert (plunky@netbsd) removed clauses 3 and 4 from his licenses as well. Thanks!
17 years ago
bus.h
Change function definitions using the identifier-list form used in the 1st edition of Kernighan and Ritchie's The C Programming Language, to that of the parameter-type-list form described in the ANSI X3.159-1989 standard.
3 years 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
sparc64: switch to clockintr
3 years ago
ctlreg.h
On sun4u systems that have the STICK register, clear the NPT bit of the register such that it can be accessed from userland. With this change we can unconditionally enabled the usertc code again.
5 years ago
db_machdep.h
Remove vestigial bits of 32-bit binaries support; drop the `64' suffix in struct names when the matching `32' flavour got removed.
3 years ago
disklabel.h
Use consistant whitespace/comments for #define'ing LABELSECTOR, LABELOFFSET and MAXPARTITIONS. Easier on the eye when scanning through all these files. No functional change.
10 years ago
endian.h
make [bl]emtoh{16,32,64} take volatile const foo *, not volatile foo *
11 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
fbvar.h
Move ifb identification to its own routine. We can not simply have the ifb probe win over vgafb, since one may configure a kernel with vgafb but without ifb (especially slackers who forget to rerun config).
17 years ago
fenv.h
Also enclose variable names with external linkage in __BEGIN_DECLS.
15 years ago
frame.h
Put struct rwindow back in reg.h, pcb.h depends on this.
3 years ago
fsr.h
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
23 years ago
hypervisor.h
Firmware that supports the "parallel boot" feature allows us to read the PRI using a simple hypervisor call. Implement this.
6 years ago
idprom.h
$OpenBSD$
25 years ago
ieee.h
Remove some defines marked #ifdef notyet, which really is #ifdef notever. Reduces the diffs with other architectures.
9 years ago
ieeefp.h
Normalize sentinel. Use _MACHINE_*_H_ and _<ARCH>_*_H_ properly and consitently.
15 years ago
instr.h
whoa, gcc wasn't at fault: i_loadstore was missing 5 bits, which was causing the decode to be wrong.
23 years ago
intr.h
Remove unused spllock().
7 years ago
ioctl_fd.h
Normalize sentinel. Use _MACHINE_*_H_ and _<ARCH>_*_H_ properly and consitently.
15 years ago
kcore.h
First pass at removing clauses 3 and 4 from NetBSD licenses.
18 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
loadfile_machdep.h
Remove a.out leftovers now that libsa loadfile() will only boot ELF binaries.
12 years ago
mdesc.h
Firmware that supports the "parallel boot" feature allows us to read the PRI using a simple hypervisor call. Implement this.
6 years ago
mplock.h
Add a machine-independent implementation for the mplock. This reduces code duplication and makes it easier to instrument lock primitives.
8 years ago
mutex.h
Convert sparc64 to MI mutex.
8 years ago
openfirm.h
Fix handling of 64-bit quantities in Open Firmware's client interface. Spotted by tsi@, and shamelessly stolen from his diff. Fixes several UltraSPARC-III machines wich have more than one memory bank filled.
19 years ago
openpromio.h
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
23 years ago
param.h
Unify and bump some of the NMBCLUSTERS defines. Some archs had it set to 4MB which is far too low especially when the platform is able to run MP. New limits are, amd64 = 256M; arm64, mips64, sparc64 = 64M; alpha, arm, hppa, i386, powerpc = 32M; m88k, sh = 8M Still rather conservative numbers but much better than before. At least some hangs of arm64 build boxes was caused by this. OK kettenis@, visa@
7 years ago
pcb.h
Remove vestigial bits of 32-bit binaries support; drop the `64' suffix in struct names when the matching `32' flavour got removed.
3 years ago
pci_machdep.h
Implement pci_intr_establish_cpu() for pyro(4) and vpci(4) based sparc64 systems. MSIs on these systems are delivered to event queues, which trigger interrupts when non-empty. The interrupt handler dequeues the MSIs and converts them into soft interrupts, which run on the same cpu as the event queue interrupt.
5 years ago
pmap.h
On systems without xonly mmu hardware-enforcement, we can still mitigate against classic BROP with a range-checking wrapper in front of copyin() and copyinstr() which ensures the userland source doesn't overlap the main program text, ld.so text, signal tramp text (it's mapping is hard to distinguish so it comes along for the ride), or libc.so text. ld.so tells the kernel libc.so text range with msyscall(2). The range checking for 2-4 elements is done without locking (because all 4 ranges are immutable!) and is inexpensive.
3 years ago
proc.h
Remove vestigial bits of 32-bit binaries support; drop the `64' suffix in struct names when the matching `32' flavour got removed.
3 years ago
profile.h
Convert cpp | as rules in bsd.lib.mk and lib/libc/sys/Makefile.inc to pure cc invocations. This allows us to use the compiler builtin define __PIC__ to check for PIC/PIEness rather than passing -DPIC. Simplifies PIE work a lot.
13 years ago
psl.h
variable ver is unused; rdpr %ver is always used instead; from miod
6 years ago
pte.h
try to avoid pulling in pte.h and other more crazy things. Checked against the things that libkvm needs.
13 years ago
ptrace.h
sparc64 StackGhost. ok deraadt@
21 years ago
rbus_machdep.h
Normalize sentinel. Use _MACHINE_*_H_ and _<ARCH>_*_H_ properly and consitently.
15 years ago
reg.h
Put struct rwindow back in reg.h, pcb.h depends on this.
3 years ago
reloc.h
Normalize sentinel. Use _MACHINE_*_H_ and _<ARCH>_*_H_ properly and consitently.
15 years ago
setjmp.h
setjmp.h, trivial.
25 years ago
signal.h
SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie inside the sigcontext. sigreturn(2) checks syscall entry was from the exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, and clears it to prevent sigcontext reuse. not yet tested on landisk, sparc, *88k, socppc. ok kettenis
10 years ago
sparc64.h
add support for storing the time of day on OPL based machines.
7 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
tcb.h
Use register names without the % prefix in the global register variable declarations since clang doesn't register the %-prefixed ones.
9 years ago
timetc.h
Userland timecounter implementation for sparc64.
5 years ago
trap.h
Get rid of SYSCALL_G7RFLAG. iIt's been deprecated for a long time already, and we've started using %g7 as a per-thread register now. If you have any binaries left that use this flag they'll probably crash and burn!
13 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
z8530var.h
Unify the zs tty driver.
13 years ago