summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Remove all the #if 0'd code that used to implement IRQ forwarding.jhb2001-01-243-255/+0
| | | | - Remove #if 0'd lazy interrupt mask.
* Remove unused locks: cpl, fast_intr, intr, mpintr.jhb2001-01-241-4/+0
|
* - Proc locking.jhb2001-01-242-8/+14
| | | | | - P_OWEUPC -> PS_OWEUPC. - Remove obsolete prototype for MD fork_return().
* - Remove Xforward_irq, cpl_lock, and fast_intr_lock.jhb2001-01-241-3/+1
| | | | - Add fork_exit.
* Setup the return values for a child process in the trapframe when we setupjhb2001-01-242-0/+8
| | | | the rest of the trapframe instead of doing it in fork_return().
* - Kill the have_giant parameter to userret() along with all instances ofjhb2001-01-243-297/+222
| | | | | | | | | | | | | that name as a variable. Use mtx_owned(&Giant) where appropriate instead. - Proc locking. - P_FOO -> PS_FOO. - Update comments about enable interrupts during trap and why this may be bad if we trap while holding a spin mutex. - Don't bother resetting p to curproc in syscall() in case we are the child returning from fork. The child hasn't returned from fork through syscall in a while. - Remove fork_return() as it has been superseded by the MI version.
* - Proc locking.jhb2001-01-243-7/+54
| | | | - P_INMEM -> PS_INMEM.
* - Relocate portions of this file to get it into an order closer to that ofjhb2001-01-247-1197/+1071
| | | | | | | | | | | | | the alpha mp_machdep.c. - Proc locking. - Catch up to the P_FOO -> PS_FOO proc flags changes. - Stick ap_init()'s prototype with the other prototypes. - Remove the Xforwardirq IPI. - Remove unused simplelocks. - Don't try to psignal() from forward_statclock(), but set the appropriate signal pending flag in p_sflag instead. - Add in KTR_SMP tracepoints for various SMP functions. (Brought over from the alpha port)
* - Proc locking.jhb2001-01-242-16/+58
| | | | | | | - Setup proc0.p_heldmtx, proc0.contested, and curproc earlier so that we can use mutexes. - Initialize sched_lock and Giant earlier and enter Giant during init386. - Use suser(9) instead of checking cr_uid directly.
* Mdoc(7)ify the previous revision.ru2001-01-241-1/+4
|
* Call fork_exit() now instead of futzing around in assembly during a forkjhb2001-01-243-72/+9
| | | | return.
* mdoc(7) police: fixed some minor formatting/spelling errors.ru2001-01-243-20/+20
|
* - Split p_flag up into two fields. p_flag keeps most of the previous flagsjhb2001-01-241-24/+33
| | | | | | | | | | | | | | | | | | | | | and is protected by the proc lock. p_sflag is protected by sched_lock and holds the following flags: PS_INMEM, PS_OWEUPC, PS_PROFIL, PS_SINTR, PS_TIMEOUT, PS_ALRMPEND, PS_PROFPEND, PS_CVWAITQ, PS_SWAPINREQ, and PS_SWAPPING. - p_klist is definitely locked now by the proc lock. - p_runtime, p_[usi]u are locked by sched_lock. - Add a new P_KTHREAD flag set for kernel threads created via kthread_create(9). - STOPEVENT() only needs the proc lock, it does not need Giant. - faultin() already checks PS_INMEM, so simplify the check in PHOLD() so that we only need to grab the proc lock and let faultin() perform the PS_INMEM check. - Add a prototype for zpfind(). - Add prototypes for the new fork_exit() and fork_return() MI functions that manage the fork return path. - Add a prototype for the MD function userret() so that it can be called from fork_return(). - Add needed include of <machine/frame.h> in the kernel.
* Protect against multiple inclusion.sobomax2001-01-241-0/+5
|
* Minor fixes:sobomax2001-01-241-3/+3
| | | | | | | | - Use "OPOST | ONLCR" as a c_oflag in the raw mode instead of 0, which should make debug output mode readable; - flush input buffer when switching to/from raw mode. This should prevent leaking raw scancodes into your shell prompt when program called VGLKeyboardEnd() w/o processing all scancodes in the buffer.
* Fix a typo.jhb2001-01-241-1/+1
| | | | Reported by: albert
* remove redundant definitions of card types:hm2001-01-2430-451/+118
| | | | | | | - remove all occurances of FLAG_XXX values and replace with CARD_TYPEP_XXX - remove sc_flag from isic softc and replace it with sc_cardtyp remove some left over redundant definitions from isic and i4b_l1.h remove left over cvs id from i4b cvs repository
* Mention the -F in the usage().ru2001-01-241-1/+1
| | | | | PR: 24586 Submitted by: Cyrille Lefevre <clefevre@citeweb.net>
* Make `-y' option actually work.sobomax2001-01-241-1/+1
| | | | Submitted by: reg
* Add missing include.jhb2001-01-241-0/+1
|
* Never reuse AUTO_OID values.mckusick2001-01-241-7/+5
| | | | Approved by: Alfred Perlstein <bright@wintelcom.net>
* The lock being destroyed was misnamed, not unused. Add the lockdestroy()jhb2001-01-241-0/+2
| | | | | | back in but with the proper name so that this compiles. Submitted by: jasone
* #ifdef a local variable only used in debugging code.jhb2001-01-241-1/+4
| | | | Reviewed by: -scsi
* Const'ify cam_sim.sim_name to quiet warnings.jhb2001-01-242-9/+9
| | | | Reviewed by: -scsi
* don't grope around inside snd_dbuf structures as they will change in futurecg2001-01-241-11/+0
|
* fix certain cards failing to attachcg2001-01-241-4/+6
| | | | Submitted by: Russell Cattelan <cattelan@thebarn.com>
* fix blocksizing for playback, implement blocksizing for recordcg2001-01-241-1/+12
|
* some cosmetics, changed channel setup and revamped irq handling - ignorecg2001-01-242-26/+57
| | | | repeated interrupts
* prevent excessively small buffer sizes resulting in hundreds of irqs percg2001-01-241-13/+15
| | | | second
* Don't grab Giant when calling kmem_alloc/kmem_free as this is justjhb2001-01-241-4/+0
| | | | | encouraging other people to follow the same practice. If this is going to be done, then it should be done inside of those two functions instead.
* Proc locking.jhb2001-01-244-26/+100
|
* - Proc locking.jhb2001-01-241-10/+45
| | | | - Protect calcru() with sched_lock.
* - Proc locking.jhb2001-01-241-7/+27
| | | | - Protect calcru() with sched_lock.
* Proc locking.jhb2001-01-245-2/+31
|
* Proc locking to protect p_ucred while we obtain additional references.jhb2001-01-242-4/+30
|
* - Proc locking.jhb2001-01-241-5/+26
| | | | | - Use FreeBSD stackgap_init() semantics. - Adjust some #ifdef's to hide unused variables.
* - Proc locking.jhb2001-01-241-1/+6
| | | | - Use NULL instead of 0.
* "Rejected with status" is better than "Rejected for status".mjacob2001-01-241-1/+1
|
* Use selrecord() instead of doing the work ourselves.jhb2001-01-242-15/+3
|
* Make the device name in an isa_device a const char * instead of a char *jhb2001-01-241-1/+1
| | | | to silence cast-qual warnings.
* Use queue macros.jhb2001-01-243-3/+3
|
* Proc locking.jhb2001-01-236-8/+41
|
* - Use 'p' instead of 'curproc' for the namei lookup as this is whatjhb2001-01-231-6/+20
| | | | | other image activators use. - Proc locking.
* Proc locking.jhb2001-01-231-0/+2
|
* Hmm. This must be a first. The man page was updated *before* the source.mjacob2001-01-231-0/+4
| | | | Correct some slight inaccuracies in the man page.
* Allow fxp to configure in I/O space if the user wants it and specifiesmjacob2001-01-234-20/+84
| | | | | | | | an override as a loader settable variable (fxp_iomap). fxp_iomap is a bitmap of fxp units that should be configured to use PCI I/O space in stead of PCI Memory space. Reviewed by: Kees Jan Koster <dutchman@tccn.cs.kun.nl>, dg@freebsd.org
* Proc locking, mostly protecting p_ucred while obtaining additionaljhb2001-01-234-10/+56
| | | | references.
* - Remove unused header include.jhb2001-01-231-5/+3
| | | | - Use queue macros.
* Proc locking to protect p_ucred while we obtain an additional reference.jhb2001-01-231-1/+9
|
* - FreeBSD doesn't have an abortop vnop as far as I can tell, so #ifdefjhb2001-01-231-4/+2
| | | | | references to the hpf op out. - Remove a lockdestroy() on a non-existent variable.
OpenPOWER on IntegriCloud