summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove duplicate linebrian2000-12-041-1/+0
| | | | Not responded to by: kris, then green
* Initialize/grab the mutex earlier in the attach phase, so thatwpaul2000-12-0417-43/+50
| | | | | bailing out to the fail: label where we release/destroy the mutex will work without exploding.
* Drop out of our main loop due to a signal rather than handling things in thebrian2000-12-041-24/+28
| | | | | | | | | signal handler. Fix a spelling error. Subtley pointed out by: bde Make some stuff static
* Cleanup some leftover lint from the old interrupt system.peter2000-12-0430-728/+176
| | | | | | | | Also, while here, run up to 32 interrupt sources on APIC systems. Normalize INTREN/INTRDIS so they are the same on both UP and SMP systems rather than sometimes a macro, and sometimes a function. Reviewed by: jhb, jakeb
* Turn off the load_eject bit in cdstartunit(). It causes an `Invalidjoerg2000-12-041-1/+1
| | | | | | | | | | | | field in CDB' error when attempting to start a caddy-type CD drive, since those drives apparently in general refuse to load a medium. Since we never advertised the feature to load the medium upon calling cdstartunit() (i. e. upon receipt of a CDIOCSTART ioctl command), nobody should have relied on it. Besides, nobody noticed so far at all that this command is failing for caddy-type drives... Only few applications seem to use it at all (among them is workman, which made me notice it). Reviewed by: ken
* Wait DAD complete after ifconfig up.ume2000-12-042-2/+14
|
* - __ivaliduser_sa() was introduced for forthcoming IPv6 support to lpdume2000-12-041-102/+170
| | | | | | | | | | | | | - iruserok_sa() and __ivaliduser_af() were re-organized to use __ivaliduser_sa() - __icheckhost() was re-written to use getaddrinfo() instead of getipnodebyname() - better handling of multiple destination addresses in rcmd() These changes were basically taken from KAME and changed to fit our rcmd.c. Obtained from: KAME
* Fix for vanilla PC164 systems to use a slightly different PALcode magicmjacob2000-12-042-2/+39
| | | | | | | | tweak to enable/disable interrupt sources. Seems to work. It is unclear how many of the PC164 models actually might needs this, and whether or not there are other hidden issues. Obtained from:Bernd Walter <ticso@cicely8.cicely.de>
* test strdup() failures.ume2000-12-041-5/+7
| | | | | | from: Chris Faulhaber <jedgar@fxp.org> Obtained from: KAME
* (1) Allow a stray lock prefix to be compiled out with thejake2000-12-042-32/+48
| | | | | | | | | | | | | MPLOCKED macro (2) Use decimal 12 rather than hex 0xc in an addl (3) Implement MTX_ENTER for the I386_CPU case (4) Use semi-colons between instructions to allow MTX_ENTER and MTX_ENTER_WITH_RECURSION to be assembled (5) Use incl instead of incw to increment the recusion count (6) 10 is not a valid label, use 7, 8 and 9 rather than 8, 9 and 10 (7) Sort numeric labels Submitted by: bde (2, 4, and 5)
* Whitespace. Fix indentation, align comments.jake2000-12-041-17/+17
|
* Whitespace. Fix an overly long line.jake2000-12-041-2/+2
|
* Remove if defined(tahoe) cobwebs.jake2000-12-041-4/+0
|
* remove struct mount from useland visibilityalfred2000-12-042-1/+5
|
* mdoc(7) police: fix formatting errors in rev 1.27.ru2000-12-041-13/+27
|
* Added termcap entry for multilingual sysinstallhosokawa2000-12-041-0/+11
|
* When recording the original arguments, stop short if we encounterjdp2000-12-041-0/+10
| | | | | | | | a NULL argument. Some programs change the contents of the argv array, typically to remove some special arguments. They shorten argv by storing a NULL where an argument pointer used to be. Such programs core dumped if they called setproctitle(), because it would try to apply strlen() to a NULL pointer.
* Comment out debug printfs about enable/disable ints.mjacob2000-12-041-2/+2
| | | | Current now appears to work at least fitfully on one Rawhide.
* When recording the original arguments, don't (ab)use "nargc" forjdp2000-12-041-3/+4
| | | | | iterating over the arguments. Doing so wipes out the value which is about to be stored into the ps_strings structure.
* More M_ZERO patches.dwmalone2000-12-032-25/+20
| | | | | | Submitted by: josh@zipperup.org Submitted by: Robert Drehmel <robd@gmx.net> Approved by: mjacob
* Fix cross-building once again.marcel2000-12-031-1/+1
| | | | Forgotten by: ache
* Add warning on file-fragmentation issues related to MAP_NOSYNCdillon2000-12-031-0/+15
|
* Add the NS DP83815 to the list of supported chips by the sis driver.alex2000-12-032-4/+8
| | | | Inspired by: Oliver Fromme
* We now have the ability to assign the correct IRQ when PNP-OS is turnednsayer2000-12-034-40/+0
| | | | | | | | on. So stop failing the attach if the IRQ is unassigned. With this patch, I can now boot with PNP-OS YES in my BIOS no differently than PNP-OS NO (which is a good thing since Windows hangs with PNP-OS NO). Obtained from: msmith
* Remove register keyword usage with prejudice.asmodai2000-12-034-16/+16
| | | | | Modern compilers are smarter when it comes to allocating register usage.
* Remove ${DESTDIR} from _PATH_TCSHELL, it is call path, not install pathache2000-12-031-1/+3
| | | | Add gethost to build-tools to help cross-building
* Add controller number to unknown incoming call log message.hm2000-12-031-3/+3
|
* Bugfix: enable interrupt sharing for ELSA Microlink ISDN PCIhm2000-12-031-2/+2
|
* Use M_ZERO.dwmalone2000-12-031-22/+12
| | | | | | Submitted by: josh@zipperup.org Submitted by: Robert Drehmel <robd@gmx.net> Approved by: mark_salyzyn@adaptec.com
* Check return value of malloc correctly and use M_ZERO.dwmalone2000-12-031-7/+6
|
* Tidy up some prototypes:dwmalone2000-12-033-7/+10
| | | | | | | make sure there is exactly one prototype for each function, use K&R style definitions everywhere to match dominant style, make flag_signal take an int to avoid problems if we have ANSI prototypes and K&R definitions.
* Update SCSI info for PC164wilko2000-12-031-5/+9
| | | | Obtained from: discussions on netbsd-alpha
* - add support for crashdumps (courtesy of ps and Y!)msmith2000-12-033-185/+273
| | | | | | | - standardise error reporting for commands - simplify the driver-to-controller bio transfer - add bio in/out accounting - correctly preserve the command ID in twe_ioctl (thanks to joel@3ware)
* Fix up a whitespace glitch in PHOLD() and fix it to use do { ... } while(0)jhb2000-12-031-3/+3
| | | | instead of { ... }.
* Include machine/cpu.h for cpu_getstack().marcel2000-12-031-0/+2
| | | | Spotted by: jake
* Changed second argument in a call to sf_buf_free() to be NULL instead ofdg2000-12-031-1/+1
| | | | | | | PAGE_SIZE to match the prototype better. The argument is ignored, so this is just to silence the compile-time warning. Pointed out by: jhb
* Don't auto-generate the syscalls.marcel2000-12-0316-51/+1226
|
* Don't auto-generate syscalls.marcel2000-12-031-1/+1
|
* - Add a mutex to the proc structure p_mtx that will be used to lock accessesjhb2000-12-034-0/+4
| | | | | to each individual proc. - Initialize the lock during fork1(), and destroy it in wait1().
* Change cpu_switch to explicitly popl the callers program counter andjake2000-12-035-14/+8
| | | | | | | pushl that of the new process, rather than doing a movl (%esp) and assuming that the stack has been setup right. This make the initial stack setup slightly more sane, and will make it easier to stick an interrupted process onto the run queue without its knowing.
* tm.h should include the platform specific ELF header if it exists.obrien2000-12-031-0/+3
|
* Properly check the return values from malloc(3).abial2000-12-031-56/+6
| | | | | | | Remove some PNP-related dead code that is unlikely to survive the changes in -current PNP anyway. Submitted by: fixes from Chris Faulhaber <jedgar@freebsd.org>
* Fix dependency for auto-generated files. This commit ismarcel2000-12-021-1/+1
| | | | | | | | for archiving purposes only; auto-generation is going to be reverted. requested by: obrien submitted: gallatin
* Make some style changes to the ident_stream() code.green2000-12-021-14/+20
| | | | | Partially submitted by: alfred Reviewed by: alfred
* There's also no point in #typedef'ing void/char pointers. Accordingly,will2000-12-0236-512/+472
| | | | | | rip out ClientData/Address pointers and use standard types. Obtained from: OpenBSD
* Use a size_t instead of an int.asmodai2000-12-021-1/+1
|
* Correct int/long type mismatch in the proper place this time. freevnodesgallatin2000-12-023-8/+8
| | | | | | | | | | | and numvnodes are longs in the kernel. They should remain longs in systat, what really needs to change is that they should be using SYSCTL_LONG rather than SYSCTL_INT. I also changed wantfreevnodes to SYSCTL_LONG because I happened to notice it. I wish there was a way to find all of these automatically.. Pointed out by: bde
* Properly constify some static arrays.asmodai2000-12-024-3/+17
| | | | Also #if out some sccsid's and add rcsid's.
* There's no reason to use fancy forms of NULL. Replace all instanceswill2000-12-0238-238/+224
| | | | | | of NIL, NILLST, NILLGNODE, etc. with NULL. Obtained from: OpenBSD
* Major speedup to /dev/random and the kernel thread that reseeds it.markm2000-12-022-93/+103
| | | | | | | | | | | | | | There is no more TAILQ fifo to harvest the entropy; instead, there is a circular buffer of constant size (changeable by macro) that pretty dramatically improves the speed and fixes potential slowdowns- by-locking. Also gone are a slew of malloc(9) and free(9) calls; all harvesting buffers are static. All-in-all, this is a good performance improvement. Thanks-to: msmith for the circular buffer concept-code.
OpenPOWER on IntegriCloud