summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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@
2004-07-22Make the inline bzero() of the U area much more readable.Miod Vallat
As a bonus it generates smaller and faster code.
2004-07-22Grammar.Miod Vallat
2004-07-22Reset pcb_onfault to NULL before invoking uvm_fault().Miod Vallat
2004-07-22Remove redundant or useless section modifiers.Miod Vallat
2004-07-22Do not use db_printf() to trace data access exceptions.Miod Vallat
2004-07-22Remove some register keywords to make this compile on amd64.Artur Grabowski
2004-07-22Change a printf+Debugger pair into a panic.Artur Grabowski
Debugger calls in the middle of the code are evil because they don't respect the ddb.panic sysctl and might leave critical machines hung instead of quickly rebooting them. requested by tedu@
2004-07-22SIMPLELOCK -> mutex for the lock around deadproc list.Artur Grabowski
Also move the whole deadproc infrastructure to kern_exit, it's only used there. miod@ ok
2004-07-22Spell reserved correctly; ok from copyright holders when in licence blocks.Miod Vallat
2004-07-22Use mutex instead of SIMPLELOCK for locking the tlb shootdown queuesArtur Grabowski
and related structures. tedu@ ok