John Baldwin
611d940790
Proc locking.
2001-01-24 00:27:28 +00:00
John Baldwin
cfb4c0b4f9
Proc locking to protect p_ucred while we obtain additional references.
2001-01-24 00:26:19 +00:00
John Baldwin
1e3e44f22f
- Proc locking.
...
- Use FreeBSD stackgap_init() semantics.
- Adjust some #ifdef's to hide unused variables.
2001-01-24 00:24:57 +00:00
John Baldwin
fdfdfb786a
- Proc locking.
...
- Use NULL instead of 0.
2001-01-24 00:23:30 +00:00
Matt Jacob
df6c100d51
"Rejected with status" is better than "Rejected for status".
2001-01-24 00:14:37 +00:00
John Baldwin
172c0b6aec
Use selrecord() instead of doing the work ourselves.
2001-01-24 00:06:26 +00:00
John Baldwin
92ad4dfbd1
Make the device name in an isa_device a const char * instead of a char *
...
to silence cast-qual warnings.
2001-01-24 00:05:13 +00:00
John Baldwin
401cee34d4
Use queue macros.
2001-01-24 00:01:42 +00:00
John Baldwin
0f483a016c
Proc locking.
2001-01-23 23:59:38 +00:00
John Baldwin
1070c735ff
- Use 'p' instead of 'curproc' for the namei lookup as this is what
...
other image activators use.
- Proc locking.
2001-01-23 23:59:30 +00:00
John Baldwin
c797833a37
Proc locking.
2001-01-23 23:51:56 +00:00
Matt Jacob
9fa6ccfb5e
Allow fxp to configure in I/O space if the user wants it and specifies
...
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
2001-01-23 23:22:17 +00:00
John Baldwin
157403fff0
Proc locking, mostly protecting p_ucred while obtaining additional
...
references.
2001-01-23 22:41:15 +00:00
John Baldwin
d19a727628
- Remove unused header include.
...
- Use queue macros.
2001-01-23 22:38:38 +00:00
John Baldwin
1aab03a584
Proc locking to protect p_ucred while we obtain an additional reference.
2001-01-23 22:38:15 +00:00
John Baldwin
f5343b3219
- FreeBSD doesn't have an abortop vnop as far as I can tell, so #ifdef
...
references to the hpf op out.
- Remove a lockdestroy() on a non-existent variable.
2001-01-23 22:37:30 +00:00
John Baldwin
1c827e2d15
Tag unused functions with __unused.
2001-01-23 22:24:26 +00:00
John Baldwin
0e9f2d667c
Proc locking to protect p_ucred while we obtain another reference to it.
2001-01-23 22:23:25 +00:00
John Baldwin
4957d1b4cb
Use suser(9) instead of checking p->p_ucred->cr_uid directly.
2001-01-23 22:22:25 +00:00
John Baldwin
6db2e28142
Remove a prototype for an unused and undefined debugging function.
2001-01-23 22:21:14 +00:00
John Baldwin
399fde35e8
Tag unused functions with __unused.
2001-01-23 22:18:41 +00:00
John Baldwin
b787813727
- Move stg_card_intr()'s prototype and definition inside appropriate
...
#ifdef's as it is is only used on older versions of FreeBSD.
- #ifdef a local variable only used on older versions of FreeBSD.
2001-01-23 22:18:07 +00:00
Justin T. Gibbs
98ba52eadc
When flipping the first entry in the qinfifo with the "next queued SCB",
...
we must also inform the card of this change. Otherwise the sequencer
will traverse a corrupt list of SCBS. The side effects of this problem
were unknown SCBs completing in the qoutfifo or worse yet, panics due
to sequencer interrupts that referenced what, to the kernel, were invalid
SCB ids.
2001-01-23 22:17:03 +00:00
John Baldwin
4a08af58fe
Relocate the 'hwfuncs' functions below the inlined functions they attempt
...
to call so that the other functions can actually be inlined.
2001-01-23 22:16:18 +00:00
John Baldwin
ec447af191
- Proc locking.
...
- Use queue macros.
- Use NULL instead of 0 for pointers.
Reviewed by: des
2001-01-23 22:13:07 +00:00
John Baldwin
f5f7ddc668
Move nsp_card_intr()'s prototype and definition inside the appropriate
...
#ifdef's as it is only used in older versions of FreeBSD.
2001-01-23 22:09:04 +00:00
John Baldwin
acf5cad5aa
Move the definition of nsp_start_timer() earlier in the file before it is
...
called so that it can be inlined.
2001-01-23 22:08:21 +00:00
John Baldwin
32c98125c9
The ncv_card_intr function is only used in older versions of FreeBSD, so
...
move its prototype and definition inside the appropriate #ifdef's.
2001-01-23 22:06:10 +00:00
John Baldwin
5d3e8edac4
Use the 'slp' local variable that was otherwise unused instead of casting
...
the driver softc under the assumption that the first part of it was a
struct scsi_low_softc.
2001-01-23 22:05:07 +00:00
John Baldwin
5928fa5cc7
#if 0 out local variables only used in #if 0'd code and remove unused
...
local variables.
2001-01-23 22:02:08 +00:00
John Baldwin
e54e93e21a
Add curly braces ({}) around each struct speedtab to quiet warnings.
2001-01-23 22:00:05 +00:00
John Baldwin
14c3599a2d
Proc locking in the form of using the proc lock to protect p_ucred while
...
we obtain another reference to it for vnode operations.
2001-01-23 21:58:44 +00:00
John Baldwin
d1a147af8b
Axe unused local variable.
2001-01-23 21:53:44 +00:00
John Baldwin
4cd9657860
- Mark an unused function with __unused.
...
- Temporarily #if 0 some unused local variables.
2001-01-23 21:52:34 +00:00
John Baldwin
705a513a29
Axe an unused static softc.
2001-01-23 21:51:26 +00:00
John Baldwin
9697124fc8
Move a temporary #ifdef of code (just the #ifdef part) up so that it is
...
above the local variable declaration to quiet warnings about unused
variables.
2001-01-23 21:45:05 +00:00
John Baldwin
65baa27ce6
Kill a warning by marking an unused function with __unused.
2001-01-23 21:43:47 +00:00
John Baldwin
97eba215ac
Argh, atomic_store_rel -> atomic_store_rel_int.
2001-01-23 21:40:07 +00:00
John Baldwin
505eb4d591
Woops, add in missing headers.
2001-01-23 21:39:15 +00:00
John Baldwin
1fed5f0326
Proc locking.
2001-01-23 21:33:55 +00:00
John Baldwin
c41e968cbd
Use queue macros.
2001-01-23 21:32:02 +00:00
John Baldwin
bc4afa1f45
- Add proc locking.
...
- Fix several bugs in the wait syscall, including freeing the actual
proc start, freeing the args, freeing the prison, and other minor
nits.
- Use appropriate queue(3) macros.
- Use zpfind() instead of walking zombproc ourselves.
2001-01-23 21:30:25 +00:00
Kris Kennaway
1b2556e4a4
Fix the vulnerability with TCP ECE packets recently fixed in ipfw.
...
This is untested, but believed to work.
2001-01-23 21:11:28 +00:00
John Baldwin
48f8ca448a
- Use proper atomic operations to make the run time initialization
...
controlled by svr_str_initialized be MP safe.
2001-01-23 21:07:16 +00:00
John Baldwin
f843c385b1
- Add necessary proc locking.
...
- Use proper atomic operations to make the run time initialization
controlled by svr_str_initialized be MP safe.
- Use appropriate queue(3) macros where needed.
2001-01-23 21:06:30 +00:00
John Baldwin
37bf0fc1f8
FreeBSD doesn't have p_emuldata, and our stackgap_init() doesn't take an
...
argument.
2001-01-23 21:02:44 +00:00
John Baldwin
07a1f31cd0
Use proc lock to safely obtain references to p_ucred before vnode
...
operations.
2001-01-23 20:52:50 +00:00
John Baldwin
fb29c3e083
Protect calcru() with sched_lock.
2001-01-23 20:50:40 +00:00
Matt Jacob
15516f16d2
Do not do the commenting out the way that saves bytes and looks cleaner
...
to you. Do it the way Vox Populi wants it.
2001-01-23 16:35:33 +00:00
Takanori Watanabe
fd8433ab80
Map BSS section in PECOFF executable.
...
Submitted by: KUROSAWA Takahiro <fwkg7679@mb.infoweb.ne.jp>
2001-01-23 16:19:37 +00:00