summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2004-07-30Move evcount structures inside struct intrhand, this makes more sense andMiod Vallat
gives us more counters in the process. Also clean up intrhand structures and usage, especially move them to SLISTs.
2004-07-30Might count timer interrupts as well (oops).Miod Vallat
2004-07-30Switch mvme68k to evcount interrupt counters.Miod Vallat
2004-07-30Correctly drain event queue on close. Fixes PR #3874Miod Vallat
2004-07-30Do not negotiate or use non-async transfer rates until probing (i.e.Kenneth R Westerback
SCSI_POLL'ing) is complete. Similar to what is done on mpt, ahc, ahd, etc. This fixes problems during probe on hppa. Problems found & ok mickey@.
2004-07-29Document the CARP header layout.Ryan Thomas McBride
2004-07-29Better diagnostic message on MVME188 interrupt handler, when we are unable toMiod Vallat
fetch the VMEbus interrupt vector in time.
2004-07-29proper condition for freeing a page and fix a comment appropriately; art@ ↵Michael Shalayeff
tedu@ ok
2004-07-29put the scheduler in its own file. reduces clutter, and logically separatesTed Unangst
"put this process to sleep" and "find a process to run" operations. no functional change. ok art@
2004-07-28This touches only MI code, and adds new time keeping code. TheThorsten Lockert
code is all conditionalized on __HAVE_TIMECOUNTER, and not enabled on any platforms. adjtime(2) support exists, courtesy of nordin@, sysctl(2) support and a concept of quality for each time source attached exists. High quality time sources exists for PIIX4 ACPI timer as well as some AMD power management chips. This will have to be redone once we actually add ACPI support (at that time we need to use the ACPI interfaces to get at these clocks). ok art@ ken@ miod@ jmc@ and many more
2004-07-28Call dom_dispose() for any SCM_RIGHTS message that went through theTodd C. Miller
read path rather than recv. Previously, if an fd was passed via sendmsg() but was consumed by the receiver via read() the ref count was incremented and never decremented and so the ref count would never reach zero even when there was no long any processes holding the file open (this was especially bad for locked fds). OK markus@ and art@
2004-07-28regenTodd C. Miller
2004-07-28pool(9) for rtentry and rttimer; similar to netbsd; ok mcbride, henning, pbMarkus Friedl
2004-07-283Com OfficeConnect 3CRSHPW796 Cardbus card is atw(4) rev 1.5.Todd C. Miller
Patch based on info from Sigfred Håversen and David Young.
2004-07-28Nuke option JEFF_DEBUG for good.Miod Vallat
(This code relies upon undefined C behaviour. Every day in ddb is your lucky day...)
2004-07-28Remove EH_DEBUG code.Miod Vallat
2004-07-28Keep exception specific defines in the exception handling code, instead ofMiod Vallat
polluting the kernel namespace.
2004-07-28In the never-ending saga of getting gcc to work reliably on m88k, today'sMiod Vallat
changes address incorrect stack usage, when optimization needs more nameless temporary values than available registers, and has to save them on stack. In some (rare) circumstances, it will compute a stack address _outside_ the current function local storage space, overwriting the caller's stack. Most of the time, this only affects the "outgoing argument area", which is harmless if it has not been populated; this explains why it has not been noticed earlier. Since I see no easy way to fix this, I decided to go the simpler way of removing this ougoing argument area. This not only reduces stack usage, but also makes varargs/stdarg code smaller and faster; also functions which get their first few arguments in registers, then some on the stack, then some in registers again, will not allocate stack space for the second set of arguments passed through registers. This is an ABI change, we are no longer 88Open compliant (have we ever been?).
2004-07-27Add per-device evcount interrupt counters; also use LIST_xxx macros in isr.cMiod Vallat
ok aaron@, tested aoyama@
2004-07-27Factorize exception handling code. The only different part between luna88kMiod Vallat
and mvme88k is the retrieval of the CMMU fault registers. Tested on mvme88k by myself and luna88k by aoyama@
2004-07-26Typos in comments.Miod Vallat
2004-07-26Belgium USB keyboard map; contributed by Richard Ben Aleya.Miod Vallat
2004-07-26RegenMiod Vallat
2004-07-26Minor glitches in the belgium keyboard layout; reported by Richard Ben Aleya.Miod Vallat
2004-07-26Remove orphaned prototypes.Miod Vallat
2004-07-26Provide a real pmap_proc_iflush() routine.Miod Vallat
2004-07-26Shrink more code if option PTRACE is not set; also use ss_put_value()Miod Vallat
in trap handlers instead of inlining it by hand.
2004-07-25more consistent handling of vnode recount during rename.Ted Unangst
should solve some panics. various testing for a while.
2004-07-25move db_show_all_procs to kern_proc.c, proc_printit goes in DDB too.Ted Unangst
shuffle functions around so that scheduler is all together. no real functional changes. ok art@ testing miod@
2004-07-25Store pci/cardbus revision number. From NetBSD (dyoung)Todd C. Miller
2004-07-25Program BARs before enabling memory or I/O access. From NetBSD (mycroft).Todd C. Miller
2004-07-25Begin conditioning device configuration on revision number. Three typesTodd C. Miller
are known: ADM8211A (1.1/1.5), ADM8211B (2.0), ADM8211C (3.0). The B and C parts, while not yet supported, have AP capability. From NetBSD (dyoung).
2004-07-25Merge luna88k and mvme88k pmap. The pmap will now assume that the memoryMiod Vallat
below the kernel text is reserved for the PROM, instead of using fixed (but different) values between luna88k and mvme88k. Tested on mvme88k by myself, on luna88k by aoyama@
2004-07-25Fix IBSS merges in atw(4). From NetBSD (dyoung)Todd C. Miller
2004-07-25Improve register definitions and slightly demystify some magicTodd C. Miller
numbers. From NetBSD (dyoung)
2004-07-25Here is the serial bus format for the RF3000. From NetBSD (dyoung)Todd C. Miller
2004-07-25typo, enevt -> eventBrad Smith
2004-07-25The RSSI field in the Rx descriptor is the unadulterated contentTodd C. Miller
of the DIVCTL/RSSI register on the RF3000 baseband. Mask all but the RSSI bits. From NetBSD (dyoung).
2004-07-24provide proper ip header alignment (and repair big endian archs again from ↵Michael Shalayeff
after ether_input_mbuf conversion); also kill some stupid spaces
2004-07-24New, working, profiling code for m88k.Miod Vallat
2004-07-24Use '=' not '==' with test. While ksh accepts '==' as a synomym for '=',Todd C. Miller
it is not valid in sh.
2004-07-24intr_establish() and related defines are mvme88k-only, so move them back fromMiod Vallat
<m88k/cpu.h>, and simplify the return values while there.
2004-07-24better operated entities and quantities in raw functionsMichael Shalayeff
2004-07-23Better fix for the ttymodem issue.Miod Vallat
2004-07-23Eventually get the MVME188 reset sequence to work, and allow it to returnMiod Vallat
to the BUG instead of spinning if our reset fails.
2004-07-23Be more careful when handling interrupts - especially the first one afterMiod Vallat
the console transition from BUG to the chip could lead us to invoke ttymodem() on a bogus tty.
2004-07-23Better delay code for MVME188. Should make console and network much moreMiod Vallat
reactive.
2004-07-23Move luna88k and mvme88k vm_machdep to m88k-agnostic code area.Miod Vallat
2004-07-23Nuke getdevunit().Miod Vallat
2004-07-22Add missing check for NULL in DIOCCHANGERULE. This prevents a crash inMathieu Sauve-Frankel
certain rare cases. ok mcbride@ dhartmei@