| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
miod explained it was initially a long as it was thought drivers may
need to allocate storage but in practice they don't need more than
32 bits for an attribute.
suggested and reviewed by miod@
|
|
|
|
|
|
|
|
| |
Suggested by John Carmack. miod agrees a rename would make sense and
explained it was initially thought drivers may need to allocate storage
but in practice they don't need more than 32 bits for an attribute.
ok mpi@
|
|
|
|
|
| |
Trivial except for tga(4) and gpx(4/vax) which need a bit more care setting
up a new font.
|
|
|
|
| |
No functional change.
|
|
|
|
|
|
| |
cleaning up some shutdown-hook related code on the way.
(A few drivers related to sparc are still skipped at kettenis' request)
ok kettenis mlarkin, tested by many others too
|
|
|
|
|
|
|
|
|
| |
resolution is not a multiple of the tile size, in emulation (text) mode.
The usual 1280x1024 resolution ended up with the correct value, by chance,
but a width of 1600 would be wrong. (X11 was running fine)
Tested on the 1600x1024 resolution of the 1600SW display. Thanks to Johan
Sanchez for lending me a 1600SW monitor and an adapter board.
|
| |
|
|
|
|
|
|
|
|
| |
ARCBios environment variable OSLoadOptions to "nosog". Now everyone
can enjoy running O2 without an SGI monitor and don't turn vegetarian
afterwards. All the essential bits come from NetBSD's crmfb driver
except they've chosen to use a "SyncOnGreen" variable not saved by
the ARCS. Pointers and corrections from and ok miod, jsing
|
|
|
|
| |
these among frame buffer drivers. No functional change.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
a physical address [more precisely, something suitable to pass to pmap_enter()'sphysical address argument].
This allows MI drivers to implement mmap() routines without having to know
about the pmap_phys_address() implementation and #ifdef obfuscation.
|
|
|
|
|
|
| |
before attaching wsdisplay; it was turning out harmless but using more
cpu time for nothing than necessary.
ok deraadt@
|
|
|
|
|
|
| |
this gives us working glass console on Fuel, as well as on Octane systems
with Odyssey graphics.
Joint work with jsing@
|
|
|
|
| |
to prevent further abuse of it.
|
|
|
|
|
|
|
|
| |
specified in the kernel configuration file, but is provided by macebus(4)
as part of the child device attachment args, and provide both crime and
mace interrupt bitmasks; this allows us to only really enable interrupt
sources we care about, and to avoid invoking interrupt handler we don't need
to for the few mace interrupts multiplexed at the crime level.
|
|
|
|
|
|
| |
return zero on success and nonzero on failure.
This commit only performs mechanical changes for the existing emulops to
always return zero.
|
|
|
|
|
|
|
|
|
| |
framebuffer for the console on SGI O2 workstations. X is still supported via
wsfb(4) by switching back to the unaccelerated linear framebuffer mode.
Some hardware details and magic numbers from NetBSD's crmfb(4) driver.
ok miod@ jasper@ "Sure, go for it" deraadt@
|
|
|
|
|
|
| |
systems, switch to the PHYS_TO_UNCACHED macro to compute proper addresses.
Not really necessary for the O2 which does not implement spaces, but can't
hurt either.
|
|
|
|
|
|
|
|
| |
inherited from OpenBSD/arc machines with ISA bus; mainbus children match on
device name and other hierarchies match on simplified locators.
As a bonus, attachment lines in dmesg will now print their locators.
ok jsing@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Internal restructure to separate code paths.
- Add support for early console. This allows for gbe(4) to takeover were
the ARCBios leaves off (if we should do so).
- Add support for 8bpp and 16bpp colour depths. As a result, we also have
support for colourmaps. We now use 8bpp as the default.
- Add mmap() support, enabling wsfb to operate correctly.
- Correct initial origin problem that occurred occasionally.
ok miod@. tested by jasper@.
|
|
|
|
|
|
| |
ARCBIOS. Tested by jasper@.
ok miod@
|
|
|
|
| |
"feel free to do so" jsing@
|
|
SGI O2 machines. We currently rely on the video hardware being initialised
by the ARCS firmware and can only use the initial resolution with a colour
depth of 32 bits. This driver is disabled by default.
ok miod@
|