Commit Graph

31699 Commits

Author SHA1 Message Date
dfr
ad920ca826 Snip out some dead code from the alpha part. 1998-09-16 09:34:07 +00:00
dfr
fa5c2818e8 Add some things to the alpha build. 1998-09-16 09:33:23 +00:00
dfr
80faa2f788 Put ldd back in the standard list since it builds on alpha now. 1998-09-16 09:32:29 +00:00
dfr
9cf452b48d Make ldd work on alpha. 1998-09-16 09:31:48 +00:00
dfr
e0131d813d Adjust the declarations of kvm_read and kvm_write to match reality a little
closer.
1998-09-16 09:30:14 +00:00
dfr
96e7b502ec 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
46fa68775b Update the man page to match the rest of crunchide. 1998-09-16 09:26:14 +00:00
jkh
77b77dec28 Make SCSI stuff truly optional.
Noticed by:	jhay
1998-09-16 09:25:20 +00:00
dfr
cb09b31d8b Sync with etc.i386/MAKEDEV version 1.171. 1998-09-16 09:21:43 +00:00
kato
2dd4583053 Sync with sys/i386/isa/pcaudio.c revision 1.43. 1998-09-16 08:38:50 +00:00
kato
2265b946f5 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
b06ef8d077 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
814cce521d Port de driver to alpha. 1998-09-16 08:27:07 +00:00
dfr
6fda2212cd Document BUS_CREATE_INTR and BUS_CONNECT_INTR. 1998-09-16 08:25:56 +00:00
dfr
576bd61647 Workaround some EB164 wierdness.
Obtained from: NetBSD
1998-09-16 08:24:30 +00:00
dfr
655f6c4b04 Disable unwanted isa interrupts. 1998-09-16 08:23:51 +00:00
dfr
e75df699ab Add cam spls. 1998-09-16 08:23:21 +00:00
dfr
1e4195c850 Port i386 bus_space and bus_dma to alpha. 1998-09-16 08:22:57 +00:00
dfr
4bc1c62b9c Change to cam. 1998-09-16 08:22:09 +00:00
dfr
dc21f12212 Add cam software interrupts. 1998-09-16 08:21:12 +00:00
dfr
7f8c48872b Port the i386 bus_dma implementation to alpha. 1998-09-16 08:20:45 +00:00
kato
fa505a0a3d Sync with sys/i386/isa/fd.c revision 1.123. 1998-09-16 08:08:38 +00:00
kato
7346363f60 Sync with sys/i386/conf/Makefile.i386 revision 1.123. 1998-09-16 08:04:40 +00:00
jkoshy
3403f429e5 Sort table and descriptions.
Pointed out by: bde
1998-09-16 07:25:34 +00:00
grog
2343f8d005 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
eb613b0ffa 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
062e6c5e1b 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
f328003d4a Add entries to describe CAM's new features. 1998-09-16 05:15:37 +00:00
imp
c6419dc030 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
712a582005 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
60d2bd9011 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
1d85032947 Fix printf format bugs. 1998-09-16 03:27:12 +00:00
mjacob
2b5e2ed22d Fix compile warnings. 1998-09-16 03:26:10 +00:00
imp
13204dc603 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
39ca3db720 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
3e9b33afa5 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
022738153b 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
6389cca137 Delete unused code. This has been obsoleted by the new devstat code.
Reviewed by:	imp
1998-09-16 00:25:54 +00:00
ken
02ef46ecda 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
efc205c834 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
455f60d16c fix reported compile error flying blind- I do not have the new compiler yet 1998-09-15 22:44:51 +00:00
gibbs
cd94825f5a Update to use CAM device names. 1998-09-15 22:38:50 +00:00
jdp
b57df055ac 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
07cfe97ac8 Nuke uninitialized varible fd from retrier(). Change the devstat code
to reference fdc->fd instead.
1998-09-15 22:07:24 +00:00
jdp
951c0b1c5f 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
244f2bf096 Correct printf format bugs. 1998-09-15 22:05:44 +00:00
jdp
0a5b5091a5 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
jkh
d905ebcb5d Translate some of the newer entries to english. :) 1998-09-15 21:45:14 +00:00