Age | Commit message (Collapse) | Author |
|
recent-ish macs with macgpio(4). Basically dropping one to DDB when pushed.
...and not to be confused by the "reset" button ;-)
feedback and ok drahn@
|
|
Otherwise a pmap_remove from a completed I/O may deadlock.
|
|
* no binary change
ok drahn@
|
|
flush the TLB immediately after doing so, to make sure there are no stale
TLB entries. Suggested by art@
ok art@, oga@, deraadt@, weingart@
|
|
if supported.
When we do memory management on intel this would lead to a LOT of
wbinvd() to deal with gpu->cpu incoherency. no one wants that.
Needed for sanity of inteldrm memory management which is coming up next.
|
|
into the sg_dma code instead of main bus_dma. Add identical code to i386
since this will be used in the next commit.
ok kettenis@ back in december.
|
|
tested by marco@
|
|
from mlarkin@ and me, with some amd64 fixes thrown in by deraadt@
ok marco@, deraadt@, pirofti@, mlarkin@
|
|
two distinct sets of routines: one for the ARCBios-compatible path used on
non-KL systems (such as O2 and Octane), and one for the KL system using
dksc() paths.
When trying to match a dksc() path, walk the KL configuration of the whole
system until the dksc controller is found; since the controller numbers are
not assigned sequentially and contiguously, the old code would not work on
complex systems (such as when booting from controller #6 when #3 to #5 are
unaffected).
|
|
and compare against them when attaching potential console drivers, to figure
out whether they indeed are acting are console devices or not.
|
|
and routines to turn a KL console and a KL component structs, respectively,
into struct sgi_device_location for further device identification.
XXX Due to the way PCI devices are numbered on PIC buses, this code is tainted
XXX by knowledge about PIC widgets, to compensate. I have considered changing
XXX xbridge(4) to have our PCI device numbering match KL on PIC-connected
XXX devices, but I expect this to be even uglier. This is not settled yet.
|
|
identify a given device by its physical connection, and add a lazy compare
routine. This will be used shortly.
|
|
instead of duplicating tedious mask and shift constructs MAXINT times.
|
|
|
|
|
|
tested by ratchov@
|
|
|
|
writing a new VID label.
|
|
|
|
|
|
first name is used, and remove any #define foo_region foo compatibility
defines.
Also, on sparc64, do not provide a `raw' version of bus_space_copy.
|
|
|
|
- clear initrd signature before returning to PMON or to the loaded kernel
- fail /etc/boot.conf access when loading from an initrd image, instead of
letting it point to the beginning of the kernel image and have the code
complain of lines being too long.
Bump minor version.
|
|
|
|
|
|
|
|
<madroach@zakweb.de>.
SiS 191 is not verified to work yet because he does not have the hardware;
if anyone has it, please contact him.
|
|
keep attaching bus 0 forever.
tested by mk@
|
|
|
|
ok deraadt@ kettenis@
|
|
ok kettenis, sgi usage of rbus_new_body() pointed out by miod
|
|
diff from NetBSD.
|
|
Intel CPUs come up with apic id's >= 32, even on systems with less than 32
logical CPUs.
ok krw@, marco@; tested by deraadt@
|
|
ok kettenis@
|
|
operations, where X or W is taken away. ok deraadt@ kettenis@
|
|
being page-aligned, and high being end of page (i.e.
high & PAGE_MASK == PAGE_MASK) everywhere, for consistency. Future code
will depend on this.
ok deraadt@
|
|
enlarge bsd.rd filesystem; this in turn causes a cd oflow, so enlarge
cd filesystem.
ok jsing@ deraadt@
|
|
|
|
|
|
ok miod@, deraadt@, todd@.
|
|
When we hit suspend time, go through all wsdisplays on the system. if
they are in mode MAPPED, but not MODE_DUMBFB then if possible do a full
vt switch to a !mapped vt, and prevent switching back until resume time.
This has to be called from MD code because this involves userland
running so that X can run the vt switch signal handler. This way, any
case where we are using the "poke registers from userland" model, we
will not be on the hardware when we go down, so the kernel can actually
handle thing properly.
Tested on several acpi laptops (by kettenis@ and ian@), x40 (me and
beck@ at LEAST) and zaurus (me). Maybe others, but if so I forgot who at
this time..
Idea from deraadt somewhere over the Faroe Islands (I thought of a
similar thing myself a while ago). Much prompting from him. Ok and
comments miod@
|
|
point registers, we no longer need to flush/purge the cache.
|
|
is risky. Delete the comment suggesting we might.
|
|
whitespace tweaks on i386 so that it matches).
ok kettenis@
|
|
as the last page table entry that was actually used is cleared. So make sure
we check the page table page is still there for every page we remove.
Otherwise we will bring back the tlb entry and cache lines when we touch the
freed page, and we will create an illegal alias (non-equivalent mapping)
as soon as the page gets re-used.
Seems to fix the last remaining issue with fast page recycling (although I
need to do a bit more testing to be sure).
Help from drahn@, ok jsing@ and miod@ (for an earlier version of this diff)
|
|
seem to have speakers at home.
|
|
being set to zero; this allows a full PIC bus to correctly configure I/O
resources.
While there, when initializing a ppb, setup I/O resources before memory
resources; without this a ppb connected to a PIC could not get I/O resources
if devices behind it would use both I/O and memory resources.
|
|
|
|
Driver written by Mikko Tolmunen <oskari@sefirosu.org>
|
|
ok kettenis@
|