dragonfly.git
20 years agoAssume read access for execute requests so we can fill in the read credential
Matthew Dillon [Fri, 23 Jan 2004 23:00:52 +0000 (23:00 +0000)]
Assume read access for execute requests so we can fill in the read credential
for executed programs.  This should fix some of the execution I/O errors
that have been reported over NFS volumes whos servers map the root cred2
to -2:-2.

Report-by: Andrew Atrens <atrens@nortelnetworks.com>
20 years agoAdd support for ${BINUTILSVER} to objformat. This defaults to gcc2
Joerg Sonnenberger [Fri, 23 Jan 2004 22:30:25 +0000 (22:30 +0000)]
Add support for ${BINUTILSVER} to objformat. This defaults to gcc2
and generates the current locations (e.g. /usr/libexec/gcc2/elf/as).
c++filt was moved into the normal compiler bindir.

20 years agoRemove some prehistoric C crap
Joerg Sonnenberger [Fri, 23 Jan 2004 20:53:09 +0000 (20:53 +0000)]
Remove some prehistoric C crap

20 years agoFix prehistoric C
Joerg Sonnenberger [Fri, 23 Jan 2004 20:28:01 +0000 (20:28 +0000)]
Fix prehistoric C

20 years agoFix prehistoric C
Joerg Sonnenberger [Fri, 23 Jan 2004 19:57:41 +0000 (19:57 +0000)]
Fix prehistoric C

20 years agoRemove bogus sys_nerr defines
Joerg Sonnenberger [Fri, 23 Jan 2004 19:49:35 +0000 (19:49 +0000)]
Remove bogus sys_nerr defines

20 years agoGet rid of embedded newline continuation entirely and switch to an ANSI
Matthew Dillon [Fri, 23 Jan 2004 19:30:21 +0000 (19:30 +0000)]
Get rid of embedded newline continuation entirely and switch to an ANSI
multi-line string.

20 years agoAdd -I${.CURDIR} to Makefile
Joerg Sonnenberger [Fri, 23 Jan 2004 19:13:45 +0000 (19:13 +0000)]
Add -I${.CURDIR} to Makefile

20 years agoAdd detection code for the SiS 746 ATA133 controller.
Jeroen Ruigrok/asmodai [Fri, 23 Jan 2004 15:35:13 +0000 (15:35 +0000)]
Add detection code for the SiS 746 ATA133 controller.
This does not, for all I can quickly see, enable ATA133 on the controller.

20 years agoAdd missing \ to string
Joerg Sonnenberger [Fri, 23 Jan 2004 15:33:28 +0000 (15:33 +0000)]
Add missing \ to string

20 years agoAdd -I{.CURDIR} to CFLAGS
Joerg Sonnenberger [Fri, 23 Jan 2004 15:15:11 +0000 (15:15 +0000)]
Add -I{.CURDIR} to CFLAGS

20 years agoUse C99 syntax for variadic macros
Joerg Sonnenberger [Fri, 23 Jan 2004 15:10:59 +0000 (15:10 +0000)]
Use C99 syntax for variadic macros

20 years agoInclude ${.CURDIR} before bin/ls to get the right extern.h
Joerg Sonnenberger [Fri, 23 Jan 2004 14:55:52 +0000 (14:55 +0000)]
Include ${.CURDIR} before bin/ls to get the right extern.h

20 years agoFix GCC 3.3 compilation and style(9)
Joerg Sonnenberger [Fri, 23 Jan 2004 14:43:52 +0000 (14:43 +0000)]
Fix GCC 3.3 compilation and style(9)

20 years agoFix compilation with GCC 3.3 and a few warnings
Joerg Sonnenberger [Fri, 23 Jan 2004 14:37:01 +0000 (14:37 +0000)]
Fix compilation with GCC 3.3 and a few warnings

20 years agoAdd recognition code for the SiS 645DX.
Jeroen Ruigrok/asmodai [Fri, 23 Jan 2004 14:11:13 +0000 (14:11 +0000)]
Add recognition code for the SiS 645DX.

20 years agoFix more multiline string literals
Joerg Sonnenberger [Fri, 23 Jan 2004 12:29:26 +0000 (12:29 +0000)]
Fix more multiline string literals

20 years agoFix multiline string literals
Joerg Sonnenberger [Fri, 23 Jan 2004 12:19:55 +0000 (12:19 +0000)]
Fix multiline string literals

20 years agoGCC 3.3 doesn't support #pragma weak A=B, when A is defined. This patch
Joerg Sonnenberger [Fri, 23 Jan 2004 11:30:28 +0000 (11:30 +0000)]
GCC 3.3 doesn't support #pragma weak A=B, when A is defined. This patch
adds correct prototyps for those symbols and allows gcc3 to compile libc.

Thanks to buggs for pointing to right GCC PR.

20 years agoClean multiline string literal for gcc3
Joerg Sonnenberger [Fri, 23 Jan 2004 11:01:58 +0000 (11:01 +0000)]
Clean multiline string literal for gcc3

20 years agoRename GCCVER to CCVER and prepend gcc to the former values
Joerg Sonnenberger [Fri, 23 Jan 2004 10:59:53 +0000 (10:59 +0000)]
Rename GCCVER to CCVER and prepend gcc to the former values

20 years agoAdd a 'dd' prior to the first fdisk to cover situations where people are
Matthew Dillon [Fri, 23 Jan 2004 00:39:25 +0000 (00:39 +0000)]
Add a 'dd' prior to the first fdisk to cover situations where people are
uprading from very old or extended boot blocks which might not otherwise
be completely wiped by fdisk, boot0cfg, and disklabel.  Old left over cruft
often causes systems to panic with a BTX fault, usually due to bad
track/cylinder specifications in the boot sector which cause an overflow
(and often a divide by 0) fault in the BIOS.

20 years agoFix some type-o's and add some info on things to try if your initial attempt
Matthew Dillon [Fri, 23 Jan 2004 00:36:23 +0000 (00:36 +0000)]
Fix some type-o's and add some info on things to try if your initial attempt
to boot from the HD fails.  Also add missing cylinder group specifications
from the example disklabel.

20 years agoFix missing .. from last commit
Joerg Sonnenberger [Thu, 22 Jan 2004 23:05:48 +0000 (23:05 +0000)]
Fix missing .. from last commit

20 years agoAdd C++ runtime libraries for gcc3
Joerg Sonnenberger [Thu, 22 Jan 2004 21:45:57 +0000 (21:45 +0000)]
Add C++ runtime libraries for gcc3

20 years agoImplement __cxa_atexit and __cxa_finalize as requested by the cross-platform
Joerg Sonnenberger [Thu, 22 Jan 2004 21:36:10 +0000 (21:36 +0000)]
Implement __cxa_atexit and __cxa_finalize as requested by the cross-platform
C++ ABI. Adjust atexit to use the new interface.

20 years agoConditionalize use of vfscanf
Joerg Sonnenberger [Thu, 22 Jan 2004 21:09:38 +0000 (21:09 +0000)]
Conditionalize use of vfscanf

20 years agoUse the fliesystem block size instead of BUFSIZ when the client sends files.
Matthew Dillon [Thu, 22 Jan 2004 19:39:13 +0000 (19:39 +0000)]
Use the fliesystem block size instead of BUFSIZ when the client sends files.

20 years agoAdd directories for lib/gcc3/libstdc++
Joerg Sonnenberger [Thu, 22 Jan 2004 19:29:55 +0000 (19:29 +0000)]
Add directories for lib/gcc3/libstdc++

20 years agoMerge from vendor branch LIBSTDC++:
Joerg Sonnenberger [Thu, 22 Jan 2004 18:56:00 +0000 (18:56 +0000)]
Merge from vendor branch LIBSTDC++:
Import libstdc++ from GCC 3.3.3-pre 20031106.

20 years agoImport libstdc++ from GCC 3.3.3-pre 20031106. vendor/LIBSTDC++
Joerg Sonnenberger [Thu, 22 Jan 2004 18:56:00 +0000 (18:56 +0000)]
Import libstdc++ from GCC 3.3.3-pre 20031106.

20 years agoLet the man page know about varsym links.
Eirik Nygaard [Thu, 22 Jan 2004 17:30:30 +0000 (17:30 +0000)]
Let the man page know about varsym links.

20 years agoAdd missing comma.
Jeroen Ruigrok/asmodai [Thu, 22 Jan 2004 17:03:22 +0000 (17:03 +0000)]
Add missing comma.

Noticed by: Peter Kadau <peter.kadau@tuebingen.mpg.de>

20 years agoHis name is Fred.
Eirik Nygaard [Thu, 22 Jan 2004 12:04:58 +0000 (12:04 +0000)]
His name is Fred.

20 years agoCatch up with recent libc updates.
Eirik Nygaard [Thu, 22 Jan 2004 12:01:18 +0000 (12:01 +0000)]
Catch up with recent libc updates.
  * Add devname_r
  * Add stack protector
  * Remove unused header files / add needed one

20 years agoFix misunderstood commit. The CX20463 is not the AC'97 codec. It _is_
Jeroen Ruigrok/asmodai [Thu, 22 Jan 2004 08:08:46 +0000 (08:08 +0000)]
Fix misunderstood commit.  The CX20463 is not the AC'97 codec.  It _is_
the HSD11246.  Change name.

20 years agoFix the entry for the CX20468. The base default is 28h, not 29h.
Jeroen Ruigrok/asmodai [Thu, 22 Jan 2004 08:04:55 +0000 (08:04 +0000)]
Fix the entry for the CX20468.  The base default is 28h, not 29h.
Add a mask of 7h to pick up potential revisions.

20 years agoAdd support for the Conexant SmartDAA 20463.
Jeroen Ruigrok/asmodai [Thu, 22 Jan 2004 07:57:43 +0000 (07:57 +0000)]
Add support for the Conexant SmartDAA 20463.
Sometimes erroneously referred to as HSD11246.
Interesting tidbit: Conexant thinks 21h is ACSII[sic] for "1".

20 years agoAdd Texas Instruments' TLV320AIC27 AC'97 codec.
Jeroen Ruigrok/asmodai [Thu, 22 Jan 2004 07:38:42 +0000 (07:38 +0000)]
Add Texas Instruments' TLV320AIC27 AC'97 codec.

20 years agoFix typo to make the TLC320 work.
Jeroen Ruigrok/asmodai [Thu, 22 Jan 2004 07:35:27 +0000 (07:35 +0000)]
Fix typo to make the TLC320 work.

20 years agoAdd support for the Wolfson WM9709.
Jeroen Ruigrok/asmodai [Thu, 22 Jan 2004 07:29:18 +0000 (07:29 +0000)]
Add support for the Wolfson WM9709.

20 years agoAdd support for the Wolfson WM9711L and WM9712L.
Jeroen Ruigrok/asmodai [Thu, 22 Jan 2004 07:27:21 +0000 (07:27 +0000)]
Add support for the Wolfson WM9711L and WM9712L.

20 years agoRecognise the Realtek ALC850.
Jeroen Ruigrok/asmodai [Thu, 22 Jan 2004 07:19:06 +0000 (07:19 +0000)]
Recognise the Realtek ALC850.

20 years agoRecognise the Asahi Kasei AK4544A and AK4545 AC'97 codecs.
Jeroen Ruigrok/asmodai [Thu, 22 Jan 2004 07:16:02 +0000 (07:16 +0000)]
Recognise the Asahi Kasei AK4544A and AK4545 AC'97 codecs.

20 years agoFix the bandwidth specifier once and for all. Properly distinguish
Matthew Dillon [Thu, 22 Jan 2004 06:20:08 +0000 (06:20 +0000)]
Fix the bandwidth specifier once and for all.  Properly distinguish
between 'kbit' and 'kbyte', case insensitive, and 'kb' and 'KB',
case sensitive.

20 years agoremove CFCR_DLAB from this file as it redifines it to 0x80
Robert Garrett [Thu, 22 Jan 2004 04:19:29 +0000 (04:19 +0000)]
remove CFCR_DLAB from this file as it redifines it to 0x80
instead of LCR_LAB which = 0x80

20 years agofix this the right way
Robert Garrett [Thu, 22 Jan 2004 03:22:53 +0000 (03:22 +0000)]
fix this the right way

leaving multiple os, stuff in place but changing single instances of
__FreeBSD__ to __DragonFly__

20 years agoFix name of 'Silicon Laboratories'.
Jeroen Ruigrok/asmodai [Wed, 21 Jan 2004 23:09:41 +0000 (23:09 +0000)]
Fix name of 'Silicon Laboratories'.

20 years agoGet rid of question mark, the vendor ID is correct.
Jeroen Ruigrok/asmodai [Wed, 21 Jan 2004 22:04:39 +0000 (22:04 +0000)]
Get rid of question mark, the vendor ID is correct.

20 years agoAdd lib/gcc3/libgcc and lib/gcc3/libgcc_r
Joerg Sonnenberger [Wed, 21 Jan 2004 21:59:04 +0000 (21:59 +0000)]
Add lib/gcc3/libgcc and lib/gcc3/libgcc_r

20 years agoadd missing $DragonFly$ keyword to at/panic.h
Robert Garrett [Wed, 21 Jan 2004 21:48:21 +0000 (21:48 +0000)]
add missing $DragonFly$ keyword to at/panic.h

teach usr.bin about __DragonFly__

20 years agoFix tconfig.h dependency
Joerg Sonnenberger [Wed, 21 Jan 2004 21:42:26 +0000 (21:42 +0000)]
Fix tconfig.h dependency

20 years agoadd missing CFCR_DLAB declaration, this was left out in the
Robert Garrett [Wed, 21 Jan 2004 21:33:19 +0000 (21:33 +0000)]
add missing CFCR_DLAB declaration, this was left out in the
merge from FreeBSD

20 years agoAdd support for the following AC'97 codecs:
Jeroen Ruigrok/asmodai [Wed, 21 Jan 2004 21:18:22 +0000 (21:18 +0000)]
Add support for the following AC'97 codecs:

Diamond Technology Monster (DT0398)
Intersil (Harris) HMP9701
Integrated Technology Express (ITE) ITE2226E and ITE2646E
Texas Instruments TLC320AD90
Winbond W83971D

20 years agoFollow FreeBSD's lead and remove a test utility which is not under a free
Matthew Dillon [Wed, 21 Jan 2004 21:05:15 +0000 (21:05 +0000)]
Follow FreeBSD's lead and remove a test utility which is not under a free
license as per Theo de Raadt.

Submitted-by: "M. Warner Losh" <imp@bsdimp.com>
20 years agoAdd lib/gcc3/csu
Joerg Sonnenberger [Wed, 21 Jan 2004 20:21:58 +0000 (20:21 +0000)]
Add lib/gcc3/csu

20 years agoSynchronise with FreeBSD:
Jeroen Ruigrok/asmodai [Wed, 21 Jan 2004 20:02:08 +0000 (20:02 +0000)]
Synchronise with FreeBSD:

ac97.c: 1.49
ac97.h: 1.15
ac97_patch.c: 1.2
ac97_patch.h: 1.2

Submitted by: Emiel Kollof <coolvibe@hackerheaven.org>

20 years agoAdd a dummy dependency for each target make(1) is called with when
Joerg Sonnenberger [Wed, 21 Jan 2004 19:40:57 +0000 (19:40 +0000)]
Add a dummy dependency for each target make(1) is called with when
redirecting to dfports. Since make will bail out when a target is
not known by dfports, this is safe.

20 years agoIt really is supposed to be CAPF_ANYCLIENT.
Matthew Dillon [Wed, 21 Jan 2004 02:05:27 +0000 (02:05 +0000)]
It really is supposed to be CAPF_ANYCLIENT.

20 years agoResident executable support stage 4/4: cleanup options. -R and -x id now
Matthew Dillon [Tue, 20 Jan 2004 21:34:19 +0000 (21:34 +0000)]
Resident executable support stage 4/4: cleanup options.  -R and -x id now
work properly.

20 years agoResident executable support stage 4/4: remove prebinding support.
Matthew Dillon [Tue, 20 Jan 2004 21:32:47 +0000 (21:32 +0000)]
Resident executable support stage 4/4: remove prebinding support.
Resident executables are a whole lot more efficient so prebinding support
is no longer necessary.  See 'resident' command.

20 years agoResident executable support stage 3/4: Cleanup rtld-elf and augment and
Matthew Dillon [Tue, 20 Jan 2004 21:14:00 +0000 (21:14 +0000)]
Resident executable support stage 3/4:  Cleanup rtld-elf and augment and
document the 'resident' utility.

rtld-elf should startup a bit faster now.  I'm sure I can skip additional
code but I am being somewhat conservative here.

20 years agoAdd sys/resident.h for userland syscall prototypes, and give the unregister
Matthew Dillon [Tue, 20 Jan 2004 21:03:23 +0000 (21:03 +0000)]
Add sys/resident.h for userland syscall prototypes, and give the unregister
function the ability to clean out the whole list.

20 years agoThis is Fred, not Beastie
Joerg Sonnenberger [Tue, 20 Jan 2004 20:41:52 +0000 (20:41 +0000)]
This is Fred, not Beastie

20 years agoAdd DragonFly specific headers. Add __DragonFly__ and correct the specs.
Joerg Sonnenberger [Tue, 20 Jan 2004 20:38:35 +0000 (20:38 +0000)]
Add DragonFly specific headers. Add __DragonFly__ and correct the specs.

20 years ago* Fixup gcc3 build process to use correct install path.
David Rhodus [Tue, 20 Jan 2004 19:31:18 +0000 (19:31 +0000)]
* Fixup gcc3 build process to use correct install path.

20 years agoResident executable support stage 2/4: userland bits. Augment rtld-elf
Matthew Dillon [Tue, 20 Jan 2004 18:46:22 +0000 (18:46 +0000)]
Resident executable support stage 2/4: userland bits.  Augment rtld-elf
to check additional environment variables to trigger registration and
deregistration of a dynamically linked program as a resident binary.
Add a new userland utility, 'resident'.

20 years agoResident executable support stage 1/4: Add kernel bits and syscall support
Matthew Dillon [Tue, 20 Jan 2004 18:41:52 +0000 (18:41 +0000)]
Resident executable support stage 1/4: Add kernel bits and syscall support
for in-kernel caching of vmspace structures.  The main purpose of this
feature is to make it possible to run dynamically linked programs as fast
as if they were statically linked, by vmspace_fork()ing their vmspace and
saving the copy in the kernel, then using that whenever the program is
exec'd.

20 years agoLast commit was completely wrong. Reverting to old revision of file.
Eirik Nygaard [Tue, 20 Jan 2004 16:29:27 +0000 (16:29 +0000)]
Last commit was completely wrong. Reverting to old revision of file.

20 years agoWe don't have the ACPI module, so don't try to load it at boot.
Eirik Nygaard [Tue, 20 Jan 2004 15:30:05 +0000 (15:30 +0000)]
We don't have the ACPI module, so don't try to load it at boot.

20 years agoFix typo: CAPF_ANYCLIENT->CAPS_ANYCLIENT.
Jeroen Ruigrok/asmodai [Tue, 20 Jan 2004 06:03:15 +0000 (06:03 +0000)]
Fix typo: CAPF_ANYCLIENT->CAPS_ANYCLIENT.

Submitted by: Dave Leimbach <leimySPAM2k@mac.com>

20 years agoUpdate with new source file targets.
Jeroen Ruigrok/asmodai [Tue, 20 Jan 2004 05:58:57 +0000 (05:58 +0000)]
Update with new source file targets.

20 years agoUpdate config.h.
Jeroen Ruigrok/asmodai [Tue, 20 Jan 2004 05:53:42 +0000 (05:53 +0000)]
Update config.h.

20 years agoK&R -> ANSI C conversion.
Jeroen Ruigrok/asmodai [Tue, 20 Jan 2004 05:42:03 +0000 (05:42 +0000)]
K&R -> ANSI C conversion.

20 years agoRetool the M_* flags to malloc() and the VM_ALLOC_* flags to
Matthew Dillon [Tue, 20 Jan 2004 05:04:08 +0000 (05:04 +0000)]
Retool the M_* flags to malloc() and the VM_ALLOC_* flags to
vm_page_alloc(), and vm_page_grab() and friends.

The M_* flags now have more flexibility, with the intent that we will start
using some of it to deal with NULL pointer return problems in the codebase
(CAM is especially bad at dealing with unexpected return values).  In
particular, add M_USE_INTERRUPT_RESERVE and M_FAILSAFE, and redefine
M_NOWAIT as a combination of M_ flags instead of its own flag.

The VM_ALLOC_* macros are now flags (0x01, 0x01, 0x04) rather then states
(1, 2, 3), which allows us to create combinations that the old interface
could not handle.

20 years agoFix a panic if -i is used on an interface which does not have an IP.
Matthew Dillon [Tue, 20 Jan 2004 00:54:09 +0000 (00:54 +0000)]
Fix a panic if -i is used on an interface which does not have an IP.

Submitted-by: Kent Ibbetson <bsd@kibbet.com>
20 years agoUpdate for the new version of CVS.
Jeroen Ruigrok/asmodai [Mon, 19 Jan 2004 11:03:01 +0000 (11:03 +0000)]
Update for the new version of CVS.

20 years agoAdd and document an example disklabel file for the ISO
Matthew Dillon [Sun, 18 Jan 2004 19:13:10 +0000 (19:13 +0000)]
Add and document an example disklabel file for the ISO

20 years agoFix a minor malloc leak in ips.
Matthew Dillon [Sun, 18 Jan 2004 18:47:31 +0000 (18:47 +0000)]
Fix a minor malloc leak in ips.

Obtained-from: Ruslan Ermilov <ru@freebsd.org>
Obtained-via: [CHECKER] bugs in FreeBSD thread

20 years agomove the caps_type enum so it is accessible through both user and kernel
Matthew Dillon [Sun, 18 Jan 2004 12:50:15 +0000 (12:50 +0000)]
move the caps_type enum so it is accessible through both user and kernel
compiles.

20 years agoAdd test programs for the new caps system calls. Temporarily disable the
Matthew Dillon [Sun, 18 Jan 2004 12:39:58 +0000 (12:39 +0000)]
Add test programs for the new caps system calls.  Temporarily disable the
old caps junk in libcaps (it needs to be retargeted to the new system calls).

Note: performance is not expected to be very good at the moment.

20 years agovm_uiomove() is a VFS_IOOPT related procedure, conditionalize it
Matthew Dillon [Sun, 18 Jan 2004 12:32:04 +0000 (12:32 +0000)]
vm_uiomove() is a VFS_IOOPT related procedure, conditionalize it
appropriately.

20 years agoCAPS IPC library stage 2/3: Adjust syscalls.master and regenerate our
Matthew Dillon [Sun, 18 Jan 2004 12:31:09 +0000 (12:31 +0000)]
CAPS IPC library stage 2/3: Adjust syscalls.master and regenerate our
system calls.

20 years agoCAPS IPC library stage 1/3: The core CAPS IPC code, providing system calls
Matthew Dillon [Sun, 18 Jan 2004 12:29:50 +0000 (12:29 +0000)]
CAPS IPC library stage 1/3: The core CAPS IPC code, providing system calls
to create and connect to named rendezvous points.  The CAPS interface
implements a many-to-1 (client:server) capability and is totally self
contained.  The messaging is designed to support single and multi-threading,
synchronous or asynchronous (as of this commit: polling and synchronous only).

Message data is 100% opaque and so while the intention is to integrate it into
a userland LWKT messaging subsystem, the actual system calls do not depend
on any LWKT structures.

Since these system calls are experiemental and may contain root holes,
they must be enabled via the sysctl kern.caps_enabled.

20 years agoFix reversed snprintf arguments.
Matthew Dillon [Sun, 18 Jan 2004 03:28:29 +0000 (03:28 +0000)]
Fix reversed snprintf arguments.

20 years ago* Starting using GCCVER when needed and other things
David Rhodus [Sat, 17 Jan 2004 23:05:20 +0000 (23:05 +0000)]
* Starting using GCCVER when needed and other things
to reflect build changess currently in progress.

20 years ago* Drop the directory outline for building gcc3.
David Rhodus [Sat, 17 Jan 2004 22:40:16 +0000 (22:40 +0000)]
*       Drop the directory outline for building gcc3.

        This is not ready to be used yet as everything needs to
        be reworked to install in the new compiler location.

20 years agoFix an off-by-one error in fdfree() related to flock/fcntl unlock on
Matthew Dillon [Sat, 17 Jan 2004 21:23:38 +0000 (21:23 +0000)]
Fix an off-by-one error in fdfree() related to flock/fcntl unlock on
process exit.

Originally-from: FreeBSD fd code by DES.
Submitted-by: Skip Ford <skip.ford@verizon.net>
20 years ago* Fix libcaps build by syncing up with kernel work.
David Rhodus [Sat, 17 Jan 2004 17:27:54 +0000 (17:27 +0000)]
* Fix libcaps build by syncing up with kernel work.

Reported by: Eirik Nygaard <eirikn@kerneled.com>

20 years agonon operational change. vm_map_wire() now takes a flags argument instead
Matthew Dillon [Sat, 17 Jan 2004 03:26:18 +0000 (03:26 +0000)]
non operational change.  vm_map_wire() now takes a flags argument instead
of a boolean, so pass 0 instead of FALSE.

20 years agoHandle recursive situations a bit more robustly by adding a second reference
Matthew Dillon [Sat, 17 Jan 2004 03:24:50 +0000 (03:24 +0000)]
Handle recursive situations a bit more robustly by adding a second reference
to the linker_file_t during linker_file_unload(), and not looking up the
'next' module in the unload loop until after unloading (but not yet
releasing) the current module.

20 years agoFix PCI deadlock on boot
Joerg Sonnenberger [Fri, 16 Jan 2004 20:21:42 +0000 (20:21 +0000)]
Fix PCI deadlock on boot

20 years agoAdjust the upgrade target to remove stale /usr/libexec/aout files now
Matthew Dillon [Fri, 16 Jan 2004 19:57:30 +0000 (19:57 +0000)]
Adjust the upgrade target to remove stale /usr/libexec/aout files now
that /usr/libexec/gcc2/aout is being generated properly.

20 years agoFixup /usr/libexec/gcc2/aout binutils generation. The install targets had
Matthew Dillon [Fri, 16 Jan 2004 19:55:52 +0000 (19:55 +0000)]
Fixup /usr/libexec/gcc2/aout binutils generation.  The install targets had
to be updated for the /usr/libexec/aout->/usr/libexec/gcc2/aout move.

20 years agoMake sure cvs reports the proper OS.
Jeroen Ruigrok/asmodai [Fri, 16 Jan 2004 14:13:50 +0000 (14:13 +0000)]
Make sure cvs reports the proper OS.

20 years agoFix compile errors introduced with last commit
Joerg Sonnenberger [Fri, 16 Jan 2004 13:07:18 +0000 (13:07 +0000)]
Fix compile errors introduced with last commit

20 years agoAugment the upgrade_etc target to remove stale compiler-related binaries
Matthew Dillon [Fri, 16 Jan 2004 09:11:10 +0000 (09:11 +0000)]
Augment the upgrade_etc target to remove stale compiler-related binaries
and data files if it detects that the gcc upgrade has occured from a
recent installworld.

20 years agoMajor GCC surgery. Move most compiler-specific files into named
Matthew Dillon [Fri, 16 Jan 2004 07:45:22 +0000 (07:45 +0000)]
Major GCC surgery.  Move most compiler-specific files into named
subdirectories and do a major overhaul of the front-end binaries in /usr/bin.

    /usr/libdata/gcc -> /usr/libdata/gcc2
    /usr/libdata/ldscripts -> /usr/libdata/gcc2/ldscripts
    /usr/libexec/{all_gcc_bins} -> /usr/libexec/gcc2/*
    /usr/libexec/{elf,aout}/* -> /usr/libexec/gcc2/{elf,aout}/*

OBJFORMAT_PATH has been changed from a full path to a base path, because
the objformat binary (hardlinked to most compiler related binaries in
/usr/bin) must now interpret the command name and use one of two different
paths to find the actual binary.  Previously certain gcc binaries, such as
'cc' and 'cpp', were directly installed in /usr/bin.  That is no longer the
case.

Objformat now supports the GCCVER environment variable for vectoring the
compiler version.  This will be used to support gcc3 and other compilers.

20 years agoscrap stderr from the ps output to avoid an annoying warning (due to
Matthew Dillon [Fri, 16 Jan 2004 07:11:23 +0000 (07:11 +0000)]
scrap stderr from the ps output to avoid an annoying warning (due to
the DEB database not having been constructed yet).  It's a chicken and
egg problem so we can't reorder the file, but ps works anyway and
accomplishes its purpose of supplying data to initialize the random
number generator.

20 years agoReplace pci_cfgread and pci_cfgwrite with PCIB_READ_CONFIG and
Joerg Sonnenberger [Thu, 15 Jan 2004 21:18:18 +0000 (21:18 +0000)]
Replace pci_cfgread and pci_cfgwrite with PCIB_READ_CONFIG and
PCIB_WRITE_CONFIG.

Merged in FreeBSD rev 1.167, without 1.162 and 1.166.