Age | Commit message (Collapse) | Author |
|
change.
|
|
logic in 3 files. Devices register a function to be called to turn the
led on and off based on load average. (Note: rerun config and make depend)
|
|
|
|
homegrown define.
ok deraadt@
|
|
Spotted by: art@ No cookie for: deraadt@
|
|
|
|
on all other architectures. remove last architecture dependent #ifdef from
uvm code.
|
|
|
|
drahn@ millert@ ok
|
|
|
|
it to userland so that i386 builds (other architectures didn't show the
problem).
deraadt@ ok
|
|
|
|
proc.h in cpu.h on __HAVE_CPU_INFO architectures. cpu.h is usually included
in param.h.
This also removes the horrible kludge with ifdef SYS_PROC_H in sched.h
by simply converting the inline functions into macros.
With a few suggestions from nordin@
deraadt@ ok
|
|
|
|
and m68k.
ok drahn@, millert@
|
|
cluster value that noone will really need to crank.
|
|
|
|
to built-ins, so eventually we will have one version of these files.
Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h
and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes.
okay millert@, drahn@, miod@.
|
|
|
|
|
|
now call the poll backend. With this change we implement greater
poll(2) functionality instead of emulating it via the select backend.
Adapted from NetBSD and including some changes from FreeBSD.
Tested by many, deraadt@ OK
|
|
as sparc* do not use Xsun-compatible event interface anymore, and alpha only
used this for Xtga which we do not ship anymore.
Discussed long ago with matthieu@
|
|
the decode to be wrong.
|
|
- good start are fully decoding LDQF(A)/STQF(A)
|
|
|
|
T_ILLINST handler fetches instruction and decodes it. If it's stqf, ldqf,
stqfa, or ldqfa call emulation instead of SIGILL directly.
Note: this still SIGILL's in the end, the emulation isn't done yet.
|
|
|
|
|
|
|
|
associate a name with each interrupt handler. This is not visible
outside the kernel (yet).
ok jason@
|
|
pointers, and adapt creator to the fb api.
ok jason@
|
|
and eventually share some drivers.
This also brings us screen unblanking upon entering ddb, which can be really
useful at times...
|
|
|
|
|
|
|
|
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
has arguments but no clobbers, then everything is clobbered. The in-tree
gcc also likes to insert redundant "sra"s. These changes help gcc generate
somewhat better code for the spl*() functions. This change shrank my GENERIC
kernel by 27136 bytes.
ok jason@
|
|
assym.h can do that for us.
mdw@ henric@ ok
|
|
everything (so gcc doesn't assume everything is clobbered).
ok jason@
|
|
trying to use the interrupt pin (or is it that the PCI
function?) as the interrupt vector, this computes the vector
from the PCI bus, slot, and pin. This will only change mappings
on psycho-based machines (*not* sabre, i.e., IIi/e) and only for
those vectors reported as nonsense INRs (INO 0-3).
This should fix the mapping of non-bridge expansion cards on U60
and E450, and other psycho boxen. U30 seems to do its own
thing.
|
|
them available via sysctl (doc update in a bit); ok millert.
|
|
both a "next" pointer for a singly-linked list and as an in-use flag.
This obviously does not work all that well. This change adds a separate
ih_busy flag to mark the handler as in-use, leaving ih_pending for use by
the list code.
Testing by *many* (thanks).
ok miod jason
|
|
on faster systems under heavy network load. This replaces some of the
unreadable iommu functions with something a little less dense and a lot
less crash prone.
The bus_dma function pointer/cookie handling was broken. Change them
to work like the stacked bus_space drivers (where "work" is the key
word).
Tested my many (thanks).
ok jason@ deraadt@
|
|
Reduce the size of a GENERIC kernel by ~190k
Remove the nasty pointer/bus_space_handle_t casts
Adds debug bus_space code including the ability to trace
bus operations (it actually works now).
The following rules are now followed (and verfified by the debug
code):
1. A "bus_space_handle_t" may only be used with the
"bus_space_tag_t" that created it.
2. Only "bus_space_map()" may create "bus_space_handle_t"s.
3. A "bus_space_handle_t" may not be modified after it has
been created (other than being destroyed by "bus_space_unmap()").
Thanks to help from mcbride, marc, jason, drahn, to anyone that might
have slipped my mind at the moment.
ok jason@, deraadt@
|
|
|
|
|
|
store function pointers in the pci_chipset_tag_t (ie. fix an ugly hack
I did during the hackathon last year).
|
|
|
|
|
|
|