aboutsummaryrefslogtreecommitdiff
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Tell stupid users to write the bootcode.upstream/2.0_cvsrelease/2.0_cvsJordan K. Hubbard1994-11-22931-16037/+1044
| | | | | This commit was manufactured to restore the state of the 2.0-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
* This commit was manufactured by cvs2svn to create branch 'RELEASE_2_0'.cvs2svn1994-11-223-88/+124
|
* -> RELEASEPoul-Henning Kamp1994-11-221-3/+3
|
* This commit was manufactured by cvs2svn to create branch 'RELEASE_2_0'.cvs2svn1994-11-221-8/+8
|
* This commit was manufactured by cvs2svn to create branch 'BETA_2_0'.cvs2svn1994-11-21111-1932/+11781
| | | | Notes: svn path=/releng/BETA_2_0/; revision=4743
* declare atdevbasePoul-Henning Kamp1994-11-191-1/+3
| | | | | | | (this is on the branch of the tree) Notes: svn path=/releng/ALPHA_2_0/; revision=4683
* On the ALPHA-branch:Poul-Henning Kamp1994-11-161-3/+3
| | | | | | | 2.0-BETA now Notes: svn path=/releng/ALPHA_2_0/; revision=4521
* This commit was manufactured by cvs2svn to create branch 'ALPHA_2_0'.cvs2svn1994-11-092-144/+38
| | | | Notes: svn path=/releng/ALPHA_2_0/; revision=4325
* Set version correctly.Poul-Henning Kamp1994-11-081-4/+4
| | | | Notes: svn path=/releng/ALPHA_2_0/; revision=4314
* This commit was manufactured by cvs2svn to create branch 'ALPHA_2_0'.cvs2svn1994-11-08329-133807/+0
| | | | Notes: svn path=/releng/ALPHA_2_0/; revision=4294
* Ugen makes it in with 10 seconds to spare with a one-char diff. SomeJordan K. Hubbard1994-11-081-1/+1
| | | | | | | | people are born lucky.. Submitted by: ugen Notes: svn path=/head/; revision=4286
* Almost 12th hour (the 11th hour was almost an hour ago :-) patchesJordan K. Hubbard1994-11-083-155/+158
| | | | | | | from Ugen. Notes: svn path=/head/; revision=4277
* If we have no MBR, we need to allow the poor guy to write one...Poul-Henning Kamp1994-11-081-3/+7
| | | | Notes: svn path=/head/; revision=4268
* Add back ze0 driver; somebody took it out of _both_ LINT and GENERIC,Jordan K. Hubbard1994-11-085-5/+13
| | | | | | | kinda hosing the laptop folks. Notes: svn path=/head/; revision=4263
* Change "fdx: Floppy not writeable" to less confusingAndrey A. Chernov1994-11-083-6/+6
| | | | | | | "fdx: write protected". Not writeable maybe means bad, etc. Notes: svn path=/head/; revision=4261
* From: Lars Fredriksen <fredriks@mcs.com>Jordan K. Hubbard1994-11-083-3/+63
| | | | | | | | | Here is a patch to fd.c that will check to make sure the floppy is not writeprotected when you try to open the device RW. Submitted by: lars Notes: svn path=/head/; revision=4260
* From: Lars Fredriksen <fredriks@mcs.com>Jordan K. Hubbard1994-11-082-14/+86
| | | | | | | | | | Here is the improved probe for the mse (Bus Mouse) device driver. I have been running with this under 1.1.5.1 as well as 2.0 without a hitch for quite a while. Submitted by: lars Notes: svn path=/head/; revision=4259
* I noticed some weird english had crept in - fix it up a bit.Jordan K. Hubbard1994-11-081-6/+5
| | | | Notes: svn path=/head/; revision=4251
* Cosmetic - the help screen didn't have its header properly formatted. NeededJordan K. Hubbard1994-11-081-3/+3
| | | | | | | an extra tab. Notes: svn path=/head/; revision=4250
* Added "const" to the arguments here and there.Poul-Henning Kamp1994-11-072-7/+7
| | | | Notes: svn path=/head/; revision=4245
* Avoid a division by zero if the actual sector size isn't known during theJoerg Wunsch1994-11-071-1/+7
| | | | | | | | | | device announcement; assume a sector size of 512 instead (likely to be right at all). This case happens when booting with a removable disk device attached (e.g. an MOD), but no medium inserted. Notes: svn path=/head/; revision=4243
* Improved the user interface:David Greenman1994-11-073-22/+41
| | | | | | | | | 1) Added file list capability via '?'. 2) Arranged usage info to be more unix-like. 3) Fixed backspace over prompt annoyance. Notes: svn path=/head/; revision=4237
* 2 11th-hour fixes from Ugen (not Uben, sorry!) J.S.Antsilevich.Jordan K. Hubbard1994-11-072-58/+104
| | | | | | | | | | I think it's time for Ugen to get a freefall account, just so I can direct mail at him directly and let him drop off patches for us here. Ugen? Done! Submitted by: ugen Notes: svn path=/head/; revision=4234
* Calling sync will panic you more often than not.Poul-Henning Kamp1994-11-072-8/+2
| | | | Notes: svn path=/head/; revision=4225
* Added a kernel variable, "dodump" defaulting to zero, which disables dumps.Poul-Henning Kamp1994-11-075-5/+24
| | | | | | | | | | | | Somebody should make a mib variable for it. Just now it is pointless to dump the kernel, since we have nothing which can read the dump. Furthermore is should never be the default to dump. options DODUMP will enable dumps. Notes: svn path=/head/; revision=4221
* Initialize %fs and %gs from %ds.Poul-Henning Kamp1994-11-063-3/+18
| | | | | | | | This seems to stabilize the APM-bios on my Gateway Handbook, and it makes sense in general too. Notes: svn path=/head/; revision=4217
* Put a small hack into a large hack named makeyscall.sh. Generate onlyAndreas Schulz1994-11-061-2/+5
| | | | | | | one lkmnosys() entry in init_sysent.c. Notes: svn path=/head/; revision=4216
* Security nitpicking: don't make *.core world readableAndrey A. Chernov1994-11-061-2/+2
| | | | Notes: svn path=/head/; revision=4210
* Fixed return status from pagers. Ahem...the previous method would manufactureDavid Greenman1994-11-063-17/+25
| | | | | | | | | data when it couldn't get it legitimately. :-( Submitted by: John Dyson Notes: svn path=/head/; revision=4207
* Added support for starting the experimental "vmdaemon" system process.David Greenman1994-11-063-80/+358
| | | | | | | | | | | | | | | | | Enabled via REL2_1. Added support for doing object collapses "on the fly". Enabled via REL2_1a. Improved object collapses so that they can happen in more cases. Improved sensing of modified pages to fix an apparant race condition and improve clustered pageout opportunities. Fixed an "oops" with not restarting page scan after a potential block in vm_pageout_clean() (not doing this can result in strange behavior in some cases). Submitted by: John Dyson & David Greenman Notes: svn path=/head/; revision=4203
* Added support for starting the experimental "vmdaemon" system process.David Greenman1994-11-061-3/+19
| | | | | | | | | Enabled via REL2_1. Submitted by: John Dyson Notes: svn path=/head/; revision=4202
* Do a better job at preparing registers for the new process in setregs()David Greenman1994-11-062-16/+22
| | | | | | | by setting them all to a known state. Notes: svn path=/head/; revision=4201
* Nuke the losing version of microtime. The assembler version now worksBruce Evans1994-11-062-52/+12
| | | | | | | | | | | | for all reasonable HZ's. HZ > 1000 doesn't work because of sloppy conversions in hzto() (division by (tick / 1000) == 0). This was fixed in 1.1.5. Eliminate some extern declarations by including the appropriate header files that now contain appropriate declarations. Notes: svn path=/head/; revision=4193
* Public function declarations moved to <machine/npx.h>.Bruce Evans1994-11-063-12/+3
| | | | Notes: svn path=/head/; revision=4188
* Abort writes if a signal is received (don't ignore the value returned byBruce Evans1994-11-061-10/+26
| | | | | | | | | | | | | tsleep()). Try `dd if=/dev/zero of=/dev/pcaudio bs=640k count=1'. The write takes a few hundred seconds to drain, and if it is killed by a signal, it still takes a few hundred seconds to drain and all of those seconds are spent busy-waiting. Clean up includes and declarations. Remove bogus casts of args to timeout functions. Notes: svn path=/head/; revision=4187
* The style in my patch011 is inconsistent and out of date. It shouldBruce Evans1994-11-063-6/+6
| | | | | | | have been changed _before_ committing the patch. Notes: svn path=/head/; revision=4186
* Work around microtime() enabling interrupts.Bruce Evans1994-11-063-3/+30
| | | | Notes: svn path=/head/; revision=4185
* Maintain a new variable `timer0_overflow_threshold' so that microtime()Bruce Evans1994-11-055-205/+435
| | | | | | | | | | | | | | | | | | | | | | | | doesn't have to calculate it every call. Rename `timer0_prescale' to `timer0_prescaler_count' and maintain it correctly. Previously we lost a few 8253 cycles for every "prescaled" clock interrupt, and the lossage grows rapidly at 16 KHz. Now we only lose a few cycles for every standard clock interrupt. Rename `*_divisor' to `*_max_count'. Do the calculation of TIMER_DIV(rate) only once instead of 3 times each time the rate is changed. Don't allow preposterously large interrupt rates. Bug fixes elsewhere should allow the system to survive rates that saturate the system, however. Clean up declarations. Include <machine/clock.h> to check our own declarations. Notes: svn path=/head/; revision=4180
* Fix a bug introduced between 1.1 and 1.1.5. Loading the time was movedBruce Evans1994-11-051-84/+111
| | | | | | | | | | | | | | | | | | | | | | outside the critical region. Make it work with 2.0. It wasn't designed to be called at splclock(). Make it work with prescaling. The overflow threshold was bogus. Make it work for any HZ. Side effect of fixing prescaling. Speed it up. Allocate registers better. Reduce multiplication and division to multiplication and a shift. Speed is now 5-6 usec on a 486DX/33, was about 3 usec more. Optimize for the non-pentium case. The pentium code got moved around a bit and hasn't been tested. Change #include's to 2.0 style. Notes: svn path=/head/; revision=4179
* Declare all functions exported by the npx driver.Bruce Evans1994-11-053-12/+51
| | | | | | | Uniformize idempotency ifdefs. Notes: svn path=/head/; revision=4175
* Declare the full uglyness of the interfaces to the clock driver (exceptBruce Evans1994-11-052-12/+92
| | | | | | | things declared in machine-independent files). Notes: svn path=/head/; revision=4174
* Disable the direct call from hardclock() to softclock(). SupportBruce Evans1994-11-052-16/+38
| | | | | | | | | | | | | | | | | for it is incomplete and buggy. There is no problem unless Xintr0() is reentered or should be reentered, but high clock interrupt frequencies for pcaudio cause Xintr0() to be reentered (or clock ticks to be lost when Xintr0() should have been reentered but wasn't), and we lose little by delaying the call to softclock(). Move declarations related to the clock driver to clock.h. Move declarations related to the npx driver to npx.h. Clean up the remaining declarations. Notes: svn path=/head/; revision=4173
* Change -O2 to -OAndrey A. Chernov1994-11-051-2/+2
| | | | | | | | With each gcc version -O2 can cause absolutely unpredicatable things Second stage boot still fits in allowed size Notes: svn path=/head/; revision=4172
* Argh! Missing quotes.Jordan K. Hubbard1994-11-052-4/+4
| | | | Notes: svn path=/head/; revision=4157
* We need CD9660 and MSDOS filesystems built-in if the floppy is to haveJordan K. Hubbard1994-11-052-6/+10
| | | | | | | | a hope of getting at these types of filesystems without dragging all the LKM stuff in. Notes: svn path=/head/; revision=4156
* From tim@cs.city.ac.uk (Tim Wilkinson):David Greenman1994-11-046-12/+26
| | | | | | | | | | | | | | | | Find enclosed a short bugfix to get the union filesystem up and running in FreeBSD-current. We don't think we've got all the problems yet but these fixes sort out the major ones (which mostly concert bad locking of vnodes), no doubt we'll post others as necessary. Known problems include the inability of the umount command (not the system call) to unmount unions in certain circumstances (this is due the way "realpath" works), and the failure of direntries to always get all available files in unioned subdirectories. We are, as they say, working on it. Submitted by: tim@cs.city.ac.uk (Tim Wilkinson) Notes: svn path=/head/; revision=4140
* Last commit was bogus. Changed b_bsize to b_bcount.Poul-Henning Kamp1994-11-041-2/+2
| | | | Notes: svn path=/head/; revision=4133
* __386BSD__ -> __FreeBSD__Jordan K. Hubbard1994-11-043-6/+6
| | | | | | | | | I know that many of these entries are bogus and need to be revisited, but let's get the tree working again for now and then do a pass through looking at all the __FreeBSD__ entries, shall we? Notes: svn path=/head/; revision=4131
* Backed out mbuf performance improvement. mbufs are allocated with variousDavid Greenman1994-11-041-32/+4
| | | | | | | | | | | | different types, and with the 'local cache', what is freed isn't necessarily what was originally malloced. This screws malloc's statistics and type allocation limits, resulting eventually in a deadlock when one of the limits is bogusly reached. Recent performance tests on a Pentium machine indicate no improvement with this optimization anyway (this is something to be looked at further). Notes: svn path=/head/; revision=4130
* Fix off-by-one error reported to NetBSD by Karl Fox inGarrett Wollman1994-11-031-2/+2
| | | | | | | <9411031449.AA11102@gefilte.MorningStar.Com>. Notes: svn path=/head/; revision=4127