summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
1999-08-18enable ie0Michael Shalayeff
1999-08-18cleanupMichael Shalayeff
1999-08-17factor out ie device definition; niklas@ okMichael Shalayeff
1999-08-17typoNiklas Hallqvist
1999-08-17mem_access_fault4m: init ftype earlier to avoid passing junk to trapsignalArtur Grabowski
1999-08-17we're lucky that the return values from VOP_INACTIVE are ignoredArtur Grabowski
1999-08-17There was a line missing in the commit from rev 1.6 that resulted inTodd C. Miller
an uninitialized variable; art@stacken.kth.se
1999-08-17initialize an incorrectly uninitialized variableArtur Grabowski
1999-08-17initialize an incorrectly uninitialized variableArtur Grabowski
1999-08-17New cpu_fork API to take a stack in which you point the child's stackpointerNiklas Hallqvist
to, at the bottom or the top, depending on your architecture's stack growth direction. This is in preparation for Linux' clone(2) emulation. port maintainers, please check that I did the work right.
1999-08-17Fix a problem if midi at ym is defined but not mpu.Federico G. Schwindt
1999-08-16Sync with NetBSD. Mostly FreeBSD related changes.Federico G. Schwindt
Diffs sent to augustsson.
1999-08-16remove space.Federico G. Schwindt
1999-08-16manufacturer and product are 16 bits, 0xffff is the special caseTheo de Raadt
1999-08-16Remove unneeded ifdefs.Federico G. Schwindt
1999-08-16Kill meaningless reset printf().Jason Downs
1999-08-16Add cdboot...Jason Downs
1999-08-16Implement real CD booting, aka SYS_CDBOOT, the LIF file small enough toJason Downs
fit in the begining of an ISO9660 image...
1999-08-16Allow the twiddler to be disabled via a global.Jason Downs
1999-08-16Remove unneeded ifdefs.Federico G. Schwindt
1999-08-16Remove unnecessary code. Shorten dmesg output.Federico G. Schwindt
1999-08-16Remove netbsd ifdefs.Federico G. Schwindt
1999-08-16Don't establish irq later.Federico G. Schwindt
1999-08-16shorten dmesg output.Federico G. Schwindt
1999-08-16Fix typo.Federico G. Schwindt
1999-08-16more shorten dmesg output.Federico G. Schwindt
1999-08-16Remove unnecessary code. Shorten dmesg output.Federico G. Schwindt
1999-08-16even nicerTheo de Raadt
1999-08-16repair output of pcmcia_print() to match pciprint() and others; fgsch and ITheo de Raadt
1999-08-16report unhandled interrupts w/ DEBUG onlyMichael Shalayeff
1999-08-16unscrew the screupMichael Shalayeff
1999-08-16use structures to overlay registers in memory, not offsets, also interrupt ↵Michael Shalayeff
stuff (see above)
1999-08-16evcnt count the interrupts, also optimize diagnostic printingMichael Shalayeff
1999-08-16Only print revision if SMC_DEBUG is defined. Shorten dmesg output.Federico G. Schwindt
1999-08-15i82586/96 MI stuff currently in 586 mode, tested on hppa; from netbsd i82586Michael Shalayeff
1999-08-15media information shows up in ifconfig -m, does not need to show up in dmesgTheo de Raadt
1999-08-15reduce sizeTheo de Raadt
1999-08-15listen to COPTSNiklas Hallqvist
1999-08-15esym is needed for ksymsNiklas Hallqvist
1999-08-15syncFederico G. Schwindt
1999-08-15Allied Telesis LA-PCM support.Federico G. Schwindt
1999-08-15Sync with NetBSD.Federico G. Schwindt
Implement timeouts and abort requests. Compute length of short transfers correctly.
1999-08-15fit aic* at pcmcmiaTheo de Raadt
1999-08-15o Correctly set type and typename in driver-generated labelTodd C. Miller
Should really use viscopy() when copying atap_model -> d_packname. When wd's become sd's this will be trivial (viscopy() lives in sd.c)
1999-08-15Add missing HP385 defines...Jason Downs
1999-08-15ambicom ethernet address is in rom; 00107A==Ambicom sez hughTheo de Raadt
1999-08-15Adopt NetBSD fix for scheduler problems (nice was broken). From the NetBSDPaul Janzen
commit messages: Scheduler bug fixes and reorganization * fix the ancient nice(1) bug, where nice +20 processes incorrectly steal 10 - 20% of the CPU, (or even more depending on load average) * provide a new schedclock() mechanism at a new clock at schedhz, so high platform hz values don't cause nice +0 processes to look like they are niced * change the algorithm slightly, and reorganize the code a lot * fix percent-CPU calculation bugs, and eliminate some no-op code === nice bug === Correctly divide the scheduler queues between niced and compute-bound processes. The current nice weight of two (sort of, see `algorithm change' below) neatly divides the USRPRI queues in half; this should have been used to clip p_estcpu, instead of UCHAR_MAX. Besides being the wrong amount, clipping an unsigned char to UCHAR_MAX is a no-op, and it was done after decay_cpu() which can only _reduce_ the value. It has to be kept <= NICE_WEIGHT * PRIO_MAX - PPQ or processes can scheduler-penalize themselves onto the same queue as nice +20 processes. (Or even a higher one.) === New schedclock() mechanism === Some platforms should be cutting down stathz before hitting the scheduler, since the scheduler algorithm only works right in the vicinity of 64 Hz. Rather than prescale hz, then scale back and forth by 4 every time p_estcpu is touched (each occurance an abstraction violation), use p_estcpu without scaling and require schedhz to be generated directly at the right frequency. Use a default stathz (well, actually, profhz) / 4, so nothing changes unless a platform defines schedhz and a new clock. [ To do: Define these for alpha, where hz==1024, and nice was totally broke.] === Algorithm change === The nice value used to be added to the exponentially-decayed scheduler history value p_estcpu, in _addition_ to be incorporated directly (with greater weight) into the priority calculation. At first glance, it appears to be a pointless increase of 1/8 the nice effect (pri = p_estcpu/4 + nice*2), but it's actually at least 3x that because it will ramp up linearly but be decayed only exponentially, thus converging to an additional .75 nice for a loadaverage of one. I killed this: it makes the behavior hard to control, almost impossible to analyze, and the effect (~~nothing at for the first second, then somewhat increased niceness after three seconds or more, depending on load average) pointless. === Other bugs === hz -> profhz in the p_pctcpu = f(p_cpticks) calcuation. Collect scheduler functionality. Try to put each abstraction in just one place.
1999-08-15pciide & atapiscsikstailey
1999-08-14regenAaron Campbell
1999-08-14add ASIX88141Aaron Campbell