Commit Graph

81385 Commits

Author SHA1 Message Date
Jeff Roberson
b43179fbe8 - Create a new scheduler api that is defined in sys/sched.h
- Begin moving scheduler specific functionality into sched_4bsd.c
 - Replace direct manipulation of scheduler data with hooks provided by the
   new api.
 - Remove KSE specific state modifications and single runq assumptions from
   kern_switch.c

Reviewed by:	-arch
2002-10-12 05:32:24 +00:00
Tim J. Robbins
bd26dcd103 Fix a typo causing incorrect formatting for negative values in some locales
(at least the French ones), a memory leak upon successful termination, a
pointer arithmetic error causing heap corruption, and an off-by-one bug
causing incorrect amounts of padding at the right of the value.
2002-10-12 04:38:35 +00:00
David E. O'Brien
cf56436d17 Update for 2.13 10-Oct-2002 import. 2002-10-12 04:38:20 +00:00
David E. O'Brien
dffd8409be Update for 2.13 10-Oct-2002 import. 2002-10-12 04:24:35 +00:00
David E. O'Brien
4b7b08da18 Shut up GCC, don't shadow Version 6 standard functions. 2002-10-12 04:06:13 +00:00
David E. O'Brien
50c44001a5 Talk about punting and not going to any trouble to DTRT:
contrib/binutils/include/getopt.h
	/* Many other libraries have conflicting prototypes for getopt, with
	   differences in the consts, in stdlib.h.  To avoid compilation
	   errors, only prototype getopt for the GNU C library.  */

so manually define HAVE_DECL_GETOPT since configure doesn't offer any way
to set it... and its unistd.h not stdlib.h dang it.
2002-10-12 03:55:09 +00:00
David E. O'Brien
06520fa9a9 Seems the warnings Binutils 2.13 grew now makes it impossible for WARNS != 0
all 64-bit machines.
2002-10-12 03:04:42 +00:00
Jeff Roberson
d627754a07 - Add a reference to ktrdump(8)
- Remove the stale comments about ktr extend.
2002-10-12 03:01:11 +00:00
Jeff Roberson
54dc0e41e4 - Move the description of KTR_CPUMASK into the "Event Masking" section.
- Remove the "Extensions" section since it is no longer relavent.
 - Create a new section for KTR_VERBOSE and put it's description there.
2002-10-12 02:56:46 +00:00
Jeff Roberson
72517de515 - Remove the bogus reference to the removed KTR_EXTEND option.
- Add ktrdump(8) to the SEE ALSO section.
 - Remove the BUGS section that complains about not having a userland utility
   for viewing ktr data.
2002-10-12 02:45:21 +00:00
David E. O'Brien
b2bced0aef Use the new freebsd output format from Binutils 2.13.1. 2002-10-12 02:30:53 +00:00
David E. O'Brien
be70d88803 ELF low-level toolchain bits now live in /usr/bin, not /usr/libexec/elf. 2002-10-12 01:39:46 +00:00
Greg Lehey
afe401e3de Clarify details of the birth of Richard I of England. 2002-10-12 00:42:34 +00:00
Peter Wemm
d2575b9651 Register the machine check private state spinlock on ia64. 2002-10-12 00:33:36 +00:00
David E. O'Brien
1a941a4b0d The 2.13-almost.1 import was done on 10/10, not 11/10. 2002-10-12 00:18:25 +00:00
David E. O'Brien
786590e77d Update for 2.13 10-Oct-2002 import. 2002-10-12 00:17:34 +00:00
Matt Jacob
2e6d3b4614 Know that a 10160 is the same as a 12160.
MFC after:	0 days
2002-10-12 00:12:31 +00:00
Tim J. Robbins
2e9212d966 Save errno around calls to free(); at least some code paths clobber it
and we are not interested in any errors it may report.
2002-10-11 23:31:50 +00:00
Tim J. Robbins
d0d87283e9 Document the kind of format string strfmon() expects. Sync the Errors
section with reality.
2002-10-11 23:17:17 +00:00
Tim J. Robbins
2621915fa7 Use the new struct lconv members to determine how to format international
monetary values.
2002-10-11 23:08:03 +00:00
Tim J. Robbins
40a48101d3 Non-negative amounts should not have an extra space in front of them
when the `(' flag is used.
2002-10-11 23:04:59 +00:00
Tim J. Robbins
284d56227c "Left precision" and "right precision" are not flags, but separate parts
of the format string that appear after the field width.
2002-10-11 22:59:22 +00:00
Peter Wemm
74a4ba21f7 Zap the early-adopter transition aid before we get into serious
5.0-R territory, as threatened.  This only affects antique 5.0
systems that have not had a 'make world' done for well over a year.
2002-10-11 22:38:17 +00:00
David E. O'Brien
eec2e4bdde * Negative #if's are harder to read as they don't tell exactly what arch
something applies to.  So change #ifndef to an explicit list of defines.
* Treate sparc64 and ia64 as 64-bit platforms, which means larger roots.
* sparc64 should halt back to the firmware, not reset.
* sparc64 doesn't need to play MS-DOS/BIOS partition crap games.

Reviewed by:	jake
2002-10-11 22:30:09 +00:00
Peter Wemm
4d5266715e cut/paste the pmap_new_altkstack stuff from the other platforms.
It's no different here.  Update the rest of the kstack API's for scottl's
changes.
2002-10-11 22:29:22 +00:00
Peter Wemm
0250db7caa Call uma_zalloc on pvzone with M_NOWAIT, just like i386 and alpha.
Otherwise we get hundreds of 'could sleep' during boot.
2002-10-11 21:41:53 +00:00
John Baldwin
e1b1aa3bc2 - Move the 'done1' label down below the unlock of the proc lock and move
the locking of the proc lock after the goto to done1 to avoid locking
  the lock in an error case just so we can turn around and unlock it.
- Move the exec_setregs() stuff out from under the proc lock and after
  the p_args stuff.  This allows exec_setregs() to be able to sleep or
  write things out to userland, etc. which ia64 does.

Tested by:	peter
2002-10-11 21:04:01 +00:00
Poul-Henning Kamp
8523987b73 The CAM system has it's own ideas of what locks are to be held by whom.
So do GEOM.  Not a pretty sight.

Take all the interesting stuff out of GEOM::disk_create(), and leave just
the creation of the fake dev_t.  Schedule the topology munging to happen
in the g_event thread with g_call_me().

This makes disk_create() pretty lock-agnostic, almost lock-atheist.

Tripped over by:	peter
Sponsored by:	DARPA & NAI Labs
2002-10-11 20:52:44 +00:00
David E. O'Brien
54603d8a36 GDB plays nice with Binutils again. 2002-10-11 20:23:06 +00:00
Warner Losh
41a0c1eedd s/modunload/kldunload 2002-10-11 20:22:20 +00:00
John Baldwin
a3672eee7a SWI_SWITCH and SWI_NOSWITCH were OBE a long time ago. 2002-10-11 19:45:19 +00:00
David E. O'Brien
c5c7175bd5 Use the new FreeBSD vectors from Binutils 2.13.1. 2002-10-11 19:39:18 +00:00
David E. O'Brien
616d2d5d48 Use the new freebsd output format from Binutils 2.13.1. 2002-10-11 19:38:04 +00:00
Mike Barcroft
10eccc2d6e Add typedefs for size_t and ssize_t, allow struct iovec to be defined
in other headers, add a visibility conditional to avoid namespace
pollution in the standards case.
2002-10-11 18:21:50 +00:00
John Baldwin
8559443093 Fix %z to always print values as signed like it is supposed to.
Reviewed by:	bde
Tested on:	i386 in ddb
2002-10-11 17:54:55 +00:00
David E. O'Brien
713f2f5c1d Binutils 2.13 grew some warnings that make WARNS != 0 now impossible on
sparc64.
2002-10-11 17:40:20 +00:00
Sam Leffler
526dee0415 No need to hold Giant will harvesting RNG data; change callout_init so
this no longer happens for callbacks.
2002-10-11 17:34:00 +00:00
Matt Jacob
f556e83b61 This should enable 10160 support. As best as I can tell, the same
f/w as 12160 is used, and otherwise, this is just a single channel
variant of the 10160.

MFC after:	0 days
2002-10-11 17:28:01 +00:00
Matt Jacob
306a209024 Fix the code so that it no longer on alpha refers to the now nonexistent
pci_cvt_to_bwx.

This doesn't necessarily make bge(4) now actually *work* on an alpha.
It loads, configures, and then about 30 seconds later, my XP1000 hard
freezes. But, hey, it's a start.

Obtained from:	gallatin@freebsd.org
2002-10-11 17:18:54 +00:00
David E. O'Brien
acdb91f616 Turn off GDB for now. It and the new binutils just aren't agreeing on our
binary format.
2002-10-11 16:22:37 +00:00
Ruslan Ermilov
736d88a9cb This commit was generated by cvs2svn to compensate for changes in r104912,
which included commits to RCS files with non-trunk default branches.
2002-10-11 16:04:04 +00:00
Ruslan Ermilov
75e206f5ca Hyphenation of characters with codes above 128 was broken.
This my patch has just been committed to the Groff source
repository.
2002-10-11 16:04:04 +00:00
Mike Barcroft
72a2df028b Use unsigned long' instead of u_long' so that this header compiles
in X/Open case where `u_long' isn't available.
2002-10-11 15:52:14 +00:00
Bruce A. Mah
80b855af3a Updated release notes: Binutils 2.13.1 pre-release (20021011),
GCC 3.2.1 pre-release (20021009), groff 1.18.1.
2002-10-11 15:27:01 +00:00
Mike Barcroft
2b7f24d210 Change iov_base's type from char *' to the standard void *'. All
uses of iov_base which assume its type is `char *' (in order to do
pointer arithmetic) have been updated to cast iov_base to `char *'.
2002-10-11 14:58:34 +00:00
Ruslan Ermilov
890b32ee41 Build kerberized versions of the PAM library, and install them
into corresponding distributions during "make release".  (This
also cleans the "slib" distribution up from the .o files.)

PR:		misc/43825 (inspired by)
2002-10-11 14:17:09 +00:00
Ruslan Ermilov
06b76511f0 Pass -o option to crunchgen(1) to ensure object files end up
in seperate directories.  This mostly affects RELENG_4 where
not doing so results in ${CHROOTDIR}/usr/src/release being
filled with object files, and "srelease" distribution having
them in.

PR:		misc/43825
Prodded by:	re (murray)
2002-10-11 14:05:19 +00:00
Poul-Henning Kamp
2c38619b52 Slight overhaul of arc4random() and friends.
One bug fixed:  Use getmicrouptime() to trigger reseeds so that we
cannot be tricked by a clock being stepped backwards.

Express parameters in natural units and with natural names.

Don't use struct timeval more than we need to.

Various stylistic and readability polishing.

Introduce arc4rand(void *ptr, u_int len, int reseed) function which
returns a stream of pseudo-random bytes, observing the automatic
reseed criteria as well as allowing forced reseeds.

Rewrite arc4random() in terms of arc4rand().

Sponsored by:   DARPA & NAI Labs.
2002-10-11 13:13:08 +00:00
Olivier Houchard
a93cc5a1e7 Add myself.
Reviewed by:	mux (mentor)
2002-10-11 13:06:42 +00:00
Ruslan Ermilov
302a6c8b66 Update for Groff 1.18.1. 2002-10-11 12:24:44 +00:00