Age | Commit message (Collapse) | Author |
|
and -nopie directly. Binaries from a PIE system are identical to those from
a recent snapshot.
ok deraadt@
|
|
Fujitsu SPARC64-VI and SPARC64-VII CPUs. Since the two threads on each core
share the TLBs of the core we cannot enter different mappings for the same
virtual address. Instead we use a scratch register to store the per-cpu
pointer. This is very similar to what we do on sun4v.
For now we still only attach the first thread of each SPARC64-VI/VII core
since we currently don't handle the VMT (Vertical Multi-Threading) of the
SPARC64-VI very well.
|
|
a 64K boundary. This means we don't have to worry about virtual cache aliasing
anymore since SPARC V9 CPUs have at most a 16K aliasing.
|
|
layout as NetBSD.
|
|
unconditional SIGSEGV. Fixes random SIGSEGVs during single-stepping.
ok miod@
|
|
directly instead. This will be the approach taken by every other arch too
in the near future. It is easier than relying on bsd.own.mk to set these
correctly.
discussed with and ok deraadt@
|
|
|
|
|
|
updated gcc and ld to understand the new -nopie flag.
ok deraadt@
|
|
|
|
|
|
ok deraadt@
|
|
|
|
same problem/fix as sparc.
|
|
Add display of more feature bits: DTES64 PCID DEADLINE F16C RDRAND
Add display of "Structured Extended Feature Flags Parameters":
FSGSBASE SMEP EREP INVPCID
ok mikeb@
|
|
ok deraadt@
|
|
|
|
|
|
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.
ok matthew@, conceptually ok kurt@
|
|
cleaned up later.
ok deraadt@
|
|
compilers defaulting to c99 inline instead of the old gnu style.
ok guenther@ miod@ deraadt@
|
|
ok miod@ (who found others to fix as well)
|
|
built with -fno-pie. This gets the hairiest part of PIE out of the way ...
ok deraadt@
|
|
spotted by clang
ok deraadt@
|
|
store the type of the interrupt (level, edge).
ok miod@, mpi@
|
|
|
|
`struct device' as its softc. This is not the case on loongson, and the
glxpcib softc gets subtly corrupted, causing a kernel panic when attempting
to select the glxpcib timecounter as the current timecounter.
Skirt this by not using the pcib softc fields if we are invoked from
glxpcib - it is not really worth putting pcib_softc in a header for the sake
of MI glxpcib code.
|
|
Fixes DMA problems spotted on the v445.
|
|
on the v445 (compared to the v215/v245). Generalize the code to allow for
arbitrary wirings. Makes the serial console on the v445 work.
|
|
ok miod
|
|
|
|
|
|
ok deraadt@
|
|
sense as a for() body. One semicolon is enough. From llvm via Brad.
|
|
* call only for set translation on (once in /sys/dev/pckbd.c)
therefore we can delete unused code.
* change behavior (more standard) - return zero on success
ok miod@
|
|
a chance to run...
|
|
|
|
fixing an old n32-inherited bug in the process. Spotted during guenther@'s
syscall factorization work.
|
|
|
|
|
|
an MI file, <sys/syscall_mi.h>, correcting inconsistencies and the
handling when copyin() of arguments fails.
Tested on i386, amd64, sparc64, and alpha (thanks naddy@)
Any issues with other platforms will be fixed in tree.
header name from millert@; ok miod@
|
|
|
|
ok guenther@
|
|
with a large physical address size (greater than 36 bit). Fixes a
major performance hit seen on newer servers where an incorrectly
programmed memory region length affects the PCI device mappings.
While here, make sure to invalidate the TLB after programming MSRs
and fix an incorrect behavior found by deraadt@ where MTRRdefType
was updated outside of the protected region.
The fix was partly obtained from FreeBSD, tested by many.
With and OK deraadt
|
|
to appease dhcpd, as dhcpd has now been fixed to not require this.
repeated prodding and special ok deraadt@
|
|
|
|
ifm_status, for dhclient's sake. Current dhclient interface_status()
considers interfaces able to report media information but not returning
IFM_AVALID as down. Note that these interfaces usually have mii(4) or
have specific code reporting correct values; sparc le(4) is an exception.
Found the hard way by sebastia@; joint work with krw@, ok deraadt@
|
|
|
|
gio_id(), not the whole 32 bit first word. Some boards with a 8-bit only ID
register use the other 24 bits, sadly.
|
|
are not frame buffers. Thanks to Martin Boehme for donating such boards!
|