summaryrefslogtreecommitdiffstats
path: root/sys/i386
Commit message (Collapse)AuthorAgeFilesLines
* Use new printf features rather than local kludges.phk1996-01-241-3/+3
|
* Add commands for ptrace get/set registers.. (Same numbers as NetBSD)peter1996-01-241-3/+11
|
* procfs_machdep.c is now shared with ptrace as well. It is now no longerpeter1996-01-241-2/+3
| | | | optional.
* Hide the probe warnings behind `bootverbose'.joerg1996-01-231-2/+4
|
* Make PCI interrupt handlers return void like everybody else does.se1996-01-233-23/+14
| | | | Reviewed by: davidg
* Simplified savectx() a little and fixed a bug that caused it to returndg1996-01-234-27/+14
| | | | | | garbage in the child process rather than "1" like it is supposed to. Reviewed by: bde
* Initialize the cpu_class variable. This prevents i386 machines fromjoerg1996-01-211-2/+2
| | | | | panicing with a privileged instruction fault early at boot time. Submitted by: rock@wurzelausix.CS.Uni-SB.DE (D. Rock)
* Implement an optional TIMEOUT value while entering the boot parameterjoerg1996-01-212-4/+33
| | | | | string. This avoids indefinite hangs e.g. when used on a noisy serial console. It's not turned on by default.
* Newest version of the Matrox Meteor driver. Tested with various MBONEjkh1996-01-211-10/+19
| | | | | tools and found to work better with both nv and vic. Submitted by: Jim Lowe <james@miller.cs.uwm.edu>
* Added a comment above the npx0 device linenate1996-01-201-1/+2
| | | | # Mandatory, don't remove
* Reinstate AUTO_EOI_1. This did break suspend/resume on some portables.phk1996-01-192-40/+58
| | | | | In particular mine. We may want to make it a negative option to keep GENERIC sane, ie NO_AUTO_EOI_1.
* Fixed vm_map_find for new vm changes.dyson1996-01-191-5/+6
|
* Fixed vm_map_find for new vm updates.dyson1996-01-192-8/+13
|
* Some trivial fixes to get it to compile again, plus some new lint:peter1996-01-191-4/+7
| | | | | | | | - cpuclass should be cpu_class - CPUCLASS_I386 should be CPUCLASS_386 (^^ those only show up if you compile for i386) - two missing prototypes on new functions - one missing static
* Eliminated many redundant vm_map_lookup operations for vm_mmap.dyson1996-01-194-120/+334
| | | | | | | | | | | | | | | | | | | | | | | | | Speed up for vfs_bio -- addition of a routine bqrelse to greatly diminish overhead for merged cache. Efficiency improvement for vfs_cluster. It used to do alot of redundant calls to cluster_rbuild. Correct the ordering for vrele of .text and release of credentials. Use the selective tlb update for 486/586/P6. Numerous fixes to the size of objects allocated for files. Additionally, fixes in the various pagers. Fixes for proper positioning of vnode_pager_setsize in msdosfs and ext2fs. Fixes in the swap pager for exhausted resources. The pageout code will not as readily thrash. Change the page queue flags (PG_ACTIVE, PG_INACTIVE, PG_FREE, PG_CACHE) into page queue indices (PQ_ACTIVE, PQ_INACTIVE, PQ_FREE, PQ_CACHE), thereby improving efficiency of several routines. Eliminate even more unnecessary vm_page_protect operations. Significantly speed up process forks. Make vm_object_page_clean more efficient, thereby eliminating the pause that happens every 30seconds. Make sequential clustered writes B_ASYNC instead of B_DELWRI even in the case of filesystems mounted async. Fix a panic with busy pages when write clustering is done for non-VMIO buffers.
* Fix buffer sizes calculation looking into new Linux driver.ache1996-01-185-21/+27
| | | | | | Save 112K for SB, 64K for PAS and 64K for MSS. Since PAS use SB emulation, 176K normally saved for it. Few minor optimizations added like in Linux driver.
* Workaround missing interrupts - dma_reset on them (when timeout occurse).ache1996-01-171-0/+2
| | | | | | When you start tracker and produce some heavy disk activity, output interrupts becomes lost and I don't know how to solve it finally. Newly added code at least allows recovery after timeout.
* Use the new & improved printf rather than homegrown kludges.phk1996-01-162-19/+11
| | | | Proposed by: bde
* Small modification to my prev change:ache1996-01-161-6/+4
| | | | | | 1) set aborting flags for all signals because tsleep exited not by timeout and not by wakeup. 2) Simplify expression.
* 1) Fix comments: 386bsd -> FreeBSD, some other wrong info.ache1996-01-161-15/+17
| | | | | | | | | | 2) Use CURSIG(curproc) in PROCESS_ABORTING instead of junk code was there. 3) Reanimate timeout code in DO_SLEEP by setting WK_TIMEOUT flag which is never set in old code. 4) DO_SLEEP: set aborting flag on interrupting singnals as supposed, not on signals which do nothing as in old code. 5) Cleanup WAKE_UP macro, WK_WAKEUP not used. 6) Remove wrong typecasts in sleep/wakeup code.
* Removed declarations of nonexistent functions.bde1996-01-161-10/+2
|
* Since new bcd* macros not argument range overflow resistant,ache1996-01-162-8/+4
| | | | fix argument overflow for years >= 2000
* sleep/wakeup macros was designed to do it on random address in the stack.ache1996-01-161-4/+3
| | | | | | This random address can be matched (with some probability) with another sleep addresses from other drivers, which can cause strange sleep/wakeup sequence. Rewrite this ugly code to do the right thing.
* Get rid of two and a half printf in the kernel.phk1996-01-152-5/+5
| | | | | | | | | | | | | | | | | | | | Add more features to the one remaining to handle the job: + signed quantity. # alternate format - left padding * read width as next arg. n numeric in (argument specified) default radix. Fix the DDB debugger to use these. Use vprintf in debug routine in pcvt. The warnings from gcc may become more wrong and intolerable because of this. Warning: I have not checked the entire source for unsupported or changed constructs, but generally belive that there are only a few. Suggested by: bde
* My wife is busy making me a new conical hat, so you don't need tophk1996-01-152-46/+24
| | | | | send any to me this time. Commited an old copy of this files where the tables were swapped. Duh!.
* Soren called an said that I screwed up badly, so I backup untilphk1996-01-152-22/+44
| | | | I find out how... Sorry.
* Remove some unused vars, use new hex2ascii macro.phk1996-01-151-22/+9
|
* Make bin2bcd and bcd2bin global macroes instead of having localphk1996-01-155-77/+28
| | | | implementations all over the place.
* Add linux_mknod so that it will do mkfifo if needed...sos1996-01-143-43/+61
|
* Register our softc at attach time. I forgot to do this in my last commit,gibbs1996-01-141-1/+2
| | | | causing a panic.
* Document NFS_NOSERVER.phk1996-01-132-2/+4
|
* Fixed renaming of private DEBUG macro. The previous revision missedbde1996-01-132-10/+10
| | | | one case in asc.c and almost all cases in gsc.c.
* Fixed handling of Feb 29 in resettodr().bde1996-01-122-10/+22
|
* Add the 3C595 as a supported device for vx0. Delete the rest of the lineats1996-01-092-6/+6
| | | | for the vx0 device, it is not needed as for all other pci devices.
* Fix the 'extraneous newline' problem a little more sensibly: just takingwpaul1996-01-091-1/+4
| | | | | | | it out fixes my problem but hoses the GUS MAX probe messages. Check what device we have and print things appropriately for each. Pointed out by: Jim Lowe <james@miller.cs.uwm.edu>
* clean up si_dprintf a bit so that it uses vararg argument parsing that doespeter1996-01-091-6/+17
| | | | not cause warnings, and uses printf() to do a vprintf()-like output.
* Replace ugly year/month calculations in resettodr to more cleanache1996-01-082-28/+24
| | | | | | variants, idea taken from NetBSD clock.c. At least year calculation was wrong, pointed by Bruce. Use different strategy to store year for BIOS without RTC_CENTURY
* MTRETENS for the wt driver. This patch got lost withjoerg1996-01-082-39/+14
| | | | my previous commit.
* Reran makesyscalls.sh..peter1996-01-083-4/+3
|
* Oops. forgot to remove #include "opt_sysvipc.h"peter1996-01-081-2/+1
|
* reran makesyscallspeter1996-01-0810-57/+10
| | | | | Always call the SYSV ipc functions, stubs will take their place if necessary.
* Remove the #ifdef SYSVSHM etc. Always call the functions, some stubspeter1996-01-081-13/+1
| | | | | | are about to go in. This is to fix the problem with the ibcs2 and linux lkm's not being able to call the sysv ipc functions unless the build is modified.
* Also move /var/db/kvm_kernel.db to /var/db/kvm_kernel.old.db IF we changepeter1996-01-081-1/+2
| | | | sysctl kern.bootfile - since libkvm expects it there.
* Only change the sysctl variable if it presently points to /kernel.phk1996-01-071-2/+4
|
* Use the new adapter_softc field in the scsi_link structure so thatgibbs1996-01-073-42/+21
| | | | | | | these drivers don't need to maintain an array of configured units. The bt driver still needs to because ISA interrupt handlers take a unit number. :(
* Use the new adapter_softc field in the scsi_link structure so thatgibbs1996-01-075-224/+224
| | | | | | | | | in the future, these drivers won't need to maintain an array of configured units. They still need to because ISA interrupt handlers take a unit number. :( Pass "softc" pointers instead of unit numbers to many functions that did a conversion of unit->softc anyway.
* Use the new adapter_softc field in the scsi_link structure so thatgibbs1996-01-071-79/+66
| | | | | | | this driver no longer needs to maintain an array of configured units. Pass "softc" pointers instead of unit numbers to many functions that did a conversion for unit->softc anyway.
* Add comment about only needing on of either ahc, ncr, or ahb typegibbs1996-01-071-2/+3
| | | | | controllers to handle any number of devices. Remove unnecessary extra units for these controllers.
* Add NMSS to the list of things that local.h checks for when decdingwpaul1996-01-072-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | whether of not to automatically #define EXCLUDE_AUDIO; MSS is a real audio device and we should not #define EXCLUDE_AUDIO if we have one. (And I want it because it's the only mixer-capable audio driver that I can use with my crummy Packard Bell (nee Aztech) audio board.) This fixes the very confusing condition where having all of this: mss0 at 0x530 irq 10 drq 1 on isa gus0: <MS Sound System (CS4231)> opl0 at 0x388 on isa opl0: <Yamaha OPL-3 FM> mpu0 at 0x300 irq 9 drq 0 on isa mpu0: <MPU-401 MIDI Interface 0.0 > will still give you this: % cat /dev/sndstat SoundCard Error: The soundcard system has not been configured Also remove an unnecessary newline in the printf() message for the 'gus0' device shown above so that we don't wind up printing a blank line between mss0 and gus0.
* Document the ``BOOT_HD'' make option for the bootblocks.joerg1996-01-061-2/+7
|
OpenPOWER on IntegriCloud