jhb
de636b04e8
- Rename await() to mawait(). mawait() is to await() as msleep() is to
...
tsleep(). Namely, mawait() takes an extra argument which is a mutex
to drop when going to sleep. Just as with msleep(), if the priority
argument includes the PDROP flag, then the mutex will be dropped and will
not be reacquired when the process wakes up.
- Add in a backwards compatible macro await() that passes in NULL as the
mutex argument to mawait().
2000-11-15 22:39:35 +00:00
jhb
0efbfa0260
- Replace a KASSERT() that knew too much about mutex internals with a
...
mtx_assert() that ensures the mutex we release during msleep() is both
not recursed and owned by the current process.
2000-11-15 22:30:48 +00:00
jhb
c70d0c6d5a
- Convert references from tsleep() -> msleep()
...
- Fix a buglet in a comment above await()
2000-11-15 22:27:38 +00:00
jhb
57e4266549
- Add a new macro DROP_GIANT_NOSWITCH() that is similar to DROP_GIANT()
...
except that it uses the MTX_NOSWITCH flag while it releases Giant via
mtx_exit().
- Add a mtx_recursed() primitive. This primitive should only be used on
a mutex owned by the current process. It will return non-zero if the
mutex is recursively owned, or zero otherwise.
- Add two new flags MA_RECURSED and MA_NOTRECURSED that can be used in
conjuction with MA_OWNED to control the assertion checked by mtx_assert().
- Fix some of the KTR tracepoint strings to use %p when displaying the lock
field of a mutex, which is a uintptr_t.
2000-11-15 22:12:33 +00:00
jhb
3e6befb757
Include the right headers to get the DDB #define and the db_active variable.
2000-11-15 22:08:16 +00:00
jhb
c88865df67
- Replace some instances of sched_ithd with sched_swi in KTR tracepoints.
...
- Assert that Giant is not owned during the main loop of sithd_loop().
2000-11-15 22:05:23 +00:00
obrien
c33eca4e33
Correct the Bintuils src path from the debugging version I accidently
...
committed.
2000-11-15 22:05:00 +00:00
jhb
27f47c82c2
Assert that Giant is not owned during the main loop of ithd_loop().
2000-11-15 22:03:26 +00:00
jhb
d2a25c57e9
Declare the 'witness_spin_check' properly as a per-CPU variable in the
...
non-SMP case.
2000-11-15 22:02:05 +00:00
jhb
c0dadb9955
Don't perform witness checks in witness_enter() during a panic.
2000-11-15 22:00:31 +00:00
jhb
fee8891473
Add the 'witness_spin_check' per-CPU variable.
2000-11-15 21:58:02 +00:00
jhb
9ced7fb074
- Don't acquire/release Giant during an interrupt context for machine
...
checks, clock interrupts, and device interrupts.
- Assert that Giant is not owned during the main loop of ithd_loop().
2000-11-15 21:56:50 +00:00
jhb
3fd4aa4c23
Make ktr_verbose a bit more useful:
...
- On SMP systems display the cpu number with each message
- If ktr_verbose > 1, then include the filename and line number with each
trace message
2000-11-15 21:51:53 +00:00
obrien
095aec6ca6
Sync with sys/i386/conf/GENERIC rev 1.291.
...
Remove `pmtimer' from the MFSROOT kernel as `apm' is already removed.
`pmtimer' also removed from the Alpha kernel incase it ever winds up there.
(could it ever?)
2000-11-15 21:36:39 +00:00
obrien
2d220ac7a0
Upgrade to Binutils 2.10.1.
2000-11-15 21:29:55 +00:00
obrien
6bca879039
dyn-string.* moved to libiberty/ and include/.
2000-11-15 21:27:22 +00:00
obrien
c35474ed1e
Merge rev 1.2 into Binutils 2.10.1.
...
Teach `ld' about FreeBSD (ie, fix the All the World's Linux) and how to
access our ld ELF hints.
2000-11-15 21:26:21 +00:00
obrien
0887324190
Merge conflicts. Adds revs 1.2 and 1.3 (FreeBSD configuration support),
...
and preliminary sparc, strongarm, PPC FreeBSD support to Binutils 2.10.1.
2000-11-15 21:25:10 +00:00
obrien
c6e0ec7bbe
Merge rev 1.2 (FreeBSD configuration support) into Binutils 2.10.1.
2000-11-15 21:24:10 +00:00
obrien
e7d5572fba
Merge conflicts into Binutils 2.10.1.
...
This fixes the i386 config bits, merge in the Alpha bits, and adds
arm32 & sparc bits.
2000-11-15 21:23:09 +00:00
obrien
07238094dd
We use the stock version of this file now.
2000-11-15 21:20:56 +00:00
obrien
c29ae8df7a
Return to the vendor's version of this file as in rev 1.4.
2000-11-15 21:20:05 +00:00
obrien
2da064d448
We use the stock version of this file now.
...
(Our needs have been addressed by the Binutils maintainers)
2000-11-15 21:11:53 +00:00
obrien
1f13d4ae78
Only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined elsewhere.
...
FreeBSD does not adhear to the System V 64-bit ABI for the dynamic
[linker] interpreter, and thus must override this value.
2000-11-15 21:07:32 +00:00
obrien
2cf177a0cc
Only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined elsewhere.
...
FreeBSD does not adhear to the Intel386 System V ABI for the dynamic
[linker] interpreter, and thus must override this value.
2000-11-15 21:05:56 +00:00
obrien
f646d69da7
Merge our ELF branding into Binutils 2.10.1.
2000-11-15 21:04:41 +00:00
obrien
bee7a37ea2
This commit was generated by cvs2svn to compensate for changes in r68765,
...
which included commits to RCS files with non-trunk default branches.
2000-11-15 20:52:56 +00:00
obrien
58a7905715
Import of GNU Binutils version 2.10.1.
...
Believe it or not, this is heavily stripped down.
2000-11-15 20:52:56 +00:00
mckusick
a998a30253
Bug fix for revision 1.14 on the replacement of CIRCLEQ with TAILQ.
...
Submitted by: Warner Losh <imp@village.org>
2000-11-15 20:07:16 +00:00
jhb
a1bbb80e56
Fix all the interrupt enabled/disabled assertions which were backwards.
2000-11-15 19:45:10 +00:00
jhb
4b3e3264c7
Don't perform an mi_switch() when we release Giant during cpu_exit(). We
...
are about to call cpu_switch() anyways.
Found by: witness
2000-11-15 19:44:38 +00:00
mckusick
3303fdc1ee
In preparation for deprecating CIRCLEQ macros in favor of TAILQ
...
macros which provide the same functionality and are a bit more
efficient, convert use of CIRCLEQ's in netgraph PPP code to TAILQ's.
Reviewed by: Archie Cobbs <archie@dellroad.org>
2000-11-15 19:40:34 +00:00
imp
c9b0e681f4
vx no longer uses pci compat shims and this doesn't need a count
2000-11-15 18:43:41 +00:00
imp
0c09b8afe7
MFGENERIC: 1.291
2000-11-15 18:42:44 +00:00
imp
0cb4171331
Add pmtimer device, necessary for proper time keeping when apm or
...
other power management devices are enabled.
2000-11-15 18:36:24 +00:00
ben
5eea8e98aa
remove trailing periods from SEE ALSO.
2000-11-15 17:27:54 +00:00
ben
5793387cd6
remove period from SEE ALSO.
2000-11-15 17:02:54 +00:00
ben
bd94b89a9a
more removal of trailing periods from SEE ALSO.
2000-11-15 16:44:24 +00:00
ben
ff4f576d86
remove fullstops from the end of .Xr lines in SEE ALSO sections.
2000-11-15 16:00:07 +00:00
joe
418adb06fe
Wrap the build options up into the crunch.conf file now that crunchgen
...
knows what to do with them.
2000-11-15 14:47:37 +00:00
ben
bd39d53f34
Remove fullstops from the end of .Xr lines in SEE ALSO section.
2000-11-15 14:40:14 +00:00
joe
05dff2fbdf
Add and document a new configuration command: buildopts.
...
This allows global make options to be specified within the crunch
configuration file.
2000-11-15 14:33:29 +00:00
ben
a70cac6a71
Add a newline character at the end of this file, it was missing which
...
resulted in ugly errors from 'diff'.
2000-11-15 13:34:41 +00:00
julian
1d057a35b4
Slight cleanups after comments from John Hay (Thanks!)
...
Also add more comments.
2000-11-15 12:05:21 +00:00
n_hibma
e8e772bc30
(null commit)
...
Previous commit: From NetBSD.
2000-11-15 10:39:43 +00:00
n_hibma
e646fdb11f
Set OPEN Flag on open.
...
Make set_config(1) print warning message if it fails.
2000-11-15 10:36:08 +00:00
ru
c1f9fd4116
Fixed a typo from the last commit.
...
Submitted by: Mike Heffner <mheffner@vt.edu>
2000-11-15 07:45:23 +00:00
gad
ece5848868
Eliminate two compile-time warnings.
2000-11-15 06:17:52 +00:00
gad
4867b0ded4
Fix the '-d' option (turns on socket-debugging). Improve startup msgs.
...
PR: 17178
Submitted by: Richard <satherrl@dssrg.curtin.edu.au>
2000-11-15 06:00:42 +00:00
gad
2885965ea9
Make sure a few strings will have terminating null characters.
...
(most of the PR 16186 was already applied, except for these 2 lines)
PR: 16186
Submitted by: Przemyslaw Frasunek <venglin@lubi.FreeBSD.lublin.pl>
2000-11-15 04:57:22 +00:00