Commit Graph

31700 Commits

Author SHA1 Message Date
asami
815048f88c (1) Pass PORTOBJFORMAT in SCRIPTS_ENV too.
Submitted by:	"Eugene M. Kim" <gene@nttlabs.com>

(2) Check for exact version of perl5 in /usr/bin and exit with error
    message if USE_PERL5 is defined and version does not match
    ${PERL_VERSION}.

(3) Note LIB_DEPENDS should not have any regular expressions.  Remove
    those in USE_XLIB and USE_QT.
1998-09-16 12:04:38 +00:00
dfr
b475fdd431 Snip out some dead code from the alpha part. 1998-09-16 09:34:07 +00:00
dfr
112d2189e6 Add some things to the alpha build. 1998-09-16 09:33:23 +00:00
dfr
05eaa85e16 Put ldd back in the standard list since it builds on alpha now. 1998-09-16 09:32:29 +00:00
dfr
2c574d9124 Make ldd work on alpha. 1998-09-16 09:31:48 +00:00
dfr
7a96388db1 Adjust the declarations of kvm_read and kvm_write to match reality a little
closer.
1998-09-16 09:30:14 +00:00
dfr
435b9d97a5 Change to a code sequence which is more likely to work on SMP systems.
Now all I need is an alpha SMP box to port FreeBSD to :-)
1998-09-16 09:27:05 +00:00
jhay
1bfc1a72e6 Update the man page to match the rest of crunchide. 1998-09-16 09:26:14 +00:00
jkh
7a5e90da27 Make SCSI stuff truly optional.
Noticed by:	jhay
1998-09-16 09:25:20 +00:00
dfr
3baad916c3 Sync with etc.i386/MAKEDEV version 1.171. 1998-09-16 09:21:43 +00:00
kato
a2935d7a21 Sync with sys/i386/isa/pcaudio.c revision 1.43. 1998-09-16 08:38:50 +00:00
kato
f05a544579 Sync with sys/i386/isa/files.i386 and options.i386 revisions 1.204 and
1.87, respectively.
1998-09-16 08:37:40 +00:00
dfr
2209a0538c Some workarounds for a common DEC pci-pci bridge found on alphas.
Fix printf format errors which show up on the alpha.
1998-09-16 08:28:11 +00:00
dfr
aff5182c40 Port de driver to alpha. 1998-09-16 08:27:07 +00:00
dfr
73a17d1eaf Document BUS_CREATE_INTR and BUS_CONNECT_INTR. 1998-09-16 08:25:56 +00:00
dfr
f85d349294 Workaround some EB164 wierdness.
Obtained from: NetBSD
1998-09-16 08:24:30 +00:00
dfr
0fc69df41c Disable unwanted isa interrupts. 1998-09-16 08:23:51 +00:00
dfr
45aaebf289 Add cam spls. 1998-09-16 08:23:21 +00:00
dfr
d894d7bf5d Port i386 bus_space and bus_dma to alpha. 1998-09-16 08:22:57 +00:00
dfr
6dc7ad2249 Change to cam. 1998-09-16 08:22:09 +00:00
dfr
8d967039de Add cam software interrupts. 1998-09-16 08:21:12 +00:00
dfr
a821ae45b4 Port the i386 bus_dma implementation to alpha. 1998-09-16 08:20:45 +00:00
kato
2b6f6f2ac9 Sync with sys/i386/isa/fd.c revision 1.123. 1998-09-16 08:08:38 +00:00
kato
0898a9b746 Sync with sys/i386/conf/Makefile.i386 revision 1.123. 1998-09-16 08:04:40 +00:00
jkoshy
f90418a9e2 Sort table and descriptions.
Pointed out by: bde
1998-09-16 07:25:34 +00:00
grog
a22382d2d9 This commit was generated by cvs2svn to compensate for changes in r39332,
which included commits to RCS files with non-trunk default branches.
1998-09-16 05:57:36 +00:00
grog
22d3d93a1e Import base vinum userland sources 1998-09-16 05:57:36 +00:00
grog
fbec2c5e5c This commit was generated by cvs2svn to compensate for changes in r39330,
which included commits to RCS files with non-trunk default branches.
1998-09-16 05:56:21 +00:00
grog
633c70539f Import base vinum lkm sources 1998-09-16 05:56:21 +00:00
jdp
a14a068430 Fix up the boot-time ldconfig handling to deal with dual object
file formats.  I have added a new rc.conf variable ${ldconfig_paths_aout}
which is like ${ldconfig_paths}, but only for a.out shared libraries.

On a "standard" ELF system, the ELF ldconfig path is taken from
${ldconfig_paths}, while the a.out ldconfig path is taken from
${ldconfig_paths_aout}.

On a not-yet-converted a.out system, only the a.out ldconfig path
is set, and it is taken from ${ldconfig_paths_aout}.  If that
variable is unset, /etc/rc defaults it to the value of ${ldconfig_paths},
on the assumption that the system's "/etc/rc.conf" file hasn't been
updated.
1998-09-16 05:42:38 +00:00
jkh
3d503d8e05 Add entries to describe CAM's new features. 1998-09-16 05:15:37 +00:00
imp
bfe73fd683 Replace memory leaking instances of realloc with non-leaking reallocf.
In some cases replace if (a == null) a = malloc(x); else a =
realloc(a, x); with simple reallocf(a, x).  Per ANSI-C, this is
guaranteed to be the same thing.

I've been running these on my system here w/o ill effects for some
time.  However, the CTM-express is at part 6 of 34 for the CAM
changes, so I've not been able to do a build world with the CAM in the
tree with these changes.  Shouldn't impact anything, but...
1998-09-16 04:17:47 +00:00
jdp
68a8c77172 Add links to addr2line, objcopy, and objdump. These exist only for
ELF, but still I think this is the best way to get them into the
shell's search path.
1998-09-16 04:11:15 +00:00
imp
5c7c8dfbe2 o Don't reference non-existant function freealloc.
o Properly order things

Pointed out by: bde
1998-09-16 04:07:31 +00:00
gibbs
fefb01e7e7 Fix printf format bugs. 1998-09-16 03:27:12 +00:00
mjacob
bc0ce9aa97 Fix compile warnings. 1998-09-16 03:26:10 +00:00
imp
f706ca01b7 Fix style problems noted by Bruce:
o No copyright on reallocf.
	o Order makefile list correctly.
	o indent reallocf properly.
1998-09-16 03:16:06 +00:00
jdp
7bf4199b5f Fix a bug that showed up when debugging dynamically linked programs.
References from GDB to "printf" and various other functions would
find the versions in the dynamic linker itself, rather than the
versions in the program's libc.  This fix moves the GDB link map
entry for the dynamic linker to the end of the search list, where
its symbols will be found only if they are not found anywhere else.
It was suggested by Doug Rabson, though I implemented it a little
differently.

I personally would prefer to leave the dynamic linker's entry out
of the GDB search list altogether.  But Doug argues that it is
handy there for such things as setting breakpoints on dlopen().
So it stays for now, at least.

Note, if we ever integrate the dynamic linker with libc (which has
several important benefits to recommend it), this whole problem
goes away.
1998-09-16 02:54:08 +00:00
jdp
82df6336ed Restore the core-dumping of all writable segments for ELF executables,
minus the NULL pointer dereference in rev. 1.33.  Also simplify
things somewhat by eliminating one traversal of the VM map entries.
Finally, eliminate calls to vm_map_{un,}lock_read() which aren't
needed here.  I originally took them from procfs_map.c, but here
we know we are dealing only with the map of the current process.
1998-09-16 02:04:05 +00:00
wpaul
71a9e7d996 Apply patch from Stefan Esser to close PR #7941: add code to handle
dynamic loading of libdes on ELF systems. The patch looks correct to
me.
1998-09-16 01:50:04 +00:00
ken
f63b826ac0 Delete unused code. This has been obsoleted by the new devstat code.
Reviewed by:	imp
1998-09-16 00:25:54 +00:00
ken
89e0714ec8 Check to make sure that this device is opened read-write, not just read
only.  Previously, if the device was chmoded 644, someone could open it
with the O_RDONLY flag and issue any ioctl to the device.

Reviewed by:	imp, gibbs
1998-09-16 00:11:53 +00:00
ken
15f6619350 Change the permissions for the transport layer (xpt) and passthrough (pass)
devices from 644 to 600.

Reviewed by:	imp, gibbs
1998-09-16 00:10:26 +00:00
mjacob
ee0c7c1d4f fix reported compile error flying blind- I do not have the new compiler yet 1998-09-15 22:44:51 +00:00
gibbs
728e48e76e Update to use CAM device names. 1998-09-15 22:38:50 +00:00
jdp
3ff15d56a4 Erk. Revert back to 1.31, dumping only data and stack to the core
file, until I can solve a panic that has just cropped up.
1998-09-15 22:23:12 +00:00
gibbs
5e24688709 Nuke uninitialized varible fd from retrier(). Change the devstat code
to reference fdc->fd instead.
1998-09-15 22:07:24 +00:00
jdp
13fbdd93b8 When choosing segments to write to the core file, don't assume that
writable implies readable.
1998-09-15 22:07:20 +00:00
gibbs
77349ff389 Correct printf format bugs. 1998-09-15 22:05:44 +00:00
jdp
92f218ee17 Instead of just the data and stack segments, include all writable
segments (except memory-mapped devices) in the ELF core file.  This
is really nice.  You get access to the data areas of all shared
libraries, and even to files that are mapped read-write.

In the future, it might be good to add a new resource limit in the
spirit of RLIMIT_CORE.  It would specify the maximum sized writable
segment to include in core dumps.  Segments larger than that would
be omitted.  This would be useful for programs that map very large
files read/write but that still would like to get usable core dumps.
1998-09-15 21:46:34 +00:00