Age | Commit message (Collapse) | Author |
|
addressable virtual memory space but arm ports were using a value of
0xffffffff for this.
Instead of using a shared VM_MAX_KERNEL_ADDRESS define add md
VM_KERNEL_SPACE_SIZE defines based on the KERNEL_VM_SIZE values
from the respective machdep.c files.
djm's novena was hitting "panic: bufinit: can't reserve VM for buffers"
without a similiar change.
ok miod@
|
|
ok miod@
|
|
delete coredump_trad(), uvm_coredump(), cpu_coredump(), struct md_coredump,
and various #includes that are superfluous.
This leaves compat_linux processes without a coredump callback. If that
ability is desired, someone should update it to use coredump_elf32() and
verify the results...
ok kettenis@
|
|
had a proper stdint.h. No ports fallout. OK guenther@ miod@
|
|
Use this on vax to correctly pick the end of the stack area now that the
stackgap adjustment code will no longer guarantee it is a fixed location.
|
|
ok guenther@
|
|
- rename uiomove() to uiomovei() and update all its users.
- introduce uiomove(), which is similar to uiomovei() but with a size_t.
- rewrite uiomovei() as an uiomove() wrapper.
ok kettenis@
|
|
in all MD apmvar.h.
|
|
ok tedu@, guenther@, miod@
|
|
|
|
with many, ok kettenis@.
|
|
tested by jsg, ok miod
|
|
of spsr_all so all the bits are restored. Using the msr instruction
with spsr_all is treated the same as spsr_fc and does not include the
status and extension fields (bits 23:8).
This fixes the problem of some i.MX6 machines powering up with the
big endian bit set in the extension field causing them to crash
on returning from the first interrupt.
From NetBSD.
|
|
just the control field ('c' bits 7:0) instead of 'all' which includes
the flags field ('f' bits 31:24) which isn't modified.
|
|
masking. Remove the use of cpsr_all/spsr_all with 'mrs' and just use
the register names. This matches the arm docs and avoids confusion as
cpsr_all/spsr_all don't include bits 23->8 when used with the 'msr'
instruction but do with 'mrs'.
|
|
masking. Remove the use of cpsr_all/spsr_all with 'mrs' and just use
the register names. This matches the arm docs and avoids confusion as
cpsr_all/spsr_all don't include bits 23->8 when used with the 'msr'
instruction but do with 'mrs'.
|
|
not used.
|
|
existing one for earlier arm revisions.
|
|
the installer. We used a full release cycle to learn that suspend/resume
is reliable enough for this default. Personal policy can disable this using
machdep.lidsuspend=0 in /etc/sysctl.conf
ok more people begging, and less people whining
|
|
use these on armv7 as a backend for byteswapping things that endian.h
provide.
i dunno if its faster, but it makes smaller code. saves 30k on
GENERIC-OMAP.
ok jsing@ bmercer@ jsg@
|
|
which have integrated L2 so changes will get flushed to memory ASAP.
From Patrick Wildt in Bitrig via rapha@
ok miod@
|
|
definitions will find the md .S files for these.
|
|
|
|
ok tedu@ deraadt@
|
|
that we delete ours, which isn't actually useful.
ok mpi sthen
|
|
ok tedu@ deraadt@
|
|
ok espie@ deraadt@ millert@ tedu@
|
|
PROT_NONE, PROT_READ, PROT_WRITE, and PROT_EXEC from mman.h.
PROT_MASK is introduced as the one true way of extracting those bits.
Remove UVM_ADV_* wrapper, using the standard names.
ok doug guenther kettenis
|
|
testing and ok jsg@
|
|
|
|
as well as useless include of the generated flag files.
|
|
|
|
|
|
|
|
ok jsg@ bmercer@
|
|
otherwise the high bit of AP will end up in TEX.
|
|
by Patrick Wildt who made a similiar change in Bitrig.
ok miod@ rapha@
|
|
ok deraadt@ miod@
|
|
ok mpi@, uebayasi@, dlg@
|
|
CIRCLEQ_* is deprecated and not called in the tree. The other queue types
have *_END macros which were added for symmetry with CIRCLEQ_END. They are
defined as NULL. There's no reason to keep the other *_END macro calls.
ok millert@
|
|
|
|
device tables and kernel config files. ok deraadt
|
|
ok mpi@ sthen@
|
|
after discussions with beck deraadt kettenis.
|
|
* you can #include <sys/endian.h> instead of <machine/endian.h>,
and ditto <endian.h> (fixes code that pulls in <sys/endian.h> first)
* those will always export the symbols that POSIX specified for
<endian.h>, including the new {be,le}{16,32,64}toh() set. c.f.
http://austingroupbugs.net/view.php?id=162
if __BSD_VISIBLE then you also get the symbols that our <machine/endian.h>
currently exports (ntohs, NTOHS, dlg's bemtoh*, etc)
* when doing POSIX compiles (not __BSD_VISIBLE), then <netinet/in.h> and
<arpa/inet.h> will *stop* exporting the extra symbols like BYTE_ORDER
and betoh*
ok deraadt@
|
|
The new CPU_BUSY_CYCLE() may be put in a busy loop body so that CPU can reduce
power consumption, as Linux's cpu_relax() and FreeBSD's cpu_spinwait(). To
start minimally, use PAUSE on i386/amd64 and empty on others. The name is
chosen following the existing cpu_idle_*() functions. Naming and API may be
polished later.
OK kettenis@
|
|
not sleep if the allocator cannot obtain a lock when BUS_DMA_NOWAIT is
specified.
idea and inputs from kettenis@, ok miod@
|
|
|
|
RB_TIMEBAD is documented well enough that the comment is not needed. sparc64
does slightly different and its comment is left with XXX.
OK deraadt@ miod@
|
|
host controller because autoconf(9) already does it.
Breakage reported by todd@
|