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
/
m88k
/
include
/
at
master
41 files
_float.h
m88k does not have the m68k long double type actually (long double == double on this platform), so don't pretend it does, and don't build long double libm routines.
13 years ago
_types.h
m88k, luna88k: switch to clockintr
3 years ago
asm.h
_C_LABEL() and _ASM_LABEL() are no longer useful in the "everything is ELF" world. Eliminate use of them in m88k code.
3 years ago
asm_macro.h
It's been a quarter century: we can assume volatile is present with that name.
12 years ago
atomic.h
use ansi volatile keyword, not __volatile ok miod@ guenther@
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
cmmu.h
Allow initial device mappings (from pmap_table) to be backed up by BATC. Use this on luna88k to map the bitmap planes of the frame buffer used by the driver. 10% speedup under X.
12 years ago
cpu.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
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
endian.h
Tackle the endian.h mess. Make it so that: * you can #include <sys/endian.h> instead of <machine/endian.h>, and ditto <endian.h> (fixes code that pulls in <sys/endian.h> first)
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
fenv.h
Also enclose variable names with external linkage in __BEGIN_DECLS.
15 years ago
fpu.h
Replace the assembly 88100 FPU imprecise exception code (mostly triggered by denormal results) with C code using softfloat to correctly round the inexact results in the best possible way according to the current rounding mode.
11 years ago
frame.h
Resolve the struct trapframe tf_mode/tf_flags duality by getting rid of the tf_mode name. This field only contains flags used internally by the exception processing code.
18 years ago
ieee.h
Adapt ieee.h, gdtoa and libc to the fact that we don't have 80-bit floats on m88k. Agreed by miod@.
13 years ago
ieeefp.h
Replace the unmaintainable assembler code responsible for 88100 precise FPU fault handling with a C wrapper around the softfloat code, as already done for 88110 kernels.
12 years ago
intr.h
Remove unused spllock().
7 years ago
kcore.h
MVME88K -> M88K in include file guard symbols. No functional changes.
20 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
lock.h
make the rwlock implementation MI.
11 years ago
m88100.h
Introduce m88100_rewind_insn() to rewind the execution pipeline one instruction, rather than gazillions of inline variants. This also makes the situations where we clear specific bits in the fip or nip registers more visible.
12 years ago
m8820x.h
Extend cmmu routines to return the caching mode to use for page tables.
13 years ago
mmu.h
It's been a quarter century: we can assume volatile is present with that name.
12 years ago
mplock.h
Make luna88k use the MI mplock implementation.
8 years ago
mutex.h
Rewrite m88k mutex code as a slight variation of the MI mutex code.
5 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
user land -> userland; from Rob Pierce
10 years ago
pmap.h
m88k also needs to define PMAP_CHECK_COPYIN as 1.
3 years ago
pmap_table.h
Allow initial device mappings (from pmap_table) to be backed up by BATC. Use this on luna88k to map the bitmap planes of the frame buffer used by the driver. 10% speedup under X.
12 years 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
A really working version of MCOUNT.
13 years ago
psl.h
Fix comments telling that the `serial mode' bit in PSR only applies to 88110, it also exists on 88100. While there, do not allow userland to set it.
13 years ago
ptrace.h
Normalize sentinel. Use _MACHINE_*_H_ and _<ARCH>_*_H_ properly and consitently.
15 years ago
reg.h
Use `long' instead of `int' in structure layouts which may get assigned from (or to) register_t, but need to be usable without register_t in scope, so that the compiler won't warn about these assignments after the recent _types.h changes; aoyama@
12 years ago
reloc.h
Switch m88k ports to ELF.
13 years ago
setjmp.h
Normalize sentinel. Use _MACHINE_*_H_ and _<ARCH>_*_H_ properly and consitently.
15 years ago
signal.h
Add sc_cookie in sigcontext, as same as other ports. From Miod Vallat, tested by him and me.
9 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
%r26 hasn't been used by the threads implementation since 2016, so stop resetting it in child_return() and update the comment in tcb.h to reflect reality
6 years ago
trap.h
miod notes T_USER needs to be a bit, it was not.
5 years ago
vmparam.h
Remove the definition of USRTEXT. It has no relevance outside of the non-PIE a.out world. ok deraadt@ kettenis@
10 years ago