Commit Graph

92607 Commits

Author SHA1 Message Date
harti
4a9393f207 Handle the new MEDIA definitions. 2003-07-23 15:04:31 +00:00
ru
1baadead83 Added the WORLDDIR variable (defaulting to ${.CURDIR}/..) that
points to a directory where "make buildworld" was run.  Useful
for building 5.x snapshots on 4.x.
2003-07-23 14:40:51 +00:00
harti
ca7251f9ff Convert a lot of uma_zalloc() calls to be NOWAIT instead of WAITOK. All
these may be called from contexts where we cannot sleep (callout handlers
for example).
2003-07-23 14:28:57 +00:00
harti
8eae9989bc Get rid of the zone for network interfaces. We have converted this to
use malloc(9).
2003-07-23 14:25:53 +00:00
simon
7214e12bc2 Add manual page to document the new rescue utilities in /rescue.
Most text by:	Tim Kientzle <kientzle@acm.org>
Reviewed by:	ru, doc@
Approved by:	ceri (mentor)
2003-07-23 13:24:32 +00:00
ru
990c4a147b Make NO_FLOPPIES really mean "no floppies", including not even
creating the "floppies" directory on FTP and CD-ROMs.  Enforce
NO_FLOPPIES on amd64.

Tested for:	amd64, i386 with -DNO_FLOPPIES
2003-07-23 12:12:53 +00:00
nyan
d4495b7400 MFi386: revision 1.1090. 2003-07-23 12:09:14 +00:00
bde
e913f4a1ba Fixed some style bugs (misplacement and misformatting of some commented-out
code).
2003-07-23 09:24:44 +00:00
ru
bb6f269255 Revert revision 1.788, and explain a bit the intent of having
the boot.flp image on the second CD-ROM.

Explained by:	jhb
Desired by:	vendors
2003-07-23 06:00:56 +00:00
ru
9c1ae2e1d1 amd64 will not provide floppies. 2003-07-23 05:55:02 +00:00
ru
9420032aac Do not define BIGBOOTSIZE and the friends for amd64; it serves
no useful purpose other than wasting CPU time in "make release"
creating useless boot.flp.

Desired by:	peter
2003-07-23 05:53:52 +00:00
peter
e6e6002e37 Only provide one copy of the math functions. If we provide a MD function,
do not also provide a __generic_XXX version as well.  This is how we
used to runtime select the generic vs i387 versions on the i386 platform.

This saves a pile of #defines in the src/math_private.h file to undo the
__generic_XXX renames in some of the *.c files.
2003-07-23 04:53:47 +00:00
peter
b62bc30e91 Remove _ARCH_INDIRECT, it was the glue to enable having both hardware
and software versions of the floating point code in libm.  The runtime
selection was done by reading the hw.floatingpoint sysctl via
__get_hw_float().
2003-07-23 04:28:51 +00:00
peter
c549cfd555 No longer need the internal __get_hw_float() function. 2003-07-23 04:25:04 +00:00
peter
e3535ebe8e Now that we do not need to do runtime detection for the broken default
fp emulator, stop doing the runtime selection of hardware or emulated
floating point operations on i386.  Note that I have not suppressed the
duplicate compiles yet.

While here, fix the alpha.  It has provided specific copysign/copysignf
functions since the beginning of time, but they have never been used.
2003-07-23 04:23:36 +00:00
marcel
b1fac7bd73 We sloppily created an array for the high FP registers (f32-f127),
but this just created a weird inconsistency when porting gdb(1).
Instead, we name each high FP register seperately, like we do for
all the other registers.
2003-07-23 03:08:34 +00:00
deischen
e10f5fec26 Move idle kse wakeup to outside of regions where locks are held.
This eliminates ping-ponging of locks, where the idle KSE wakes
up only to find the lock it needs is being held.  This gives
little or no gain to M:N mode but greatly speeds up 1:1 mode.

Reviewed & Tested by:	davidxu
2003-07-23 02:11:07 +00:00
peter
2d8bd15d86 Attempt to preempt any new gcc-ism references to
__attribute__((__always_inline__)) by adding an __always_inline macro
(used like __dead2 etc).  __inline_damnit has also been suggested but we
have a precedent of keeping the names similar so they are easier to find.
2003-07-22 23:50:32 +00:00
imp
442b07957f There is strong reason to believe that gcc 4 will also support
__attribute__((__nonnull__(x)), assume it so.
2003-07-22 23:14:32 +00:00
dds
0fb92c3450 Added entry for Billionton LM5LT-10N
Fixed small typo

Reviewed by:	imp
Approved by:	imp
2003-07-22 21:23:01 +00:00
phk
012b00737c Remove all but one of the inlines here, this reduces the code size by
2032 bytes and has no measurable impact on performance.
2003-07-22 20:54:26 +00:00
dds
c025d4ff69 Fixed .Nm element, updated HISTORY section, added AUTHORS section.
Reviewed by:	schweikh (mentor)
MFC after:	2 weeks
2003-07-22 19:23:45 +00:00
dds
e63265f52e Test 8.16 in sed.test tests the ability of a sed to handle an empty
regular expression as the first argument to a substitute command. If
used to test a sed which (erroneously) evaluates this at translation
time rather than at execution time, the bugged sed is put into an
infinite loop. This mode of failure seems excessive. Such a failing
sed is the Free Software Foundation's sed 3.02.

The specific test was also not being executed for the BSD sed.

Both problems are now fixed.

PR:		misc/25585
Submitted by:	Walter Briscoe <w.briscoe@ponl.com>
Approved by:	schweikh (mentor)
MFC after:	2 weeks
2003-07-22 19:22:08 +00:00
sam
881989f73c correct device table a la ath(4) 2003-07-22 19:08:46 +00:00
sam
81f619b329 add IPSEC_FILTERGIF suport for FAST_IPSEC
PR:		kern/51922
Submitted by:	Eric Masson <e-masson@kisoft-services.com>
MFC after:	1 week
2003-07-22 18:58:34 +00:00
mux
266fe8e6e2 De-inline some functions. It doesn't gain us anything and bloats
code size by 3616 bytes.  Furthemore, it was previously ignored by GCC.

While I'm at it, fix some bogus comments.
2003-07-22 15:50:54 +00:00
harti
9b6a4217c3 Allocate network interfaces from malloc() instead of using a zone.
Usually one needs only a couple of them so using a zone is waste
of memory (esp. on multi-cpu systems).
2003-07-22 15:11:08 +00:00
ru
5048add97a Make sure the crypto versions of libfetch and fetch(1) appear in
the "crypto" distribution.

Approved by:	des
2003-07-22 13:54:31 +00:00
harti
6669cd1fe5 Remove the zone limits for all the zones used in the ATM code.
These were a left over from when the private memory pools were
converted to use uma zones. The limit of UMA zones, however,
works differently. When a zone is limited to only one or two pages
than, on multi-cpu systems, processes can get stuck on the zonelimit,
because all remaining free items are in caches of other CPUs.

Also add rudimentary error handling in some places (panic) when a zone
cannot be created.
2003-07-22 12:46:30 +00:00
ticso
8d066a6de2 EISA_SLOTS is mandantory to get opt_eisa.h
Put it into MI files.
2003-07-22 11:42:45 +00:00
ticso
cbe7cf8ce7 relocate eisa into MI files.
Suggested by:	jhb
2003-07-22 11:41:15 +00:00
imp
9bb159a6c5 note rescue issues and fpu emulation removal 2003-07-22 11:08:41 +00:00
phk
b2fb6bf14a Revert stuff which accidentally ended up in the previous commit. 2003-07-22 10:36:36 +00:00
phk
ad8d959d29 Don't attempt to inline large functions mb_alloc() and mb_free(),
it more than doubles the text size of this file.

GCC has wisely ignored us on this previously
2003-07-22 10:24:41 +00:00
phk
8d9e6330b5 Move inlined function ie_ack() up to before first use. 2003-07-22 09:35:45 +00:00
phk
1f79e73edc Don't inline very large functions.
Gcc has silently not been doing this for a long time.
2003-07-22 09:27:58 +00:00
phk
79ad2a33ce Don't inline ridiculously very large functions.
Compared to the contents of these functions, an extra function call
is nano-peanuts.
2003-07-22 09:22:00 +00:00
ru
975d62a358 /floppies/boot.flp is no longer necessary on bootable i386 CD-ROMs.
Forgotten by:	jhb
2003-07-22 09:04:09 +00:00
phk
a4f55512b4 Don't complain about inlines for genassym 2003-07-22 09:02:21 +00:00
harti
0272f00b52 When padding an mbuf chain to have a length that is a multiple
of 48 bytes for AAL0, we also need to update the packet header.

Spotted by: Anil Madhavapeddy <anil@recoil.org>
2003-07-22 08:20:09 +00:00
peter
1a11d028c1 Update npx status.
Reminded by:  tjr
2003-07-22 08:15:29 +00:00
peter
64925cf2e2 Initiate de-orbit burn for fpu-less operation. 386+387 is still
theoretically supportable, but you'd really be happier with FreeBSD 2.1.8
on it.
2003-07-22 08:11:17 +00:00
luigi
656511bf7a Add a note that net.inet.ip.fw.autoinc_step is ipfw2-specific 2003-07-22 07:41:24 +00:00
peter
42249c536e Fix a 64 bit bug lost in the inline warning noise. sizeof is not always
an int.  Do not printf() it as though it were.
2003-07-22 06:58:04 +00:00
peter
0b811f5d4c swp_pager_hash() was called before it was instantiated inline. This made
gcc (quite rightly) unhappy.  Move it earlier.
2003-07-22 06:55:48 +00:00
peter
fbc3c9cdd7 Go back to 64 bit precision for fadd/fsub/fsqrt etc. This is because on
AMD64, gcc (and the ABI) expects the x87 unit to be running in 80/64
mode (not 64/53) so that it can use it for 'long double' operations.  It
takes the expected precision differences into account when generating
code.
2003-07-22 06:50:34 +00:00
peter
a58f3f6f4b Instantiate explicit callable versions of the machine/ieeefp.h inlines
for the use of non-GCC compilers and C++ code.
2003-07-22 06:46:17 +00:00
peter
78fb90778a Extend the machine/ieeefp.h that was inherited from i386 to support
the SSE mxcsr register as well.  Since gcc will intermix SSE2 and x87
FP code, the fpsetround() etc mode had better be the same.

There are hooks to enable these inlines to be instantiated inside libc
for non-gcc or C++ callers. (g++ doesn't like the inlines that tried
to extract an integer and convert it to an enum).
2003-07-22 06:44:54 +00:00
peter
e8952b93e7 Turn off the libc/quad functions since they are not needed for amd64
and just cause lots of warnings.
2003-07-22 06:34:57 +00:00
harti
933c46faee Add several vendor, API and media definitions. This has been
forgotten in the previous commit to harp and should unbreak world.
2003-07-22 06:31:13 +00:00