Age | Commit message (Collapse) | Author |
|
there is no reason to keep the NX bit around on null PTEs (PTEs that have
been removed).
|
|
on newer sun4v implementations (possibly SPARC T3 and later, definitely not
there on SPARC T5) and it should not be necessary on older systems.
Tested by dlg@
|
|
The situation was: memcpy swaps registers and drops into bcopy, which does
the overlap check, before getting around to business. But memcpy is not
supposed to handle overlapped arguments special, so we don't need all this
complex register swapping and tests up front -- when memcpy is the most
common operation. Refactor all these upside downupside down.
Survived multiple make builds, so probably good, and faster.
ok dlg
|
|
ranges while we're there.
ok deraadt@, tested by many and in snaps
|
|
in pmap.c - equivalent code will shortly be committed to locore.S that
accomplishes the same thing.
ok deraadt@
|
|
used to be local net.c (renamed to pxe_udp.c) can now be obtained from
libsa's net.c rather than being duplicated.
No functional change.
|
|
while I had the hood open.
ok deraadt@, mpi@
|
|
referenced by the bootblocks.
|
|
Add the new files to the few md libsa builds which require it.
|
|
|
|
ok espie@ deraadt@ millert@ tedu@
|
|
mpi will investigate speedups after this.
ok mpi kettenis
|
|
|
|
used and depended, mimicking new changes by guenther to amd64.
|
|
|
|
openbsd_randomize segments. While here, make the 'bsd' target depend on
the ldscript.
problem noted by and ok deraadt@
|
|
tested by and ok jsg@
|
|
|
|
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
|
|
ok deraadt@
|
|
made possible by the install/upgrade changes by krw and the ifconfig
adjustments by me.
ok krw reyk
|
|
testing and ok jsg@
|
|
This is not necessary, as confirmed by tedu@ and kettenis@.
Solve the major contention problem seen on my Dual G5. Reduce the
build time of a kernel with two jobs from 5h+ to 18min and expose more
easily pmap/memroy corruptions 8)
ok kettenis@
|
|
ok deraadt, guenther
|
|
|
|
This had been used in the early years of poring OpenBSD to LUNA-88K,
but no longer used.
|
|
time page table after we are done creating it in the resuming kernel.
Note the resume time stack has to remain mapped as it is used during the
initial phase of the hibernate unpack while the original page table is
still being used.
|
|
ok deraadt@ mlarkin@ kettenis@
|
|
change.
noticed by deraadt@
|
|
if they are connected to the root hub and isochronous transfers are not
supported for the moment.
Let me know if your controller/device do not work. In this case attach a
dmesg of a kernel build with XHCI_DEBUG.
ok deraadt@
|
|
processors that support NX.
Tested on amd64 machines with and without NX capability.
Additional NX ranges can be added as desired to the table defined by
this diff.
ok deraadt@
|
|
ok miod@
|
|
ok deraadt@
|
|
this using an sd card with my rev C BeagleBone Black won't work. Should
fix similiar problems reported by Gerke Preussner and Andrew Hills on arm@
ok syl@
|
|
|
|
Tested by Bernard Merindol.
|
|
we have a proper X bit in the page tables. On 32-bit systems kernel .text is
handled by an IBAT, so we don't need page table entries that are executable
in the kernel pmap.
ok mpi@
|
|
the omap and sunxi ramdisks won't build because they
call wdog_register() and kern_watchdog.c is !small_kernel
in config.
Leaving the watchdog devices out of the ramdisks won't
work either as armv7_machdep.c uses platform_watchdog_reset()
to reboot.
Deal with this by only calling wdog_register() when
not compiled with SMALL_KERNEL.
|
|
removed back in 2011. Remove code under #if NRL > 0.
ok miod@
|
|
gsckbd was removed back in 2008 so this was never defined.
|
|
now wsdisplay_suspend() will run on suspend
|
|
map entry being entered in uniprocessor (UP) kernels. Multiprocessor (MP)
kernels not affected.
ok guenther, deraadt
|
|
to cover the first 8 MB of memory such that it covers kernel .text and not
much else. This is a first step towards W^X in the kernel for machines
with G4 and older processors.
ok mpi@
|
|
step towards W^X in the kernel, even though it is only effective on machines
with a G5 processor.
ok mpi@
|
|
|
|
|
|
- don't attach octrtc on the edgerouter pro either
openbsd boots fine on this system, but as there's no ethernet support yet
there's no storage at all right now.
ok pirofti@
|
|
ok pirofti@
|
|
|
|
sun4m's iommu for bus_dma. (Guess what task just hit my todolist...)
|