]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoTranslated -malign-functions=4 to -falign-functions=16 for the new gcc.
bde [Sun, 12 May 2002 15:51:38 +0000 (15:51 +0000)]
Translated -malign-functions=4 to -falign-functions=16 for the new gcc.

22 years agoSaved 176 bytes by compiling with -fno-guess-branch-probability. The
bde [Sun, 12 May 2002 15:45:28 +0000 (15:45 +0000)]
Saved 176 bytes by compiling with -fno-guess-branch-probability.  The
default of -fguess-branch-probablility causes time optimizations (?)
like rewriting `if (foo) x++;' as
`if (!foo) goto forth; back: ; ...; forth: x++; goto back;".  This is
pessimizes space especially well on i386's because one short branch
gets converted to 2 long ones.

Removed -fno-align-foo since it is implied by -Os.  Previous commit
messages seem to have overstated the new alignment bugs in gcc.  The
only case that affects boot2 is that -fno-align-functions (or
equivalently -falign-functions=1) actually gives -falign-functions=2.
This is caused by FUNCTION_BOUNDARY being 2 (bytes) instead of 1.
The default case where the optimization level is 1 and no alignment
options are given is more broken.  All alignments are minimal, modulo
the bug in FUNCTION_BOUNDARY.  This is caused by toplev.c setting
defaults too early.

Some hacks in previous commits ar not needed now, but may as well be
kept until gcc is fixed.  The previous on in the Makefile saved 96
bytes of text due to the wrong FUNCTION_BOUNDARY and 32 bytes of data
due to unrelated bloat in the alignment of large objects.  There aren't
even any options to control alignment of data.

22 years agoIncrease the PIO timeout to approximately the value it used to have
joerg [Sun, 12 May 2002 15:24:21 +0000 (15:24 +0000)]
Increase the PIO timeout to approximately the value it used to have
before rev 1.229 (~ 100 ms).  According to bde, some (old) broken
hardware could require it.  In order to make timing more accurate than
what could be achieved with a loop around DELAY(1), increase loop
timing after the initial ~ 1 ms.

Also, move the declaration of FDSTS_TIMEOUT out from fdreg.h into fd.c
where it actually belongs to.

MFC after: 2 days

22 years agoAdd a man page for the devinfo command; I'd argue devinfo is the single
rwatson [Sun, 12 May 2002 14:23:15 +0000 (14:23 +0000)]
Add a man page for the devinfo command; I'd argue devinfo is the single
most useful new command added to FreeBSD 5.0, but maybe that's just
me :-).

Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>

22 years agoRecent zlib does not like Z_FLUSH at the end of inflate().
ume [Sun, 12 May 2002 14:12:30 +0000 (14:12 +0000)]
Recent zlib does not like Z_FLUSH at the end of inflate().

Reported by: quak@mydiax.ch
Obtained from: KAME
MFC after: 2 days
and approved by re

22 years agoProperly build lb1spc.asm on Sparc64.
obrien [Sun, 12 May 2002 14:05:58 +0000 (14:05 +0000)]
Properly build lb1spc.asm on Sparc64.

22 years agoBack out last commit. I expect our bsd.*.mk gods to remove the need for
obrien [Sun, 12 May 2002 13:54:42 +0000 (13:54 +0000)]
Back out last commit.  I expect our bsd.*.mk gods to remove the need for
defining so many extra things in addition to INTERNALLIB.  We don't like
repetitive C code and we shouldn't for make code either.

22 years agoThere is no more NOLIB.
obrien [Sun, 12 May 2002 13:49:14 +0000 (13:49 +0000)]
There is no more NOLIB.

22 years agoBack out rev 1.118.
obrien [Sun, 12 May 2002 13:48:53 +0000 (13:48 +0000)]
Back out rev 1.118.

22 years agoMore locking fixes.
benno [Sun, 12 May 2002 13:43:21 +0000 (13:43 +0000)]
More locking fixes.

22 years agoDocument my willingness in maintaining share/mk infrastructure.
ru [Sun, 12 May 2002 13:41:28 +0000 (13:41 +0000)]
Document my willingness in maintaining share/mk infrastructure.

22 years agoQuiet the peanut gallary and back out magical "breakage".
obrien [Sun, 12 May 2002 13:37:59 +0000 (13:37 +0000)]
Quiet the peanut gallary and back out magical "breakage".

22 years agoI was not strict enough with my ordering of things to satisfy make(1) nieve
obrien [Sun, 12 May 2002 12:44:04 +0000 (12:44 +0000)]
I was not strict enough with my ordering of things to satisfy make(1) nieve
symbol evaluation which causes it to be very sensitive to macro ordering.

22 years agoTidy up the cleanfiles.
obrien [Sun, 12 May 2002 12:06:19 +0000 (12:06 +0000)]
Tidy up the cleanfiles.

22 years agoFixes for building a.out bits.
obrien [Sun, 12 May 2002 12:01:12 +0000 (12:01 +0000)]
Fixes for building a.out bits.

Submitted by: bde

22 years agoDo as you want with GCC.
obrien [Sun, 12 May 2002 11:45:35 +0000 (11:45 +0000)]
Do as you want with GCC.

22 years agoAdd a prototype for rad_get_vendor_attr().
brian [Sun, 12 May 2002 10:53:00 +0000 (10:53 +0000)]
Add a prototype for rad_get_vendor_attr().

Forgotten by: brian

22 years agoDon't declare krb5_mcc_ops, it's already declared in <krb5.h>
des [Sun, 12 May 2002 07:06:27 +0000 (07:06 +0000)]
Don't declare krb5_mcc_ops, it's already declared in <krb5.h>

22 years agoDo the correct locking on processes for DSI and ISI traps.
benno [Sun, 12 May 2002 06:06:24 +0000 (06:06 +0000)]
Do the correct locking on processes for DSI and ISI traps.

Copied from: sparc64

22 years agoo Rename ia64_count_aps to ia64_count_cpus and reimplement the
marcel [Sun, 12 May 2002 05:54:21 +0000 (05:54 +0000)]
o  Rename ia64_count_aps to ia64_count_cpus and reimplement the
   function to return the total number of CPUs and not the highest
   CPU id.
o  Define mp_maxid based on the minimum of the actual number of
   CPUs in the system and MAXCPU.
o  In cpu_mp_add, when the CPU id of the CPU we're trying to add
   is larger than mp_maxid, don't add the CPU. Formerly this was
   based on MAXCPU. Don't count CPUs when we add them. We already
   know how many CPUs exist.
o  Replace MAXCPU with mp_maxid when used in loops that iterate
   over the id space. This avoids a couple of useless iterations.
o  In cpu_mp_unleash, use the number of CPUs to determine if we
   need to launch the CPUs.
o  Remove mp_hardware as it's not used anymore.
o  Move the IPI vector array from mp_machdep.c to sal.c. We use
   the array as a centralized place to collect vector assignments.
   Note that we still assign vectors to SMP specific IPIs in
   non-SMP configurations. Rename the array from mp_ipi_vector to
   ipi_vector.
o  Add IPI_MCA_RENDEZ and IPI_MCA_CMCV. These are used by MCA.
   Note that IPI_MCA_CMCV is not SMP specific.
o  Initialize the ipi_vector array so that we place the IPIs in
   sensible priority classes. The classes are relative to where
   the AP wake-up vector is located to guarantee that it's the
   highest priority (external) interrupt. Class assignment is
   as follows:
class IPI notes
x AP wake-up (normally x=15)
x-1 MCA rendezvous
x-2 AST, Rendezvous, stop
x-3 CMCV, test

22 years ago o Acquire and release Giant in vm_object_reference() and
alc [Sun, 12 May 2002 05:22:56 +0000 (05:22 +0000)]
 o Acquire and release Giant in vm_object_reference() and
   vm_object_deallocate(), replacing the assertion GIANT_REQUIRED.
 o Remove GIANT_REQUIRED from vm_map_protect() and vm_map_simplify_entry().
 o Acquire and release Giant around vm_map_protect()'s call to pmap_protect().

Altogether, these changes eliminate the need for mprotect() to acquire
and release Giant.

22 years agoUpdate the PCI table as per Dell's fickleness.
scottl [Sun, 12 May 2002 04:30:28 +0000 (04:30 +0000)]
Update the PCI table as per Dell's fickleness.

MFC after: 3 days

22 years agoFixed 5 style bugs in VCS ids.
bde [Sun, 12 May 2002 04:02:57 +0000 (04:02 +0000)]
Fixed 5 style bugs in VCS ids.

22 years agoFinish converting the rest of the function declaration and prototypes
mike [Sun, 12 May 2002 03:56:34 +0000 (03:56 +0000)]
Finish converting the rest of the function declaration and prototypes
to ANSI C.  Use new source ID scheme.

22 years agoFixed printing the the strip binary's name in error messages.
bde [Sun, 12 May 2002 03:47:23 +0000 (03:47 +0000)]
Fixed printing the the strip binary's name in error messages.

22 years agoTurn on the set-user-ID bit for k5su if ENABLE_SUID_K5SU is defined.
nectar [Sun, 12 May 2002 03:17:31 +0000 (03:17 +0000)]
Turn on the set-user-ID bit for k5su if ENABLE_SUID_K5SU is defined.

22 years agoCVS_RSH defaults to 'ssh' these days, and not 'rsh'.
keramida [Sun, 12 May 2002 02:12:04 +0000 (02:12 +0000)]
CVS_RSH defaults to 'ssh' these days, and not 'rsh'.

PR: docs/37429
Submitted by: Martin v. Löwis <martin@v.loewis.de>
Reviewed by: peter

22 years agoRemove _PATH_CP now that it is defined in paths.h
jedgar [Sun, 12 May 2002 01:52:11 +0000 (01:52 +0000)]
Remove _PATH_CP now that it is defined in paths.h

Reviewed by: des

22 years agoTo perform even basic error checking, one must have an exit code that
bsd [Sun, 12 May 2002 01:47:50 +0000 (01:47 +0000)]
To perform even basic error checking, one must have an exit code that
indicates that not everything worked as expected.  Exit non-zero if we
timed out while transmitting or receiving a file or if the file did
not exist, etc.

MFC After: 3 days (re@ willing)

22 years agos/demon/daemon/
dd [Sun, 12 May 2002 00:22:38 +0000 (00:22 +0000)]
s/demon/daemon/

22 years agoRemove some duplicate types that should have been removed as part of
mike [Sat, 11 May 2002 23:28:51 +0000 (23:28 +0000)]
Remove some duplicate types that should have been removed as part of
the rearranging in the previous revision.

Pointy hat to: cvs update (merging), mike (for not noticing)

22 years agoDocument that <netinet/in.h> can also provide prototypes. Change
mike [Sat, 11 May 2002 23:22:54 +0000 (23:22 +0000)]
Document that <netinet/in.h> can also provide prototypes.  Change
wording related to standards conformance.

22 years agodemon -> daemon
dd [Sat, 11 May 2002 23:20:53 +0000 (23:20 +0000)]
demon -> daemon

Submitted by: zhuravlev alexander <zaa@box.ulstu.ru>

22 years agoAttempt to not crash and burn on UltraSPARC III machines; the cpuid property
jake [Sat, 11 May 2002 22:05:22 +0000 (22:05 +0000)]
Attempt to not crash and burn on UltraSPARC III machines; the cpuid property
is named differently.

22 years agoRestore the ability to take crashdumps on alpha. This was cut and pasted
gallatin [Sat, 11 May 2002 21:53:46 +0000 (21:53 +0000)]
Restore the ability to take crashdumps on alpha.   This was cut and pasted
nearly in its entirety from i386, so it retains the phk/nati copyright.

Savecore likes the results, but I have no way to test it as gdb is
still broken.

22 years agoSave about 60 bytes by #define memcpy __builtin_memcpy and removing
peter [Sat, 11 May 2002 21:49:39 +0000 (21:49 +0000)]
Save about 60 bytes by #define memcpy __builtin_memcpy and removing
the function we provided.  Restore the Keyboard: yes/no  printf for the
probe diagnostics.  We end up with 40 bytes free.

22 years agoReconnect boot2. I'm sure I'll regret this though. :-)
peter [Sat, 11 May 2002 21:41:03 +0000 (21:41 +0000)]
Reconnect boot2.  I'm sure I'll regret this though.  :-)

22 years agoUse a crowbar and duct-tape to make boot2 fit again. This gets it down
peter [Sat, 11 May 2002 21:39:59 +0000 (21:39 +0000)]
Use a crowbar and duct-tape to make boot2 fit again.  This gets it down
to 4 bytes free.  I removed a printf (the Keyboard yes/no) since it is of
marginal value and sed'ed the generated asm output to remove the unwanted
aligns.  There's probably a better way to gain a few extra bytes than
losing the printf.  Shortening strings is probably a better option but this
should get us over the hurdle.

22 years agoChange the disk probing so that it will actually find disks other
jake [Sat, 11 May 2002 21:30:46 +0000 (21:30 +0000)]
Change the disk probing so that it will actually find disks other
than the first one on a controller, and work for secondary
controllers.
Due to the prom not having nodes for each disk, but a catch-all one,
we have to iterate over each device, trying to open it to determine
whether it is actually present.
Since probing this way takese some time (and spews some spurious
warnings), it should maybe be short-circuited if we use the
device we were booted from.
Implement lazy device probing, and correct slice/partiniton
handling in the ofwd_open() code. With this, I can now actually boot
a kernel from disk, and the loader does not create unnecessary
delays.

Submitted by: tmm

22 years agoAdd a support macro to convert the 5-bit packed register field of
jake [Sat, 11 May 2002 21:20:05 +0000 (21:20 +0000)]
Add a support macro to convert the 5-bit packed register field of
a floating point instruction into a 6-bit register number for
double and quad arguments.
Make use of the new INSFPdq_RN macro where apporpriate; this
is required for correctly handling the "high" fp registers
(>= %f32).
Fix a number of bugs related to the handling of the high registers
which were caused by using __fpu_[gs]etreg() where __fpu_[gs]etreg64()
should be used (the former can only access the low, single-precision,
registers).

Submitted by: tmm

22 years agoAdd pointers to GCC's allowable values for -march, and restore structure
obrien [Sat, 11 May 2002 20:18:54 +0000 (20:18 +0000)]
Add pointers to GCC's allowable values for -march, and restore structure
of rev 1.7 until someone can sit down and think thru all the GCC 3.1
related changes.

22 years agoExplicitely note ATEN UC-232A is supported. Sort list entries
wilko [Sat, 11 May 2002 20:10:38 +0000 (20:10 +0000)]
Explicitely note ATEN UC-232A is supported. Sort list entries
while we are here.

22 years agoWith GCC 3.1, we can now treat AMD Athlon and an Athlon.
obrien [Sat, 11 May 2002 20:05:17 +0000 (20:05 +0000)]
With GCC 3.1, we can now treat AMD Athlon and an Athlon.

Submitted by: Steven G. Kargl <kargl@troutmask.apl.washington.edu>

22 years agoFix a typo : ".Xr mount_udf 8," -> ".Xr mount_udf 8 ,".
mux [Sat, 11 May 2002 19:32:24 +0000 (19:32 +0000)]
Fix a typo : ".Xr mount_udf 8," -> ".Xr mount_udf 8 ,".

22 years agoSome features should have been marked as &merged;, but weren't. Fix
bmah [Sat, 11 May 2002 19:23:17 +0000 (19:23 +0000)]
Some features should have been marked as &merged;, but weren't.  Fix
this.

While I'm here, add a few missing words.

22 years agoAdd support for stripping non-native object files by using an
marcel [Sat, 11 May 2002 19:15:15 +0000 (19:15 +0000)]
Add support for stripping non-native object files by using an
environment variable that specifies the name of the strip(1)
program to use. The envvar is "STRIPBIN". The more natural
choice would be "STRIP", but that one is taken already.

22 years agoNOPIC, NOPROFILE, NOMAN, and INTERNALSTATICLIB are redundant when using
obrien [Sat, 11 May 2002 18:02:33 +0000 (18:02 +0000)]
NOPIC, NOPROFILE, NOMAN, and INTERNALSTATICLIB are redundant when using
INTERNALLIB now.

22 years agoNew release notes: ng_split, lpd(8) rc (+MFC).
bmah [Sat, 11 May 2002 17:56:09 +0000 (17:56 +0000)]
New release notes:  ng_split, lpd(8) rc (+MFC).

Deleted some release notes that were too vague to be useful:  CAM
error recovery update, vinum update, lpr/lpq/lpd update.

22 years agoWe don't need libgnumalloc or libresolv on ELF systems.
obrien [Sat, 11 May 2002 17:51:04 +0000 (17:51 +0000)]
We don't need libgnumalloc or libresolv on ELF systems.

22 years agoUse the simpler NOMAN rather than NOMAN, NOPIC, NOPROFILE, INTERNALLIB.
obrien [Sat, 11 May 2002 17:45:03 +0000 (17:45 +0000)]
Use the simpler NOMAN rather than NOMAN, NOPIC, NOPROFILE, INTERNALLIB.

22 years agoNew release notes: new crashdump infrastructure, cdcontrol(1) speed,
bmah [Sat, 11 May 2002 17:28:01 +0000 (17:28 +0000)]
New release notes:  new crashdump infrastructure, cdcontrol(1) speed,
fsdb(8) blocks (+MFC), who(1) -H/-T/-m/-u/-q, xargs(1) -L, general
note on SuSv3/POSIX.1 conformance.

Modified release notes:  The system awk is now BWK awk (noted in three
places), uudecode(1)/uuencode(1) -o/-m (+MFC), xargs(1) -I/-J.

22 years agoWe don't need to include arpa/inet.h here. In fact, only FreeBSD needs
brian [Sat, 11 May 2002 17:04:01 +0000 (17:04 +0000)]
We don't need to include arpa/inet.h here.  In fact, only FreeBSD needs
netinet/in.h.

22 years agoRemove cross reference to pkg_update(1).
eric [Sat, 11 May 2002 16:27:19 +0000 (16:27 +0000)]
Remove cross reference to pkg_update(1).

22 years agoDo not install this with set-user-ID bit set. This utility does not
nectar [Sat, 11 May 2002 14:05:07 +0000 (14:05 +0000)]
Do not install this with set-user-ID bit set.  This utility does not
grok the `wheel' group.

Noticed by: jmallett

22 years agoReword the ``alias'' description slightly. We must specify a non-conflicting
brian [Sat, 11 May 2002 11:35:35 +0000 (11:35 +0000)]
Reword the ``alias'' description slightly.  We must specify a non-conflicting
netmask - not necessarily 0xffffffff.

MFC after: 3 days

22 years ago#include netinet/in.h when !__FreeBSD__ to silence some warnings from
brian [Sat, 11 May 2002 10:54:45 +0000 (10:54 +0000)]
#include netinet/in.h when !__FreeBSD__ to silence some warnings from
the inclusion of arpa/inet.h

22 years agoUse GCC's __attribute__ ((constructor)) mechanism to invoke the pthread
alfred [Sat, 11 May 2002 08:13:42 +0000 (08:13 +0000)]
Use GCC's __attribute__ ((constructor)) mechanism to invoke the pthread
startup code rather than a static C++ object since c++ seems to be broken.

This doesn't seem to work for staticically linked program just yet, I'll
give that some more work when I get a chance.

22 years agoFix logic inversion bug.
kbyanc [Sat, 11 May 2002 06:27:24 +0000 (06:27 +0000)]
Fix logic inversion bug.

22 years agosysctl -w -> sysctl
dd [Sat, 11 May 2002 06:06:11 +0000 (06:06 +0000)]
sysctl -w -> sysctl

22 years agosysctl -w -> sysctl
dd [Sat, 11 May 2002 05:55:05 +0000 (05:55 +0000)]
sysctl -w -> sysctl

Approved by: ume

22 years agoBeware the log demon! (Fix typo: s/demon/daemon/)
dd [Sat, 11 May 2002 05:16:02 +0000 (05:16 +0000)]
Beware the log demon!  (Fix typo: s/demon/daemon/)

Submitted by: zhuravlev alexander <zaa@ulstu.ru>

22 years agoSorry, I did not mean to turn collect2 back on yet.
obrien [Sat, 11 May 2002 04:51:45 +0000 (04:51 +0000)]
Sorry, I did not mean to turn collect2 back on yet.

22 years agoFix warnings by commenting out text after #else/#endif.
alfred [Sat, 11 May 2002 04:40:13 +0000 (04:40 +0000)]
Fix warnings by commenting out text after #else/#endif.

22 years agoTemporarily disable Jeff's fix for atomic_cmpset_32() to zero-extend the
jhb [Sat, 11 May 2002 04:27:39 +0000 (04:27 +0000)]
Temporarily disable Jeff's fix for atomic_cmpset_32() to zero-extend the
value we load from memory.  gcc3.1 passes in the u_int32_t old value to
compare against as a _sign_-extended 64-bit value for some reason (bug?).
This is a temporary workaround so kernels work again on alpha.

22 years agoreplace __FUNCTION__ with standardized __func__.
alfred [Sat, 11 May 2002 04:17:55 +0000 (04:17 +0000)]
replace __FUNCTION__ with standardized __func__.

Requested by: jhb

22 years agounbreak build: fix multi-line string literal
alfred [Sat, 11 May 2002 04:10:49 +0000 (04:10 +0000)]
unbreak build: fix multi-line string literal

22 years agoAs a temporary bandaid disable '__printf0like' unconditionally, it
alfred [Sat, 11 May 2002 03:58:24 +0000 (03:58 +0000)]
As a temporary bandaid disable '__printf0like' unconditionally, it
doesn't seem to work under gcc 3.1 yet.

We are now 'WERROR' safe again.

22 years agounbreak build: ditch multi-line string literals
alfred [Sat, 11 May 2002 03:54:21 +0000 (03:54 +0000)]
unbreak build: ditch multi-line string literals

22 years agofix build:
alfred [Sat, 11 May 2002 03:48:49 +0000 (03:48 +0000)]
fix build:
you may not use string concatination with __FUNCTION__, replace all occurances
of:
__FUNCTION__ ": error string"
with:
"%s: error string"

22 years agoNetBSD keeps des.h in /usr/include/openssl these days
brian [Sat, 11 May 2002 03:47:15 +0000 (03:47 +0000)]
NetBSD keeps des.h in /usr/include/openssl these days

22 years agounbreak build:
alfred [Sat, 11 May 2002 03:29:04 +0000 (03:29 +0000)]
unbreak build:
K&R style main() makes gcc emit a warning about missing prototypes so
switch to ANSI.

22 years agounbreak build:
alfred [Sat, 11 May 2002 03:19:44 +0000 (03:19 +0000)]
unbreak build:

commands.c, sys_bsd.c: comment out/remove junk after #endif/#else
network.c, terminal.c, utlities.c: include stdlib.h for exit(3)

22 years ago#include <stdlib.h> for exit(3) prototype.
jedgar [Sat, 11 May 2002 03:18:14 +0000 (03:18 +0000)]
#include <stdlib.h> for exit(3) prototype.

22 years agoAdd semicolon to empty default case to silence warning.
jedgar [Sat, 11 May 2002 03:12:02 +0000 (03:12 +0000)]
Add semicolon to empty default case to silence warning.

22 years agoEXPR_COMPAT should imply -e, since there is no way to specify it otherwise,
wollman [Sat, 11 May 2002 03:08:12 +0000 (03:08 +0000)]
EXPR_COMPAT should imply -e, since there is no way to specify it otherwise,
and -e reflects the historic behavior of FreeBSD's expr.

22 years agounbreak build: include string.h for strcmp prototype.
alfred [Sat, 11 May 2002 03:07:38 +0000 (03:07 +0000)]
unbreak build: include string.h for strcmp prototype.

22 years agoAdd a dummy cleandir target to the kernel section so that make buildkernel
jhb [Sat, 11 May 2002 02:25:02 +0000 (02:25 +0000)]
Add a dummy cleandir target to the kernel section so that make buildkernel
actually works on a kernel config with NO_MODULES set.

22 years agoMention the other RAS_PORT_TYPEs from rfc2865
brian [Sat, 11 May 2002 01:27:27 +0000 (01:27 +0000)]
Mention the other RAS_PORT_TYPEs from rfc2865

Suggested by: "lsz8425" <lsz8425@mail.cd.hn.cn>

22 years agowhile i'm breaking stuff, use __dead2 instead of GCC specific __attribute__.
alfred [Sat, 11 May 2002 01:25:54 +0000 (01:25 +0000)]
while i'm breaking stuff, use __dead2 instead of GCC specific __attribute__.

22 years agobackout additional include of cdefs.h, it's not helping any.
alfred [Sat, 11 May 2002 01:24:39 +0000 (01:24 +0000)]
backout additional include of cdefs.h, it's not helping any.

22 years agoinclude cdefs.h for __printf0like to silence warning.
alfred [Sat, 11 May 2002 00:54:33 +0000 (00:54 +0000)]
include cdefs.h for __printf0like to silence warning.

22 years agoAdd semicolon to empty default case to silence warning.
jedgar [Sat, 11 May 2002 00:45:01 +0000 (00:45 +0000)]
Add semicolon to empty default case to silence warning.

22 years agoLocalize the version number at the request of the GCC developers.
obrien [Sat, 11 May 2002 00:25:50 +0000 (00:25 +0000)]
Localize the version number at the request of the GCC developers.

22 years agoAdd semicolon to empty default case to silence warning.
alfred [Sat, 11 May 2002 00:21:00 +0000 (00:21 +0000)]
Add semicolon to empty default case to silence warning.

22 years agoRevert rev 1.3 -- I tested using the wrong build compiler.
obrien [Sat, 11 May 2002 00:15:45 +0000 (00:15 +0000)]
Revert rev 1.3 -- I tested using the wrong build compiler.

22 years agoActually we don't need any special YACC'ing here. The ones known to
obrien [Fri, 10 May 2002 23:20:54 +0000 (23:20 +0000)]
Actually we don't need any special YACC'ing here.  The ones known to
Bmake are fine.

22 years agoThe response to my POSIX interpretation request says that `expr'
wollman [Fri, 10 May 2002 22:59:29 +0000 (22:59 +0000)]
The response to my POSIX interpretation request says that `expr'
is required to be oblivious to overflow and to use the data type `long'.
(Division by zero is undefined in ISO C so it's still OK to check for it
here.)  Add a new `-e' flag to get the old, more useful behavior.

22 years agoNote potential cvs update problem in contrib/gcc.
obrien [Fri, 10 May 2002 22:56:59 +0000 (22:56 +0000)]
Note potential cvs update problem in contrib/gcc.

22 years agoThis commit was generated by cvs2svn to compensate for changes in r96364,
des [Fri, 10 May 2002 22:03:19 +0000 (22:03 +0000)]
This commit was generated by cvs2svn to compensate for changes in r96364,
which included commits to RCS files with non-trunk default branches.

22 years agoAdd missing include (perforce change 11137)
des [Fri, 10 May 2002 22:03:19 +0000 (22:03 +0000)]
Add missing include (perforce change 11137)

22 years agoBWK awk appears to work for world builds just fine now. We want to make
obrien [Fri, 10 May 2002 20:36:21 +0000 (20:36 +0000)]
BWK awk appears to work for world builds just fine now.  We want to make
sparc64 the same as the other platforms -- so do it by moving the other
platforms toward the sparc64.

22 years agoAdd tweaks needed when using as the system compiler.
obrien [Fri, 10 May 2002 19:05:07 +0000 (19:05 +0000)]
Add tweaks needed when using as the system compiler.

22 years agoChange the PIO loops from a hard counter into a loop that calls DELAY()
joerg [Fri, 10 May 2002 17:56:39 +0000 (17:56 +0000)]
Change the PIO loops from a hard counter into a loop that calls DELAY()
in each cycle, with a tunable max cycle count defined in fdreg.h.

This is said to fix the problem on some Compaq hardware (and perhaps
on other machines using the Natsemi PC87317 chip) where the fdc(4)
driver failed to operate at all.

PR: kern/21397
Submitted by: Jung-uk Kim <jkim@niksun.com>
MFC after: 3 days

22 years agoTouching the sjlj setting on IA-64 makes things not build.
obrien [Fri, 10 May 2002 17:42:19 +0000 (17:42 +0000)]
Touching the sjlj setting on IA-64 makes things not build.

Submitted by: peter

22 years agoBuild compiler on all platforms.
obrien [Fri, 10 May 2002 17:30:42 +0000 (17:30 +0000)]
Build compiler on all platforms.

22 years agoDoh! Add IA-64 to our target list.
obrien [Fri, 10 May 2002 17:23:04 +0000 (17:23 +0000)]
Doh!  Add IA-64 to our target list.

22 years agoRemove ## concatination in the CFGREAD and CFGWRITE macros, as gcc3 complains
gallatin [Fri, 10 May 2002 16:56:14 +0000 (16:56 +0000)]
Remove ## concatination in the CFGREAD and CFGWRITE macros, as gcc3 complains
about them & they are not needed.  Same fix as to tsunami_pci.c.
(not surprising, as this code was cut and pasted from there when I wrote it).

22 years agoFix several bugs in devfs_lookupx(). When we check the nameiop to
mux [Fri, 10 May 2002 15:41:14 +0000 (15:41 +0000)]
Fix several bugs in devfs_lookupx().  When we check the nameiop to
make sure it's a correct operation for devfs, do it only in the
ISLASTCN case.  If we don't, we are assuming that the final file will
be in devfs, which is not true if another partition is mounted on top
of devfs or with special filenames (like /dev/net/../../foo).

Reviewed by: phk

22 years agop_leader is only set at fork1() time, so update its locking note
jhb [Fri, 10 May 2002 14:28:05 +0000 (14:28 +0000)]
p_leader is only set at fork1() time, so update its locking note
appropriately.

22 years agoImplement the following functions:
benno [Fri, 10 May 2002 14:21:48 +0000 (14:21 +0000)]
Implement the following functions:
- pmap_addr_hint
- pmap_change_wiring
- pmap_extract
- pmap_is_modified