Commit graph

48530 commits

Author SHA1 Message Date
David E. O'Brien 7277157f24 Tweaks for i386, add alpha, ppc, sparc, and strongarm support. 2000-05-13 17:48:08 +00:00
David E. O'Brien cb51ce8cd9 Use the stock vendor version of this file now. 2000-05-13 17:34:51 +00:00
David E. O'Brien 76d24f9bde Merge in revs 1.2 and 1.3 (FreeBSD configuration support)
Add preliminary sparc, strongarm, PPC FreeBSD support.
2000-05-13 17:33:39 +00:00
David E. O'Brien 83e6e888b1 Merge in rev 1.2 (FreeBSD configuration support) 2000-05-13 17:23:06 +00:00
David E. O'Brien bf88f988f1 Merge in rev 1.2 (balance the brackets; PR-docs/8505) 2000-05-13 17:17:56 +00:00
David E. O'Brien c0714643b3 Merge in rev 1.2 (don't use "/" to start a comment). 2000-05-13 17:16:40 +00:00
David E. O'Brien 54ba4feb51 Merge in rev 1.2 which provides some FreeBSD a.out support. 2000-05-13 17:15:13 +00:00
David E. O'Brien 51b36c071e Fix the i386 config bits, merge in the Alpha bits, and add arm32 and
sparc bits.
2000-05-13 17:12:52 +00:00
David E. O'Brien 41a5f4b230 Fix the i386 config bits, merge in the Alpha bits, and add arm32 and
sparc bits.
2000-05-13 17:02:34 +00:00
David E. O'Brien 43766e3cef Return to the vendor's version of this file. 2000-05-13 16:56:24 +00:00
David E. O'Brien 9f2a1db658 Return to the vendor's version of this file as in rev 1.4. 2000-05-13 16:54:41 +00:00
David E. O'Brien eccf7968d0 Merge in our rev 1.2 changes: Restore traditional behavior by acknowledging
tabs in strings.
2000-05-13 16:53:47 +00:00
David E. O'Brien caf0b2ed4a Return this file to the vendor's file. 2000-05-13 16:52:25 +00:00
David E. O'Brien 8913907509 Return this file back to the stock version.
The big fixed in rev 1.2 has also been fixed by the Bintuils maintainers.
2000-05-13 16:48:31 +00:00
David E. O'Brien 7371abab19 Merge in rev 1.3 changes (Make the default dynamic linker pathname correct
for FreeBSD.)
2000-05-13 16:46:57 +00:00
David E. O'Brien d37bffcc61 Merge in rev 1.4 changes (Make the default dynamic linker pathname correct
for FreeBSD.)
2000-05-13 16:45:41 +00:00
David E. O'Brien 1398d72f39 Merge in our ELF branding. 2000-05-13 16:44:19 +00:00
Nick Sayer 0d9fb499eb Add -i (insecure) flag to rexecd, which allows uid == 0 logins
(presuming that the user in question is not in /etc/ftpusers and
does not have a null password).
2000-05-13 15:58:36 +00:00
Doug Rabson 8bbd2c1e46 Only probe network settings on the first open of the network device.
The alpha firmware takes a seriously long time to open the network device
the first time.
2000-05-13 15:40:46 +00:00
Tim Vanderhoek 042f27bd00 .Xr boot0cfg 8 ,
PR:		misc/18267 (Usov Alexander <[3]usov@ups.kiev.ua>)
2000-05-13 14:41:04 +00:00
Tim Vanderhoek 21014cca64 Finally remove the restriction introduced from NetBSD in r.1.3 that
pkg_delete be run as root.  Now honours -f and checks ownership of
${PKG_DBDIR} before errx()'ing.

Requested by: bin/5718, myself, bin/18373 (in order)
2000-05-13 12:58:18 +00:00
Tim Vanderhoek 214d1c55f7 Change to comments only: spell FreeBSD.org correctly 2000-05-13 11:21:19 +00:00
Peter Wemm 59a9500cfa Make /dev/[k]mem work after last commit. Transfers were being double
counted due to break/continue changes that were missed.  There are
still too many diffs relative to the i386 version.
2000-05-13 07:43:00 +00:00
Peter Wemm 8594105eba Unbreak 'make reinstall' after last commit 2000-05-13 07:39:46 +00:00
Mike Smith 6d7d302695 Fix a leak where a scratch buffer was not freed when reading from the
/dev/?random devices.  This appears to have been missed when the code
was brought across from the i386.  (This should fix the "world build
hangs with everything waiting on 'temp' problem.)

Also add some iovec fixup code in the error path which seems to have
been similarly fixed.

There are a number of other differences between the i386 and alpha
version which have not been examined.  This code should still be
considered suspect.
2000-05-13 05:38:25 +00:00
John Polstra 64cb419d61 Add a comment explaining the obscure lines:
static void const * const __set_##set##_sym_##sym = &sym;

in the MAKE_SET macros.
2000-05-13 04:38:50 +00:00
David E. O'Brien 7dfe885ec1 Add {kernel,module}-{depend,clean,cleandepend,tags,install,reinstall}
targets.  The {depend,clean,cleandepend,tags,install,reinstall} targets
are composits of the {kernel,module}-* targets (based on NO_MODULES).
2000-05-13 03:15:37 +00:00
Garrett Wollman 4bd7627e1d Add excludes.c (missed in previous commit).
PR:		16944
2000-05-13 03:11:45 +00:00
David E. O'Brien 7f562b6673 The loader was written so that if /kernel was missing /kernel.old would
be booted.  Due to a bug, this wasn't happening.

There is still a lesser bug in that the loader decides which file to boot
after the 10sec count down.  This means the bootfile listed in the count
down in is wrong in the case where the loader will boot /kernel.old.
2000-05-13 02:45:11 +00:00
Nick Hibma 583b504e43 Add a comment to deconfuse a few lines of code I've tripped over two
times now.
2000-05-12 23:42:06 +00:00
Nick Hibma 99e988f203 Mention that each criterium can only be used once. 2000-05-12 23:36:38 +00:00
Peter Wemm 24d29b9649 Install the bootforth config files for the Alpha too. loader.conf should
be functional now.
2000-05-12 23:22:09 +00:00
David E. O'Brien 78ce21c1df Import of Binutils 2.10 snapshot. 2000-05-12 23:15:20 +00:00
David E. O'Brien 32dca8efe6 This commit was generated by cvs2svn to compensate for changes in r60484,
which included commits to RCS files with non-trunk default branches.
2000-05-12 23:15:20 +00:00
David E. O'Brien 076c80b287 Use a alternate side 2.9.1 source tree while upgrading Binutils. 2000-05-12 22:55:23 +00:00
Peter Wemm dafe1ac0a0 Reactivate the FICL hooks to make it be compiled in, but also initialize
FICL.  bootforth is now live on the Alpha!

**BEWARE** - you *MUST* build and install a current libstand or you will
most likely get zfree() panics at loader startup.

We should now be able to set up the loader.conf stuff on the Alpha too.
2000-05-12 22:45:16 +00:00
Peter Wemm c536ef83f0 Fix the real problem that broke the Alpha loader this last week. It
was not the fault of the module code, nor FICL.  The malloc code requires
sbrk() to return addresses that were at least 16 byte aligned.  If the
Alpha loader happened to be 8 byte but not 16 byte aligned in length, then
you would get a zfree() panic at startup.

Incidently, this affected the i386 loader as well, and explains why
the static heap changed things and why jlemon had trouble when the bss
was not ending at a multiple of 8 bytes.

My fix is to 16 byte align it on all arches, even though the x86 version
only required 8 byte alignment (struct MemNode is smaller there).  We could
page align it if we wanted to be paranoid, but it isn't presently necessary.
2000-05-12 22:43:20 +00:00
Peter Wemm 4887dfcfd4 Stop libficl from using floating point registers - this was cauing
dictDelete() to fault early on the Alpha and was the original cause of
the Alpha ficl failures.
2000-05-12 21:51:20 +00:00
Peter Wemm 72c520e887 We compile expressly on the alpha with -mno-fp-regs - so do not use them
explicitly here. This was the original cause of instruction faults on
the Alpha in loader. (not this code, but the same problem in libficl.a)
2000-05-12 21:48:54 +00:00
Chris Costello 2a689d490c Null commit:
The log entry for the previous commit marked an item
  relating to filling in [mca]time data for socket structures
  as related to FIFOs.  The change is actually related
  to sockets.
2000-05-12 20:52:50 +00:00
Tim Vanderhoek 4795f6d5cd Backout previous commit to this file: it dies in buildworld environment.
I probably forgot to put an ${.OBJDIR} somewhere.  I'll redo the change
later when I get a chance to test that thesis.
2000-05-12 18:10:17 +00:00
Jonathan Lemon c9e55fc6d1 This driver attempts to cache mbufs, and re-use them as headers instead
of using the MGETHDR macro all the time.  When an mbuf is reused as a
header, initialize csum_flags to zero as well, so the delayed_checksum
call woks properly.

Debbugging work done by: jmas
2000-05-12 16:48:59 +00:00
Jeroen Ruigrok van der Werven 37d90a44af Fix comment typo.
Submitted by:	nrahlstr
2000-05-12 16:06:49 +00:00
Paul Richards 1c7d91744e Correct duplicate use of word "been" in a sentence. 2000-05-12 15:31:54 +00:00
Yoshihiro Takahashi 0f90341e15 Use bus_space stuff except where it needs high performance. 2000-05-12 12:38:25 +00:00
Yoshihiro Takahashi bb7d754339 Use bus_space stuff except where it needs high performance.
Reviewed by:	bde
2000-05-12 12:37:28 +00:00
Alexey Zelkin ec7b386bd7 Fix typo
Spoted by:	bde
2000-05-12 10:50:04 +00:00
Alexey Zelkin 314c685440 mdoc related fixes:
. synchronize NAME and SYNOPSIS sections
. replace .Ev macros with .Dv / .Er / .Em macros  as mdoc(7)
  specification declare
2000-05-12 10:22:50 +00:00
Alexey Zelkin cdbbbfa4fb . fix .Dt macro argument
. spell inet6_rthdr_reverse correctly
2000-05-12 10:07:31 +00:00
Alexey Zelkin 0543309637 add MLINKS: pthread_testcancel(3) -> pthread_setcanceltype(3) 2000-05-12 09:59:44 +00:00