Commit graph

70347 commits

Author SHA1 Message Date
Jake Burkholder 3c5ef798a0 Add make variables for fs support and propagate them to CFLAGS. Put
-ffreestanding in CFLAGS.  Remove unnecessary LDFLAGS.
2002-02-23 04:35:28 +00:00
Jake Burkholder 23b93fc323 Fix test for != 0 that should be > 0. 2002-02-23 04:33:15 +00:00
Jake Burkholder c2ef11f244 Check the return values of index() and don't dereference it if its null;
the path may not have a ':' in it.  The mac address property is called
mac-address for sparc64.  Don't allocate a dma buffer for sparc64 either.
2002-02-23 04:31:30 +00:00
Jake Burkholder 0c7065ad98 #if 0 more bootinfo stuff. 2002-02-23 04:13:02 +00:00
Jake Burkholder d112f7bd5b Fix fs support ifdefs. Add tftp support. Add physical and virtual
watchpoint support for debugging (under LOADER_DEBUG).  Claim the
physical and virtual addresses used to map the kernel from the prom;
we map it ourselves behind the scenes though.  Add a reboot command.

Submitted by:	tmm
2002-02-23 04:04:30 +00:00
Jake Burkholder 20dc3b11c5 Allocate a frame on our initial stack so that it doesn't run off into
random memory.  Disable interrupts while loading the tlb.

Submitted by:	tmm
2002-02-23 03:38:18 +00:00
Jake Burkholder acfdfd647b Add OF_claim_virt() and OF_release_phys().
Submitted by:	tmm
2002-02-23 03:36:04 +00:00
Jake Burkholder 4f265afbc1 Include <machine/metadata.h>. 2002-02-23 03:33:39 +00:00
David E. O'Brien 04e7d65aeb The usage of 'newaliases' needs to be after we know for sure that /usr
is mounted.

Submitted by:	rizzo
2002-02-23 01:49:20 +00:00
Jake Burkholder 4fbd95d6b5 Don't echo a comment during make depend. 2002-02-23 01:49:13 +00:00
Jake Burkholder 39dda4e363 Make this compile.
Pointy hat to:	julian
2002-02-23 01:42:13 +00:00
Dag-Erling Smørgrav bf9ae4e89d This commit was generated by cvs2svn to compensate for changes in r91100,
which included commits to RCS files with non-trunk default branches.
2002-02-23 01:24:02 +00:00
Dag-Erling Smørgrav 46acc37026 Vendor import of OpenPAM Cantaloupe 2002-02-23 01:24:02 +00:00
Dag-Erling Smørgrav 9350e3cd49 This commit was generated by cvs2svn to compensate for changes in r91097,
which included commits to RCS files with non-trunk default branches.
2002-02-23 01:23:20 +00:00
Dag-Erling Smørgrav ac676a1116 Vendor import of OpenPAM Caliopsis 2002-02-23 01:23:20 +00:00
Dag-Erling Smørgrav 82170ab754 This commit was generated by cvs2svn to compensate for changes in r91094,
which included commits to RCS files with non-trunk default branches.
2002-02-23 01:22:51 +00:00
Dag-Erling Smørgrav 5c1eca5551 Vendor import of OpenPAM Calamite 2002-02-23 01:22:51 +00:00
Julian Elischer 77c4066424 Add some DIAGNOSTIC code.
While in userland, keep the thread's ucred reference in a shadow
field so that the usual place to store it is NULL.
If DIAGNOSTIC is not set, the thread ucred is kept valid until the next
kernel entry, at which time it is checked against the process cred
and possibly corrected. Produces a BIG speedup in
kernels with INVARIANTS set. (A previous commit corrected it
for the non INVARIANTS case already)

Reviewed by:	dillon@freebsd.org
2002-02-22 23:58:22 +00:00
Mark Murray a3dbc1d804 ANSIfy. 2002-02-22 23:31:57 +00:00
Mark Murray 8bd08b5fac Fix warnings inspired by lint, a commercial lint and WARNS=4. 2002-02-22 21:24:14 +00:00
Mark Murray ece5764570 Fix a boatload of warnings inspired by lint, a commercial lint
and WARNS=4.
2002-02-22 21:21:37 +00:00
Mark Murray 4b23bd7c2a Warnings fixes. 2002-02-22 21:13:31 +00:00
Mark Murray 4b4ed2fe6a Fix warnings inspired by lint, a commercial lint and WARNS=4. 2002-02-22 21:11:03 +00:00
Mark Murray fab912df88 Partially fix (well, work around) warnings inspired by lint, a
commercial lint and WARNS=4.
2002-02-22 21:02:58 +00:00
Mark Murray 9b2010a2de Fix warnings inspired by lint, a commercial lint and WARNS=4. 2002-02-22 21:00:16 +00:00
Mark Murray 39661e26a5 Warnings fixes inspired by lint, a commercial lint and WARNS=4. 2002-02-22 20:57:53 +00:00
Mark Murray 5ca37430d9 Warning fix. Enter into the spirit of getopt(3) a bit more. 2002-02-22 20:55:04 +00:00
Mark Murray 9afa09cd0e Fix warnings inspired by lint, a commercial lint and WARNS=4. 2002-02-22 20:51:00 +00:00
Mark Murray 71bea4f79d Fix warnings inspired by lint, a commercial lint and WARNS=4 2002-02-22 20:45:09 +00:00
Brian Feldman 49b33de841 Also blindly attempt to fix broken world with respect to proc.p_runtime
changes.
2002-02-22 19:10:09 +00:00
David E. O'Brien 5158a0f59f The existing bazaar and site-specific policy in rc.diskless1 is Just Wrong;
and looks like no other Unix diskless configuration I've ever seen.
Thus allow a more traditional /etc.

Note, the use of an MFS /var should also be settable.
Otherwise installing ports(packages) is just a total PITA.
2002-02-22 19:05:22 +00:00
David E. O'Brien d46d3a1c02 Update for binutils_2_12_anoncvs_20020221. 2002-02-22 18:49:37 +00:00
Dag-Erling Smørgrav bea8bf9567 (Belatedly) add the required EXPORT_SYMS. I'm not sure the list is complete,
but at least linprocfs works (I haven't had the opportunity to test other
stuff that depends on the linux module, like aac or tdfx)
2002-02-22 18:21:20 +00:00
Bruce A. Mah fbfe83fda4 Modified release note: Binutils update. While I'm here, fix a minor
grammatical mismatch ("Binutils" is the name of a package and
therefore is singular, not plural).
2002-02-22 16:26:38 +00:00
Andrew R. Reiter e68baa7073 - Whitespace fixes leftover from previous commit.
Submitted by:	bde
2002-02-22 13:43:56 +00:00
Andrew R. Reiter 54c94c8a35 - Whitespace fixup left over from previous commit.
- Remove bogus cast.

Submitted by:	bde
2002-02-22 13:33:10 +00:00
Poul-Henning Kamp 1cbb9c3b03 Convert p->p_runtime and PCPU(switchtime) to bintime format. 2002-02-22 13:32:01 +00:00
Poul-Henning Kamp 4e2befc031 Use better scaling factor for NTPs correction.
Explain the magic.
2002-02-22 12:59:20 +00:00
Poul-Henning Kamp 6e47a4f646 Allow PCI_ALLOW_UNSUPPORTED_IO_RANGE to leave broken setups broken enough
to work.
2002-02-22 11:21:02 +00:00
Poul-Henning Kamp 57c10583aa GC: BIO_ORDERED, various infrastructure dealing with BIO_ORDERED. 2002-02-22 09:26:35 +00:00
Poul-Henning Kamp af91f4fa16 GC: BIO_ORDERED going away. 2002-02-22 09:18:46 +00:00
Poul-Henning Kamp 817988be19 Disksort will not "munge" requests, BIO_ORDERED or not, so remove
use of BIO_ORDERED.
2002-02-22 09:14:06 +00:00
Poul-Henning Kamp 986066d065 Replace bowrite() with BUF_WRITE in ufs.
Remove bowrite(), it is now unused.

This is the first step in getting entirely rid of BIO_ORDERED which is
a generally accepted evil thing.

Approved by:	mckusick
2002-02-22 09:03:00 +00:00
Poul-Henning Kamp 4d768fea35 GC: bufqueues are not used under -current, we use bioqueues. 2002-02-22 07:45:16 +00:00
David E. O'Brien e2c76cd6de Update for binutils_2_12_anoncvs_20020221. 2002-02-22 05:35:18 +00:00
David E. O'Brien 1e2fa85a95 Explain how I did the binutils_2_12_anoncvs_20020221 import. 2002-02-22 05:11:49 +00:00
David E. O'Brien 9d34368f3a Merge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints)
into Binutils 2.12_20020221_snap.
2002-02-22 04:52:00 +00:00
David E. O'Brien dd23d95f1b Bring the binutils_2_12_20020221_snap version of this to the HEAD branch. 2002-02-22 04:51:15 +00:00
David E. O'Brien a6c1198cb5 Merge rev 1.2 (FreeBSD a.out configuration support) into
Binutils 2.12_20020221_snap.
2002-02-22 04:49:49 +00:00
David E. O'Brien 4ed0906c0d Use the stock (2.12_20020221_snap) version of this. 2002-02-22 04:48:12 +00:00