]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoState that in -exec ... ; the semicolon should be quoted if invoked from
schweikh [Fri, 25 Jul 2003 17:32:43 +0000 (17:32 +0000)]
State that in -exec ... ; the semicolon should be quoted if invoked from
a shell.

PR: docs/54667
Submitted by: Patrick Alken <pa59@cornell.edu>
MFC after: 3 days

21 years agoFix output from an error message.
njl [Fri, 25 Jul 2003 17:11:15 +0000 (17:11 +0000)]
Fix output from an error message.
Use sysctl -n instead of sed

Submitted by: Scott Lambert <lambert@lambertfam.org>

21 years agoAdd wrapper for kqueue() to keep track of the allocated fd and allow it to
mp [Fri, 25 Jul 2003 17:02:33 +0000 (17:02 +0000)]
Add wrapper for kqueue() to keep track of the allocated fd and allow it to
be closed. This fixes a file descriptor leak when closing a kqueue() fd.

Reviewed by: deischen
MFC after: 1 week

21 years agoAdd an informational debugging printf of the maximum time spent in
njl [Fri, 25 Jul 2003 16:49:46 +0000 (16:49 +0000)]
Add an informational debugging printf of the maximum time spent in
EcEventWait().  If you get AE_HARDWARE_NO_RESPONSE errors, please enable
this info by setting hw.acpi.verbose=1 in loader.conf.

21 years agoBacked out the micro-optimization in 1.4. It was to help gcc-2.6.3
bde [Fri, 25 Jul 2003 15:54:23 +0000 (15:54 +0000)]
Backed out the micro-optimization in 1.4.  It was to help gcc-2.6.3
on i486's (and probably i386's), but it has had very little effect
since gcc-2.7 or gcc-2.95.  With gcc-3.3, it gave a small
pessimization for at least i386's, athlon-xp's and pentium4's, a
small optimization (I think) for pentium1's, and made no difference
for i386's.  (movzbl is best for all the later processors, and the
micro-optimization was to stop it being used on i486's.)

21 years agoNew release notes: bge(4) 5705 support.
hrs [Fri, 25 Jul 2003 14:08:32 +0000 (14:08 +0000)]
New release notes:  bge(4) 5705 support.

Update release notes:  rescue(7) man page.

MFC:  safe(4).

21 years agoMake the PC98 small boot floppy usable again.
ru [Fri, 25 Jul 2003 13:39:11 +0000 (13:39 +0000)]
Make the PC98 small boot floppy usable again.

Spotted by: nyan
Reviewed by: nyan

21 years agoWhen deciding whether to download the microcode or not look at the API rather
harti [Fri, 25 Jul 2003 12:40:03 +0000 (12:40 +0000)]
When deciding whether to download the microcode or not look at the API rather
than at the vendor. We have three different Fore cards and only the PCA200
need the microcode. Look also at the RAM address and load the code only if
it is not zero. A zero RAM address means either a bug in the driver or
this is a interface created by harp(4) in which case fatm(4) handles the
microcode issue.

21 years agoPrint the offending SPANS message only if printing is enabled.
harti [Fri, 25 Jul 2003 12:32:08 +0000 (12:32 +0000)]
Print the offending SPANS message only if printing is enabled.

21 years agoAn u_int8_t can never be bigger than 255, so remove a useless check.
mux [Fri, 25 Jul 2003 12:23:25 +0000 (12:23 +0000)]
An u_int8_t can never be bigger than 255, so remove a useless check.

Spotted by: GCC

21 years agoRemove a duplicate entry.
mux [Fri, 25 Jul 2003 11:14:03 +0000 (11:14 +0000)]
Remove a duplicate entry.

21 years agoo Do not overwrite saved interrupt priority level by alloc_hash(),
maxim [Fri, 25 Jul 2003 09:59:16 +0000 (09:59 +0000)]
o Do not overwrite saved interrupt priority level by alloc_hash(),
  use a separate variable.
o Restore interrupt priority level before return (no-op in HEAD).

Spotted by: Don Bowman <don@sandvine.com>
MFC after: 5 days

21 years agoThe RELEASE9 knob is now OBE.
ru [Fri, 25 Jul 2003 08:55:51 +0000 (08:55 +0000)]
The RELEASE9 knob is now OBE.

OK'ed by: jhb

21 years agoMoved the boot floppy generation code out from release.9 to release.10.
ru [Fri, 25 Jul 2003 08:54:41 +0000 (08:54 +0000)]
Moved the boot floppy generation code out from release.9 to release.10.
The release.9 target is now responsible only for generation of MFS root
file systems, that are built for all architectures, even those that do
not provide a floppy installation option.  The release.10 target is now
responsible for creation of a set of boot, MFS root, and fixit floppies,
and the NO_FLOPPIES variable now affects only this target.

Also, replaced the FIXIT_TARGET variable with a check of whether the
*FIXITSIZE variables are present for a given architecture, similar to
how this is done when generating boot floppies.

Discussed with: jhb

21 years agoAdd support for VBR and CBR PVCs for IP over ATM.
harti [Fri, 25 Jul 2003 08:35:26 +0000 (08:35 +0000)]
Add support for VBR and CBR PVCs for IP over ATM.

Submitted by: Vincent Jardin <vjardin@wanadoo.fr>
MFC after: 2 weeks

21 years agoMake library WARNS=6 clean. The problems have been: alignment on sparc64
harti [Fri, 25 Jul 2003 08:22:08 +0000 (08:22 +0000)]
Make library WARNS=6 clean. The problems have been: alignment on sparc64
and one of the usual sizeof(in_addr_t) == sizeof(u_long) bugs.

21 years agoDue to a gcc bug, it doesn't like local variables with names like 'sin'.
harti [Fri, 25 Jul 2003 08:15:09 +0000 (08:15 +0000)]
Due to a gcc bug, it doesn't like local variables with names like 'sin'.
Rename this for the moment. Also fix a sparc64 alignment warning.

21 years agoMake ilmid WARNS=6 clean. The problem were a couple of unused function
harti [Fri, 25 Jul 2003 08:09:18 +0000 (08:09 +0000)]
Make ilmid WARNS=6 clean. The problem were a couple of unused function
arguments and missing consts.

21 years agoRemove __aligned(16) from the definition of struct _ia64_fpreg. It's
marcel [Fri, 25 Jul 2003 08:02:24 +0000 (08:02 +0000)]
Remove __aligned(16) from the definition of struct _ia64_fpreg. It's
a non-standard construct. Instead, redefine struct _ia64_fpreg as a
union and put a long double in it. On ia64 and for LP64, this is
defined by the ABI to have 16-byte alignment. For ILP32 a long double
has 4-byte alignment, but we don't support ILP32.

Note that the in-memory image of a long double does not match the in-
memory image of spilled FP registers. This means that one cannot use
the fpr_flt field to interpet the bits. For this reason we continue
to use an aggregate type.

21 years agoRemove INVARIANT* and WITNESS. This makes the simulator much more
marcel [Fri, 25 Jul 2003 07:52:20 +0000 (07:52 +0000)]
Remove INVARIANT* and WITNESS. This makes the simulator much more
pleasant to use.

21 years agoReady to go live.
des [Fri, 25 Jul 2003 07:18:06 +0000 (07:18 +0000)]
Ready to go live.

21 years agoSet the interface type of the network interfaces to IFT_IPOVERATM(114).
harti [Fri, 25 Jul 2003 07:16:28 +0000 (07:16 +0000)]
Set the interface type of the network interfaces to IFT_IPOVERATM(114).
This is specified by RFC2320.

21 years agoHand the packet to bpf not only in the LLC/SNAP case, but for all
harti [Fri, 25 Jul 2003 06:43:41 +0000 (06:43 +0000)]
Hand the packet to bpf not only in the LLC/SNAP case, but for all
connections. While this confuses tcpdump, it enables other applications
to see and analyze non-IP traffic (signalling, for example).

Pointed out by: Vincent Jardin <vjardin@wanadoo.fr>

21 years agoMake the debugging variable that controls printing of UNI messages
harti [Fri, 25 Jul 2003 06:39:46 +0000 (06:39 +0000)]
Make the debugging variable that controls printing of UNI messages
accessible as a sysctl and move the debugging stuff out of DIAGNOSTICS.

Submitted by: Vincent Jardin <vjardin@wanadoo.fr>
MFC after: 2 weeks

21 years agoMove ia64_pa_access() from machdep.c to mem.c and declare it static.
marcel [Fri, 25 Jul 2003 05:37:13 +0000 (05:37 +0000)]
Move ia64_pa_access() from machdep.c to mem.c and declare it static.
It's only used in mem.c and cannot accidentally be used elsewhere
this way.

21 years agoMake the example "too large" message in the manual match the updated one
mckay [Fri, 25 Jul 2003 00:48:29 +0000 (00:48 +0000)]
Make the example "too large" message in the manual match the updated one
actually sent by ctm_smail since rev 1.13.

21 years agoAlign upcall stack top to odd times of 8. GCC accounts return address
davidxu [Fri, 25 Jul 2003 00:21:37 +0000 (00:21 +0000)]
Align upcall stack top to odd times of 8. GCC accounts return address
in callee function for stack alignment.

21 years agoDisable the single-step trap on a debug related trap, including of
marcel [Fri, 25 Jul 2003 00:11:14 +0000 (00:11 +0000)]
Disable the single-step trap on a debug related trap, including of
course the single-step trap itself.

21 years agoMove the mlx driver back into the kernel so that the drivers floppy doesn't
scottl [Fri, 25 Jul 2003 00:10:33 +0000 (00:10 +0000)]
Move the mlx driver back into the kernel so that the drivers floppy doesn't
overflow.

21 years agoPrint group name in getfacl output when calculating an effective
rwatson [Thu, 24 Jul 2003 23:33:25 +0000 (23:33 +0000)]
Print group name in getfacl output when calculating an effective
permission set based on a more restrictive mask.

Submitted by: Glen Gibb <grg@ridley.unimelb.edu.au>

21 years agoHide more crypto from being crunched at release time.
markm [Thu, 24 Jul 2003 20:20:16 +0000 (20:20 +0000)]
Hide more crypto from being crunched at release time.

21 years agoTurn on the extended syntax, which TCP_wrappers has by default, as
markm [Thu, 24 Jul 2003 19:58:56 +0000 (19:58 +0000)]
Turn on the extended syntax, which TCP_wrappers has by default, as
distributed.

21 years agoRemove GCC-specific debugging option.
markm [Thu, 24 Jul 2003 19:53:02 +0000 (19:53 +0000)]
Remove GCC-specific debugging option.

OK'ed by: phk

21 years agoDon't check for the existance of src/crypto/ for building items that
markm [Thu, 24 Jul 2003 18:30:25 +0000 (18:30 +0000)]
Don't check for the existance of src/crypto/ for building items that
may contain crypto. The days of ITAR paranoia are over, and the simple
macro tests that remain are sufficient.

21 years agoMissing quotes around a variable. In this case we are only
mtm [Thu, 24 Jul 2003 18:17:21 +0000 (18:17 +0000)]
Missing quotes around a variable. In this case we are only
evaluating the $_precmd command as a string. We're not actually
trying to evaluate the contents of the command.

Reported by: Glenn Johnson <gjohnson@srrc.ars.usda.gov>

21 years agoDon't lint(1) so early in the build. Its OK to keep this for the
markm [Thu, 24 Jul 2003 18:14:29 +0000 (18:14 +0000)]
Don't lint(1) so early in the build. Its OK to keep this for the
"make all" phase.

21 years agoForced commit.
markm [Thu, 24 Jul 2003 18:11:27 +0000 (18:11 +0000)]
Forced commit.

The previous commit included some commented-out macro-assignments
with comments documenting their function. These macros were of
considerable use to me in building a test "make release".

21 years agoGet the correct set of cryptographically-infected binaries
markm [Thu, 24 Jul 2003 17:28:52 +0000 (17:28 +0000)]
Get the correct set of cryptographically-infected binaries
automagically from the (secure|kerberos5)/Makefile:[KS]PROG.

21 years agoMake sure that a "make release" (more accurately the bit that makes
markm [Thu, 24 Jul 2003 17:19:15 +0000 (17:19 +0000)]
Make sure that a "make release" (more accurately the bit that makes
the crunched binary) get a non-cryptographic telnet. This is overkill
in that it covers stuff that is not normally used in a crunched binary.

21 years agoThe POSIX spec also requires that kern_sigtimedwait return
mtm [Thu, 24 Jul 2003 17:07:17 +0000 (17:07 +0000)]
The POSIX spec also requires that kern_sigtimedwait return
EINVAL if tv_nsec of the timeout is less than zero.

21 years agoMake the debugging variable that controls dumping of IP over ATM packets
harti [Thu, 24 Jul 2003 15:25:17 +0000 (15:25 +0000)]
Make the debugging variable that controls dumping of IP over ATM packets
accessible as a sysctl.

Submitted by: Vincent Jardin <vjardin@wanadoo.fr>
MFC after: 2 weeks

21 years agoCreate a sysctl that allows to enable/disable printing of SPANS messages.
harti [Thu, 24 Jul 2003 14:37:01 +0000 (14:37 +0000)]
Create a sysctl that allows to enable/disable printing of SPANS messages.
While here delete to sys/types.h includes when sys/param.h is also included.

Submitted by: Vincent Jardin <vjardin@wanadoo.fr>
MFC after: 2 weeks

21 years agoReplaced the hardcoded target names in the touch(1) commands with
ru [Thu, 24 Jul 2003 13:45:05 +0000 (13:45 +0000)]
Replaced the hardcoded target names in the touch(1) commands with
${.TARGET}, to ease maintenance.

21 years agoFree the UNI vcc to the same zone from where it was allocated from.
harti [Thu, 24 Jul 2003 12:24:41 +0000 (12:24 +0000)]
Free the UNI vcc to the same zone from where it was allocated from.
This resulted in a panic when detaching the uni31 signalling manager.

21 years agoNow that we have if_detach() don't try to get rid of all the interface
harti [Thu, 24 Jul 2003 11:17:36 +0000 (11:17 +0000)]
Now that we have if_detach() don't try to get rid of all the interface
stuff (routes, ...) by hand - simply use if_detach().

Submitted by: Vincent Jardin <vjardin@wanadoo.fr>
MFC after: 2 week

21 years agoComplain about extraneous command line arguments.
des [Thu, 24 Jul 2003 10:44:45 +0000 (10:44 +0000)]
Complain about extraneous command line arguments.

21 years agoCreate a subtree 'harp' of the net sysctl tree. This uses a fixed
harti [Thu, 24 Jul 2003 10:33:01 +0000 (10:33 +0000)]
Create a subtree 'harp' of the net sysctl tree. This uses a fixed
OID as the other protocol family sub-trees do, that is equal to the
protocol family identifier. Make the ATM layer debugging flags
available under this tree.

Submitted by: Vincent Jardin <vjardin@wanadoo.fr>
MFC after: 2 weeks

21 years agoForced commit for the MFC.
harti [Thu, 24 Jul 2003 09:14:50 +0000 (09:14 +0000)]
Forced commit for the MFC.

MFC after: 2 weeks

21 years agoConstify the arguments to several pdu_print functions.
harti [Thu, 24 Jul 2003 09:13:03 +0000 (09:13 +0000)]
Constify the arguments to several pdu_print functions.

21 years agoImplement cpu_set_upcall and cpu_set_upcall_kse.
davidxu [Thu, 24 Jul 2003 08:52:44 +0000 (08:52 +0000)]
Implement cpu_set_upcall and cpu_set_upcall_kse.

Reviewed by: peter

21 years agoSet fault address to si_addr.
davidxu [Thu, 24 Jul 2003 08:51:22 +0000 (08:51 +0000)]
Set fault address to si_addr.

Reviewed by: peter

21 years agoAdd BPF support to HARP network interfaces. This allows one to see
harti [Thu, 24 Jul 2003 08:15:20 +0000 (08:15 +0000)]
Add BPF support to HARP network interfaces. This allows one to see
the traffic on LLC multiplexed connections (like CLIP).

PR: kern/51831
Submitted by: Vincent Jardin <vjardin@wanadoo.fr>
MFC after: 2 weeks

21 years agoImplement _get_curthread and _set_curthread. We use GCCs builtin
marcel [Thu, 24 Jul 2003 07:51:49 +0000 (07:51 +0000)]
Implement _get_curthread and _set_curthread. We use GCCs builtin
function this, which expands to PAL calls (rduniq and wruniq).
This needs adjustment when TLS is implemented.

21 years agoImplement casuptr().
marcel [Thu, 24 Jul 2003 07:49:45 +0000 (07:49 +0000)]
Implement casuptr().

21 years agoIn get_mcontext() and set_mcontext() save and restore the current
marcel [Thu, 24 Jul 2003 07:48:11 +0000 (07:48 +0000)]
In get_mcontext() and set_mcontext() save and restore the current
thread pointer.

21 years agoFix rescue build using -j. The problem appears to be make not being able
gordon [Thu, 24 Jul 2003 07:42:42 +0000 (07:42 +0000)]
Fix rescue build using -j. The problem appears to be make not being able
to find the source when the object was specified as <directory>/foo.o.

The fix makes the build go through a make objs before compiling the rest
of the crunchgen. This ensures that the dhclient bits are built in the
correct place where they are picked up for the final compile of rescue.

I'd like to thank dwhite@ and gad@ for helping me track down the problem.

Fast testing box provided by: phk@ (thanks)

21 years agoImplement alpha_pal_wrunique() and alpha_pal_rdunique(). Both are
marcel [Thu, 24 Jul 2003 07:41:08 +0000 (07:41 +0000)]
Implement alpha_pal_wrunique() and alpha_pal_rdunique(). Both are
used to set and get the thread pointer. Note that a context switch
will automaticly save and restore the thread pointer.

21 years agoUse a spare for the thread pointer (mc_thrptr). The thread pointer
marcel [Thu, 24 Jul 2003 07:34:31 +0000 (07:34 +0000)]
Use a spare for the thread pointer (mc_thrptr). The thread pointer
is only read and written by set_mcontext() and get_mcontext() for
use by threading libraries.

21 years agoEnsure that for the cryptographic instances of *telnet*, the "crypto"
markm [Thu, 24 Jul 2003 07:19:55 +0000 (07:19 +0000)]
Ensure that for the cryptographic instances of *telnet*, the "crypto"
distribution is used. This only affects release-building.

21 years agoConnect ncplist, ncplogin, and smbutil to the amd64 build.
peter [Thu, 24 Jul 2003 02:09:19 +0000 (02:09 +0000)]
Connect ncplist, ncplogin, and smbutil to the amd64 build.

21 years agoAdd mount_nwfs/mount_smbfs to the build for amd64.
peter [Thu, 24 Jul 2003 02:07:14 +0000 (02:07 +0000)]
Add mount_nwfs/mount_smbfs to the build for amd64.

21 years agoConnect libncp/libsmb to the build. They compile, but have a couple of
peter [Thu, 24 Jul 2003 02:05:48 +0000 (02:05 +0000)]
Connect libncp/libsmb to the build.  They compile, but have a couple of
silly bugs that probably wont quite make a segfault.  eg: passing a pointer
to an int to sysctl instead of a pointer to a size_t.

21 years agosize_t != int. Make this compile on 64 bit platforms (eg: amd64).
peter [Thu, 24 Jul 2003 01:59:18 +0000 (01:59 +0000)]
size_t != int.  Make this compile on 64 bit platforms (eg: amd64).
Also, "u_short value; if (value > 0xffff)" can never be true.

21 years agoBuild /sbin/gpt on amd64 for good luck as well.
peter [Thu, 24 Jul 2003 01:42:49 +0000 (01:42 +0000)]
Build /sbin/gpt on amd64 for good luck as well.

21 years agoAttach acpi, boot0cfg, lptcontrol, sicontrol, spkrtest, zzz for amd64.
peter [Thu, 24 Jul 2003 01:41:34 +0000 (01:41 +0000)]
Attach acpi, boot0cfg, lptcontrol, sicontrol, spkrtest, zzz  for amd64.

21 years agoFix an annoying bug in tar. When it converted 'tar zcf' to 'tar -z -c -f'
peter [Thu, 24 Jul 2003 00:04:01 +0000 (00:04 +0000)]
Fix an annoying bug in tar.  When it converted 'tar zcf' to 'tar -z -c -f'
it forgot to null terminate the new argv[] array.  If you mixed this
with $TAR_OPTIONS, phkmalloc and a whole bunch of other variables, you
could end up with a segfault.  This isn't strictly a phkmalloc victory
since tar walks off the end of an array rather than use uninitialized
malloc memory, but phkmalloc makes it easier to provoke.

21 years agoSimplistic C comment re is wrong, use more correct one
imp [Wed, 23 Jul 2003 23:50:25 +0000 (23:50 +0000)]
Simplistic C comment re is wrong, use more correct one

21 years agoRemove old workaround
imp [Wed, 23 Jul 2003 23:50:00 +0000 (23:50 +0000)]
Remove old workaround

21 years agoMake the breakpoint instruction trap gate available to users.
peter [Wed, 23 Jul 2003 23:20:20 +0000 (23:20 +0000)]
Make the breakpoint instruction trap gate available to users.
ptrace() needs this.

Submitted by: Mark Kettenis <kettenis@chello.nl>

21 years agoSet the %gs base to pcb_gsbase, not pcb_fsbase. Oops.
peter [Wed, 23 Jul 2003 23:17:15 +0000 (23:17 +0000)]
Set the %gs base to pcb_gsbase, not pcb_fsbase.  Oops.

Discovered by: davidxu

21 years agoTurn -Werror back off again. Leaving out the invariants options causes
peter [Wed, 23 Jul 2003 22:02:30 +0000 (22:02 +0000)]
Turn -Werror back off again.  Leaving out the invariants options causes
more trouble than I expected.

21 years agoDocument an additional error return value. The connect(2) call can also
dds [Wed, 23 Jul 2003 22:00:08 +0000 (22:00 +0000)]
Document an additional error return value.  The connect(2) call can also
return EACCES on non-Unix domain sockets as demonstrated by the
following program:

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

int
main(int argc, char *argv[])
{
struct sockaddr_in rem_addr;
int sock;

if ((sock = socket(AF_INET, SOCK_STREAM, 0)) < 0) {
perror("socket");
exit(1);
}

bzero((char *)&rem_addr, sizeof(rem_addr));
rem_addr.sin_family = AF_INET;
rem_addr.sin_addr.s_addr = INADDR_NONE;
rem_addr.sin_port = htons(10000);

if (connect(sock, (struct sockaddr *)&rem_addr,
sizeof(rem_addr)) < 0) {
perror("connect");
exit(1);
}
}

The call chain returning this value is probably:

kern/uipc_syscalls.c:connect
kern/uipc_socket.c:soconnect
netinet/tcp_usrreq.c:tcp_usr_connect
netinet/tcp_output.c:tcp_output
netinet/ip_output.c:ip_output

Reviewed by: schweikh (mentor)
MFC after: 2 weeks

21 years agoAdded the (undocumented) EMUL_BOOT variable (for TARGET=i386 only)
ru [Wed, 23 Jul 2003 20:53:37 +0000 (20:53 +0000)]
Added the (undocumented) EMUL_BOOT variable (for TARGET=i386 only)
that causes the bootable ISO images to be created using the floppy
emulation (the old method) as opposed to the new "cdboot" method.

Only copy boot.flp to the 2nd CD-ROM if this variable is defined.

Reviewed by: murray

21 years agoInitialize 'blocked' to NULL. I think this was a real problem, but I
peter [Wed, 23 Jul 2003 20:29:13 +0000 (20:29 +0000)]
Initialize 'blocked' to NULL.  I think this was a real problem, but I
am not sure about that.  The lack of -Werror and the inline noise hid
this for a while.

21 years agoStop GCC from whining when people use a 16 bit port number for inb() and outb()
phk [Wed, 23 Jul 2003 20:28:23 +0000 (20:28 +0000)]
Stop GCC from whining when people use a 16 bit port number for inb() and outb()

21 years agoInstall rc files from ${.CURDIR}, not ${.OBJDIR}.
des [Wed, 23 Jul 2003 20:22:50 +0000 (20:22 +0000)]
Install rc files from ${.CURDIR}, not ${.OBJDIR}.

21 years agoSample configuration files.
des [Wed, 23 Jul 2003 20:16:36 +0000 (20:16 +0000)]
Sample configuration files.

21 years agoRewrite tbmaster to use configuration files instead of a hard-coded hash.
des [Wed, 23 Jul 2003 20:16:11 +0000 (20:16 +0000)]
Rewrite tbmaster to use configuration files instead of a hard-coded hash.

21 years agoImprove the markup a little.
des [Wed, 23 Jul 2003 20:15:49 +0000 (20:15 +0000)]
Improve the markup a little.

21 years agoTurn -Werror back on.
peter [Wed, 23 Jul 2003 20:10:09 +0000 (20:10 +0000)]
Turn -Werror back on.

21 years agoARGH. I *knew* I'd eventually accidently commit this. Change 5.1-XP back
peter [Wed, 23 Jul 2003 20:07:49 +0000 (20:07 +0000)]
ARGH. I *knew* I'd eventually accidently commit this.  Change 5.1-XP back
to 5.1-CURRENT.

21 years agoProvide a knob for raising the inline instruction estimate threshold and
peter [Wed, 23 Jul 2003 20:03:42 +0000 (20:03 +0000)]
Provide a knob for raising the inline instruction estimate threshold and
set an initial value.  This is aimed at getting us closer to being able to
turn -Werror back on and we can adjust the settings later on.  Yes, we
could turn off -Wno-inline instead, but that would hide the effect of
gcc's bogo-estimator ignoring inline (either rightly or wrongly).

21 years agoAnnotate pmap_changebit() as __always_inline. This function was
alc [Wed, 23 Jul 2003 19:49:32 +0000 (19:49 +0000)]
Annotate pmap_changebit() as __always_inline.  This function was
written as a template that when inlined is specialized for the caller
through constant value propagation and dead code elimination.  Thus,
the specialized code that is generated for pmap_clear_reference() et
al. avoids several conditional branches inside of a loop.

21 years agoUse macros from apic.h to when writing to the ICR to send IPIs to startup
jhb [Wed, 23 Jul 2003 19:04:28 +0000 (19:04 +0000)]
Use macros from apic.h to when writing to the ICR to send IPIs to startup
APs rather than magic numbers.

Tested by: scottl

21 years agoAdd a new macro APIC_ICRLO_RESV_MASK that contains all of the reserved
jhb [Wed, 23 Jul 2003 18:59:38 +0000 (18:59 +0000)]
Add a new macro APIC_ICRLO_RESV_MASK that contains all of the reserved
fields in the low 32 bits of the local APIC ICR register.  Use this macro
in place of APIC_RESV2_MASK when masking off existing bits from the ICR
when writing to it to send an IPI.

Tested by: scottl

21 years agoUndo single-intance inlining which is way above the comfort limit for GCC.
phk [Wed, 23 Jul 2003 18:03:22 +0000 (18:03 +0000)]
Undo single-intance inlining which is way above the comfort limit for GCC.

21 years agoUndo agressive inlining which GCC previously wisely ignored.
phk [Wed, 23 Jul 2003 17:58:41 +0000 (17:58 +0000)]
Undo agressive inlining which GCC previously wisely ignored.

The this eliminates 67% of the text segment (relative to respected
inline requests).

21 years agoHandle the new MEDIA definitions.
harti [Wed, 23 Jul 2003 15:04:31 +0000 (15:04 +0000)]
Handle the new MEDIA definitions.

21 years agoAdded the WORLDDIR variable (defaulting to ${.CURDIR}/..) that
ru [Wed, 23 Jul 2003 14:40:51 +0000 (14:40 +0000)]
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.

21 years agoConvert a lot of uma_zalloc() calls to be NOWAIT instead of WAITOK. All
harti [Wed, 23 Jul 2003 14:28:57 +0000 (14:28 +0000)]
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).

21 years agoGet rid of the zone for network interfaces. We have converted this to
harti [Wed, 23 Jul 2003 14:25:53 +0000 (14:25 +0000)]
Get rid of the zone for network interfaces. We have converted this to
use malloc(9).

21 years agoAdd manual page to document the new rescue utilities in /rescue.
simon [Wed, 23 Jul 2003 13:24:32 +0000 (13:24 +0000)]
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)

21 years agoMake NO_FLOPPIES really mean "no floppies", including not even
ru [Wed, 23 Jul 2003 12:12:53 +0000 (12:12 +0000)]
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

21 years agoMFi386: revision 1.1090.
nyan [Wed, 23 Jul 2003 12:09:14 +0000 (12:09 +0000)]
MFi386: revision 1.1090.

21 years agoFixed some style bugs (misplacement and misformatting of some commented-out
bde [Wed, 23 Jul 2003 09:24:44 +0000 (09:24 +0000)]
Fixed some style bugs (misplacement and misformatting of some commented-out
code).

21 years agoRevert revision 1.788, and explain a bit the intent of having
ru [Wed, 23 Jul 2003 06:00:56 +0000 (06:00 +0000)]
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

21 years agoamd64 will not provide floppies.
ru [Wed, 23 Jul 2003 05:55:02 +0000 (05:55 +0000)]
amd64 will not provide floppies.

21 years agoDo not define BIGBOOTSIZE and the friends for amd64; it serves
ru [Wed, 23 Jul 2003 05:53:52 +0000 (05:53 +0000)]
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

21 years agoOnly provide one copy of the math functions. If we provide a MD function,
peter [Wed, 23 Jul 2003 04:53:47 +0000 (04:53 +0000)]
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.

21 years agoRemove _ARCH_INDIRECT, it was the glue to enable having both hardware
peter [Wed, 23 Jul 2003 04:28:51 +0000 (04:28 +0000)]
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().