Age | Commit message (Collapse) | Author |
|
interface. Without this we are potentially freeing TX buffers that are in
use, plus we leave DMA enabled when rebooting. This leads to an interrupt
storm at boot time if we were receiving/transmitting network traffic whilst
shutting down.
ok miod@. Tested by jasper@.
|
|
|
|
|
|
remove entries that are irrelevant and clean up comments/indentation.
ok miod@
|
|
ok jsing@ miod@
|
|
ok miod@
|
|
- 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@.
|
|
inline with all other architectures.
ok miod@
|
|
ok jasper@
|
|
the appropriate place and remove all of the magic numbers. Whilst we're
here fix up some KNF issues. Also, the get/set functions used the wrong
control registers, allowing the clock to update during operation.
ok miod@, jasper@
|
|
prodded by and ok dlg@
|
|
- minor knf nit (suggested by miod@)
|
|
when machdep.kbdreset is set, and the correct interrupt is fired,
the machine gets shut down.
with help from and ok jsing@, ok miod@
|
|
ok miod@
|
|
|
|
and graphical console based on the selection made in the ARCBIOS.
Early attachment of gbe(4) is still required, otherwise we have a working
graphical console.
ok miod@
|
|
of pckbd(4) and provides us with a console keyboard. Tested by jasper@.
ok miod@
|
|
ARCBIOS. Tested by jasper@.
ok miod@
|
|
it later on.
ok miod@
|
|
operate prior to the bus space extents being created.
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@
|
|
ok miod@
|
|
|
|
ok miod@
|
|
|
|
ok deraadt@
|
|
directive can select between MI and MD versions of these files. At
the same time, adjust the boot programs to pick exactly what they need,
instead of the 7 or 8 mechanisms previously used.
There will be some fallout from this, but testing it all by myself is a
ridiculously slow process; it will be finished in-tree.
Various developers were very nice and avoided making fun of me when I
was gibbering in the corner..
|
|
ok miod@
|
|
decide which files must be pulled into the kernel. Also conditionalize
the pulling of those files based on the COMPAT_* options.
|
|
existing bus interfaces to be used to access the GBE hardware found in the
SGI O2.
ok miod@
|
|
OpenBSD/sgi and prevents it from stealing the console.
ok miod@
|
|
of interrupt storms and enables the user to "boot poweroff" from ddb,
instead of pulling the powercord.
Initial code heavily reworked by miod@
ok miod@
|
|
ok miod@
|
|
pmap_update() to return with this value in v0. A void function. Bwahahaha.
|
|
in addition to the OSLoadOptions variable; and do not default to -a -s if
it is missing or empty.
ok deraadt@ jsing@
|
|
ok miod@ deraadt@
|
|
|
|
|
|
storms from occurring on IRQ 6. ok miod@
|
|
|
|
- Move the functionality of choosing a process from cpu_switch into
a much simpler function: cpu_switchto. Instead of having the locore
code walk the run queues, let the MI code choose the process we
want to run and only implement the context switching itself in MD
code.
- Let MD context switching run without worrying about spls or locks.
- Instead of having the idle loop implemented with special contexts
in MD code, implement one idle proc for each cpu. make the idle
loop MI with MD hooks.
- Change the proc lists from the old style vax queues to TAILQs.
- Change the sleep queue from vax queues to TAILQs. This makes
wakeup() go from O(n^2) to O(n)
there will be some MD fallout, but it will be fixed shortly.
There's also a few cleanups to be done after this.
deraadt@, kettenis@ ok
|
|
- if ((mapstore = malloc(mapsize, M_DEVBUF,
- (flags & BUS_DMA_NOWAIT) ? M_NOWAIT : M_WAITOK)) == NULL)
+ if ((mapstore = malloc(mapsize, M_DEVBUF, (flags & BUS_DMA_NOWAIT) ?
+ (M_NOWAIT | M_ZERO) : (M_WAITOK | M_ZERO))) == NULL)
return (ENOMEM);
- bzero(mapstore, mapsize);
|
|
|
|
kernel builds locally this doesnt change much but over NFS this
cuts about 12% of the build time on my setup (i386).
OK miod@, deraadt@.
|