Age | Commit message (Collapse) | Author |
|
rather than abusing <machine/cpu.h>.
|
|
of previous computation fix.
|
|
|
|
|
|
|
|
for IP numbers under 30 (Octane), and add a few interesting ones.
No functional change, except making my life easier for upcoming work.
|
|
by anything yet, but has been lying in one of my trees for too long.
|
|
from struct user. Nothing left to zero-out here so the line goes.
pointed out by deraaadt@
|
|
of per-rthread. Handling of per-thread tick and runtime counters
inspired by how FreeBSD does it.
ok kettenis@
|
|
|
|
pages. This will allow R5000-based systems with physical memory fitting in
CKSEG0 to use 16KB pages and direct maps (since only XKPHYS accesses trigger
the XKPHYS coherency errata on these processors).
Tested on IP32, IP30 and IP27 (and loongson too as well).
|
|
my face then...) depends upon PMAP_PREFER_ALIGN to be a power of two, minus one.
On mips64 with 4KB pages, the runtime variable used to compute PMAP_PREFER_ALIGN
had the low PAGE_SHIFT bits zeroed (for no good reason I'd say). Don't bother
zeroing them anymore.
|
|
trampolines) to them; this makes sure there is no risk of pending writes
being lost when we clear the caches. Of course, this would be a bug in the
cache handling routines, but having our vectors correctly set will help
debugging the issue.
Tested on sgi and loongson.
|
|
restrict to 4KB if the kernel is configured with R5000 or RM7000 family support.
Allow the kernel configuration to override this if it knows better (e.g. an
upcoming kernel configuration with support for R5000, but where physical
memory on R5000 systems fits within the first 512MB).
|
|
some ARCBios don't like this.
|
|
is bootp() instead of a disk). Kind of ugly because of the usual `can't seek'
problem causing kernels with symbols to be read from the network twice.
While there, add a 32 bit ECOFF boot block, not hooked to the build yet,
to be used shortly.
|
|
are able to handle the given discipline. At this stage amd64 boot(8) is
limited to RAID 1. This makes life easier for users who are booting from
a softraid crypto volume, but are loading a kernel from hd0a:/bsd.
Tested by jrick@devio.us - thanks!
|
|
irrelevant with acpi machines
|
|
|
|
|
|
control domain to talk to the sun4v hypervisor.
|
|
|
|
|
|
different scheme.
ok jsg@
|
|
new space. The same cannot be done yet with some other architectures
which share the RAMDISK kernel amongst media types too tightly. I am
investigating the horrific src/distrib cleanups required to fix that.
|
|
subspaces in the CCA_NC uncached memory space. However, being coherent,
there was never a need for bus_dma to use uncached addresses.
This means that, on the only systems where uncached_base was not set to
PHYS_TO_XKPHYS(0, CCA_NC), it was never used.
Remove the variable, and replace PHYS_TO_UNCACHED() with
PHYS_TO_XKPHYS(, CCA_NC). No functional change.
|
|
bus_space_tag on sgi, but rather always provide at least a dummy asm("sync")
flavour. Saves a function pointer test at runtime.
|
|
|
|
no oks (it is really a pain to review properly)
extensively tested, I'm confident it'll be stable
'now is the time' from several icb inhabitants
Diff provides:
- ability to specify different allocators for different regions/maps
- a simpler implementation of the current allocator
- currently in compatibility mode: it will generate similar addresses
as the old allocator
|
|
- whilst here, normalise Nd
|
|
Tested on alix and soekris by benno, mpf, shadchin and myself. Loongson
tests by miod. OK mpf, shadchin, kettenis
|
|
emulated pci functions #2 and #3; from NetBSD
|
|
ok miod@
|
|
for recording. Fixes full-duplex apps (including sndiod) unable to fall
back to play-only mode. Found by david@
|
|
GENERIC.MP on luna88k is now stable. Changes are:
- Make secondary processors boot sequence closer to OpenBSD/aviion.
This makes boot sequence more stable. Now we have not see any
assertions or panics during boot.
- Implement IPI as level 1 hardware interrupt by using software
interrupt register.
- Add IPI support and some clean-ups in interrupt handler function.
|
|
|
|
|
|
|
|
pci configuration space accesses to allow proper recovery from failure, causing
the measure not to have any effect and the system to freeze hard.
Fixes use of pcidump -x on B1000, and probably more systems.
|
|
ok kettenis@
|
|
ok kettenis@
|
|
from Tobias Ulmer (tobiasu at tmux.org); ok jmc@, krw@
|
|
|
|
a nop on R5k and RM52xx, but actually required on RM7k.
|
|
InvalidatePage_* cache operations on RM52xx and RM7k, as strongly recommended
by the manual.
|
|
fix various typos in comments, harmonize a few of them, and rename the internal
InvalidateSecondaryPage define to InvalidatePage_S for consistency.
No change in generated code.
|
|
|
|
out the intended device name from the realdev constructed by
opendev(). Should fix the issue found by stsp@ in trying to install
a boot-from-softraid sparc64.
ok deraadt@
|
|
|
|
from Bryan Steele
|