]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
25 years agoAdd acknowledgements.
jkh [Fri, 16 Oct 1998 04:26:00 +0000 (04:26 +0000)]
Add acknowledgements.

25 years agoUpdate the sa(4) man page for CAM. This was repository-copied from the
ken [Fri, 16 Oct 1998 04:06:21 +0000 (04:06 +0000)]
Update the sa(4) man page for CAM.  This was repository-copied from the
st(4) man page.

Take out most of the sd(4) and st(4) man pages and point to the new
da(4) and sa(4) man pages.

Add sa.4 to the makefile.

Reviewed by: ken
Submitted by: gibbs

25 years ago*gulp*. Jordan specifically OK'ed this..
peter [Fri, 16 Oct 1998 03:55:01 +0000 (03:55 +0000)]
*gulp*.  Jordan specifically OK'ed this..

This is the bulk of the support for doing kld modules.  Two linker_sets
were replaced by SYSINIT()'s.  VFS's and exec handlers are self registered.
kld is now a superset of lkm.  I have converted most of them, they will
follow as a seperate commit as samples.
This all still works as a static a.out kernel using LKM's.

25 years agoFix some bugs in link_aout.c caused by using uninitialized malloc space.
peter [Fri, 16 Oct 1998 03:45:35 +0000 (03:45 +0000)]
Fix some bugs in link_aout.c caused by using uninitialized malloc space.

Pre-Approved by:  jkh

25 years agoUpdate the kld glue
peter [Fri, 16 Oct 1998 03:32:03 +0000 (03:32 +0000)]
Update the kld glue

Pre-Approved by: jkh

25 years agoAdd the da(4) man page.
ken [Fri, 16 Oct 1998 03:29:49 +0000 (03:29 +0000)]
Add the da(4) man page.

25 years agoUpdate the da(4) man page for CAM. The da.4 man page was repository-copied
ken [Fri, 16 Oct 1998 03:28:12 +0000 (03:28 +0000)]
Update the da(4) man page for CAM.  The da.4 man page was repository-copied
from the sd.4 man page.

This includes a discussion of write caching and its effects.

Reviewed by: ken
Submitted by: gibbs

25 years agoCommented out example of changing the default kernel format with warning.
peter [Fri, 16 Oct 1998 03:26:54 +0000 (03:26 +0000)]
Commented out example of changing the default kernel format with warning.

25 years ago"fix" the gzipped kernel load problem by having the loader check that it
peter [Fri, 16 Oct 1998 03:04:15 +0000 (03:04 +0000)]
"fix" the gzipped kernel load problem by having the loader check that it
can seek back to the first PT_LOAD and doing a close/reopen if it cannot.
This is because the first PT_LOAD section includes the ELF headers.
This fixes gzipped kernels on the i386, it should solve mike's problem
for the Alpha.

25 years agoAdjust for -RELEASE
jkh [Fri, 16 Oct 1998 02:27:07 +0000 (02:27 +0000)]
Adjust for -RELEASE

25 years agoChange to 3.0-RELEASE in anticipation of the tag.
jkh [Fri, 16 Oct 1998 02:08:20 +0000 (02:08 +0000)]
Change to 3.0-RELEASE in anticipation of the tag.

25 years agoKeep the entries sorted by name. Rev.1.21 broke the order inadvertently.
yokota [Fri, 16 Oct 1998 01:49:13 +0000 (01:49 +0000)]
Keep the entries sorted by name.  Rev.1.21 broke the order inadvertently.
No functaionlal change.

25 years agoAdd commented out bpf entry. (DHCP is popular here, and this is required).
obrien [Fri, 16 Oct 1998 01:30:11 +0000 (01:30 +0000)]
Add commented out bpf entry.  (DHCP is popular here, and this is required).

Ok'ed by: jkh

25 years agoAdd notes about SCSI tape support.
jkh [Fri, 16 Oct 1998 00:29:37 +0000 (00:29 +0000)]
Add notes about SCSI tape support.
Submitted by: "Kenneth D. Merry" <ken@plutotech.com>

25 years agoChange the worm(4) man page to note that there is no longer a worm(4)
ken [Fri, 16 Oct 1998 00:26:28 +0000 (00:26 +0000)]
Change the worm(4) man page to note that there is no longer a worm(4)
driver, and point users in the right direction for similar functionality.
The functionality that used to be provided there is now provided by the
cd(4) driver and cdrecord.

Fix cross-references in a few other man pages.  (i.e. delete references to
things I haven't written yet)

25 years agoWarn about "mount -u" bug.
des [Fri, 16 Oct 1998 00:06:56 +0000 (00:06 +0000)]
Warn about "mount -u" bug.

25 years ago-Wunused cleanup.
gibbs [Thu, 15 Oct 1998 23:49:27 +0000 (23:49 +0000)]
-Wunused cleanup.

Correct a problem where an external bus reset on the 'background' channel of
a Twin Channel EISA controller could put the driver into an infinite loop.

Noticed by: Twin Channel bug, Joerg Wunsch <joerg@FreeBSD.org>
Submitted by: -Wunused, Poul-Henning Kamp <phk@freebsd.org>

25 years ago-Wunused cleanup.
gibbs [Thu, 15 Oct 1998 23:47:14 +0000 (23:47 +0000)]
-Wunused cleanup.

Fixed bug in advansys.c where we did not properly clean up ccb_info data
structures in softc teardown.

Submitted by: Poul-Henning Kamp <phk@freebsd.org>

25 years ago-Wunused cleanup.
gibbs [Thu, 15 Oct 1998 23:46:33 +0000 (23:46 +0000)]
-Wunused cleanup.

Submitted by: Poul-Henning Kamp <phk@freebsd.org>

25 years agoHonor CAM_TAG_ACTION_NONE.
gibbs [Thu, 15 Oct 1998 23:17:58 +0000 (23:17 +0000)]
Honor CAM_TAG_ACTION_NONE.

25 years agoAdd a mechanism to send a non-tagged transaction even if a device is
gibbs [Thu, 15 Oct 1998 23:17:35 +0000 (23:17 +0000)]
Add a mechanism to send a non-tagged transaction even if a device is
currently operating in a tagged mode.  The SIM driver should determine
if a device is in tag mode by looking at the CAM_TAG_ACTION_VALID flag
in the ccb header.  If the flag is set, the tag_action field is either
a SCSI II tag message (simple, ordered, head) or CAM_TAG_ACTION_NONE
to specify that no tagging should be performed.

25 years agoFix path to sio.s
rnordier [Thu, 15 Oct 1998 22:08:13 +0000 (22:08 +0000)]
Fix path to sio.s

25 years agoFix a typo preventing the correct value of kernend from being picked up
dfr [Thu, 15 Oct 1998 22:00:54 +0000 (22:00 +0000)]
Fix a typo preventing the correct value of kernend from being picked up
from the bootstrap.  Also change some debug printfs from #if 0 to
#ifdef DEBUG_CLUSTER to make it easier to debug startup memory problems.

25 years agoChange some printfs so that ELF_VERBOSE prints meaningful values on the alpha.
dfr [Thu, 15 Oct 1998 21:56:47 +0000 (21:56 +0000)]
Change some printfs so that ELF_VERBOSE prints meaningful values on the alpha.

25 years agoFix the bootinfo so that the right values actual make it into the kernel.
dfr [Thu, 15 Oct 1998 21:55:58 +0000 (21:55 +0000)]
Fix the bootinfo so that the right values actual make it into the kernel.

25 years agoVarious fixups and corrections to match the 3.0-RELEASE tree.
abial [Thu, 15 Oct 1998 21:40:07 +0000 (21:40 +0000)]
Various fixups and corrections to match the 3.0-RELEASE tree.

The PicoBSD version is now 0.42.

25 years agoNote latest SCSI subsystem changes.
jkh [Thu, 15 Oct 1998 21:28:59 +0000 (21:28 +0000)]
Note latest SCSI subsystem changes.
Submitted by: "Kenneth D. Merry" <ken@plutotech.com>

25 years agoAdd references to ATM cards (Mike Spengler <mks@networkcs.com>) and
jkh [Thu, 15 Oct 1998 21:20:33 +0000 (21:20 +0000)]
Add references to ATM cards (Mike Spengler <mks@networkcs.com>) and
remove all tabs.

25 years agoAdd wst.4
imp [Thu, 15 Oct 1998 20:45:57 +0000 (20:45 +0000)]
Add wst.4

25 years agoMan page for the wst driver. I had planned on committing this earlier,
imp [Thu, 15 Oct 1998 20:43:25 +0000 (20:43 +0000)]
Man page for the wst driver.  I had planned on committing this earlier,
but forgot.

25 years agoAdded reference to ifconfig(8).
wosch [Thu, 15 Oct 1998 20:36:55 +0000 (20:36 +0000)]
Added reference to ifconfig(8).

25 years agoAdded manpage link plip.4 -> lp.4
wosch [Thu, 15 Oct 1998 20:35:28 +0000 (20:35 +0000)]
Added manpage link plip.4 -> lp.4

25 years agoAdd reference to lp(4).
wosch [Thu, 15 Oct 1998 20:27:26 +0000 (20:27 +0000)]
Add reference to lp(4).

25 years agoAdd serial, dual, and probe-keyboard support.
rnordier [Thu, 15 Oct 1998 20:04:21 +0000 (20:04 +0000)]
Add serial, dual, and probe-keyboard support.

25 years agoReduce the number of ccbs to 16, per the aha documentation. Move
imp [Thu, 15 Oct 1998 19:53:30 +0000 (19:53 +0000)]
Reduce the number of ccbs to 16, per the aha documentation.  Move
bogus comment to proper place.

This should fix the hangs people are seeing under very heavy load, at
least it does for me.  Please let me know if you continue to have
problems.

25 years agoAdd some points from experiences installing on a range of IBM Netfinity
msmith [Thu, 15 Oct 1998 19:12:04 +0000 (19:12 +0000)]
Add some points from experiences installing on a range of IBM Netfinity
systems.

25 years agoFix several potential buffer overrun conditions. These changes have been
ken [Thu, 15 Oct 1998 19:08:58 +0000 (19:08 +0000)]
Fix several potential buffer overrun conditions.  These changes have been
tested both in the kernel and in userland.  Also, fix a couple of printf
warnings that show up when CAMDEBUG is defined.

Reviewed by: imp
Partially submitted by: imp

25 years agoProperly install the *.h files in CORE and Config.pm where it wants to be.
markm [Thu, 15 Oct 1998 18:50:04 +0000 (18:50 +0000)]
Properly install the *.h files in CORE and Config.pm where it wants to be.

This should fix a substantial number of broken p5-* ports.

Tested-on: x11-toolkits/p5-Tk (Amongst others)

25 years agoBring back support for honoring the primary channel setting for twin channel
gibbs [Thu, 15 Oct 1998 18:21:50 +0000 (18:21 +0000)]
Bring back support for honoring the primary channel setting for twin channel
EISA adapters.  This could have caused the system to find the wrong root
disk.

Reviewed by:  J Wunsch <j@ida.interface-business.de>

25 years agoClean up some unused variables.
ken [Thu, 15 Oct 1998 17:46:26 +0000 (17:46 +0000)]
Clean up some unused variables.

Reviewed by: ken
Submitted by: phk

25 years ago- bzero() after malloc() bug fix
peter [Thu, 15 Oct 1998 17:16:24 +0000 (17:16 +0000)]
- bzero() after malloc() bug fix
- look up relocation symbol names in correct table bugfix.
- remove unused (initialized to 0) variable and conditional free() of it.

25 years agoFix style issues in execl(), and make execle() vfork()-safe.
des [Thu, 15 Oct 1998 17:14:15 +0000 (17:14 +0000)]
Fix style issues in execl(), and make execle() vfork()-safe.

Reviewed by: bde
Approved by: jkh

25 years ago- bzero() after malloc(). This is especially obvious when kern_malloc is
peter [Thu, 15 Oct 1998 17:12:12 +0000 (17:12 +0000)]
- bzero() after malloc().  This is especially obvious when kern_malloc is
compiled with DIAGNOSTIC.
- Don't break from the preload module processing loop prematurely.

25 years agoFix sysinit_add().
peter [Thu, 15 Oct 1998 17:09:19 +0000 (17:09 +0000)]
Fix sysinit_add().
- Don't include multiple copies of the previous sysinit in the new one.
- Leave space for and explicitly null terminate the new list.

25 years agoGet the last used address via a more conservative method, don't depend
peter [Thu, 15 Oct 1998 17:06:36 +0000 (17:06 +0000)]
Get the last used address via a more conservative method, don't depend
on the module chain being in increasing address order.

25 years agoFix make world breakage from last commit.
jdp [Thu, 15 Oct 1998 16:09:56 +0000 (16:09 +0000)]
Fix make world breakage from last commit.

25 years agoFixed breakage of gdbreplay's and gdbserver's BINDIR in previous commit.
bde [Thu, 15 Oct 1998 14:15:09 +0000 (14:15 +0000)]
Fixed breakage of gdbreplay's and gdbserver's BINDIR in previous commit.
They may belong in /usr/libexec/{aout,elf}, but objformat doesn't
support that.

Fixed bogus `?=' assignments for BINDIR.

25 years agoSpelling.
mckay [Thu, 15 Oct 1998 13:37:35 +0000 (13:37 +0000)]
Spelling.

25 years agoatq ignored locale info when printing dates. Is the other call to
mckay [Thu, 15 Oct 1998 13:30:48 +0000 (13:30 +0000)]
atq ignored locale info when printing dates.  Is the other call to
setlocale() just in the wrong place?

PR: 8300

25 years agoFix a serious bug in make(1)'s handling of archive libraries.
jkoshy [Thu, 15 Oct 1998 13:00:34 +0000 (13:00 +0000)]
Fix a serious bug in make(1)'s handling of archive libraries.

This case did not need to be tested when RANLIBMAG was defined
(as when in an `aout' environment) because Arch_StatMember() treated
the two cases of the library not being present and a member of
the library not being present the same way, forcing a rebuild
of the library.  Since in the ELF environment we don't look inside
archive libraries we now need to check if the archive library is
present in order to determine its `out-of-date'-ness.

(I hope I've been able to meet the Oct 15th freeze).

Reported-by: Steve Price (and a few others whom I've forgotten, sorry)

25 years agoMake it clear that installations can only occur from drive C.
jkh [Thu, 15 Oct 1998 11:27:45 +0000 (11:27 +0000)]
Make it clear that installations can only occur from drive C.
PR: 8334
Submitted by: Sue Blake <sue@vedanix.welearn.com.au>

25 years agoUpdate DOS emulator description.
jkh [Thu, 15 Oct 1998 11:24:29 +0000 (11:24 +0000)]
Update DOS emulator description.

25 years agoMake the bit about DOS partitions somewhat clearer.
jkh [Thu, 15 Oct 1998 11:22:33 +0000 (11:22 +0000)]
Make the bit about DOS partitions somewhat clearer.
PR: 8333

25 years agoMore attempts to DTRT for the alpha, based on what I now know about boot2.
jkh [Thu, 15 Oct 1998 11:12:40 +0000 (11:12 +0000)]
More attempts to DTRT for the alpha, based on what I now know about boot2.

25 years agoFix upgrade notes.
jkh [Thu, 15 Oct 1998 11:01:30 +0000 (11:01 +0000)]
Fix upgrade notes.
PR: 8331
Submitted by: Sue Blake <sue@vedanix.welearn.com.au>

25 years agoUpdate for 3.0
jkh [Thu, 15 Oct 1998 10:16:33 +0000 (10:16 +0000)]
Update for 3.0
Submitted by: Sue Blake <sue@vedanix.welearn.com.au>

25 years agoCall ourselves by the correct name. :)
jkh [Thu, 15 Oct 1998 10:14:55 +0000 (10:14 +0000)]
Call ourselves by the correct name. :)
Submitted by: Sue Blake <sue@vedanix.welearn.com.au>

25 years agoAdd ipfw change information.
jkh [Thu, 15 Oct 1998 10:13:53 +0000 (10:13 +0000)]
Add ipfw change information.

25 years agoUpdate size information for ports.
jkh [Thu, 15 Oct 1998 10:13:34 +0000 (10:13 +0000)]
Update size information for ports.

25 years agoSearch for correct property name; the older attrs code bogusly folded case,
jkh [Thu, 15 Oct 1998 10:03:48 +0000 (10:03 +0000)]
Search for correct property name; the older attrs code bogusly folded case,
so I never noticed this bug. :)

25 years agoChange a bogus cast to the correct one.
dfr [Thu, 15 Oct 1998 09:53:27 +0000 (09:53 +0000)]
Change a bogus cast to the correct one.

25 years agoDon't frob the user stack directly, use suword instead. This fixes the
dfr [Thu, 15 Oct 1998 09:52:19 +0000 (09:52 +0000)]
Don't frob the user stack directly, use suword instead.  This fixes the
elf_freebsd_fixup() panic which many people have noticed on the alpha.

25 years agoUse the interface name as well as the method name when creating the method
dfr [Thu, 15 Oct 1998 09:50:45 +0000 (09:50 +0000)]
Use the interface name as well as the method name when creating the method
description.

Submitted by: Nick Hibma <nick.hibma@jrc.it>

25 years agoMake the next_writeable address specific for each drive, there might
sos [Thu, 15 Oct 1998 08:11:55 +0000 (08:11 +0000)]
Make the next_writeable address specific for each drive, there might
be more than one burner online.

25 years agoUpdate README.TXT, not that anyone will read it anyway, to describe just
jkh [Thu, 15 Oct 1998 07:42:25 +0000 (07:42 +0000)]
Update README.TXT, not that anyone will read it anyway, to describe just
what 3.0 is meant to be.

25 years agosnuff warning message if package is not found in INDEX but is found
jkh [Thu, 15 Oct 1998 06:50:43 +0000 (06:50 +0000)]
snuff warning message if package is not found in INDEX but is found
to be already installed anyway.

25 years agoFix formatting bug.
jkoshy [Thu, 15 Oct 1998 05:04:28 +0000 (05:04 +0000)]
Fix formatting bug.

PR: 8320
Submitted by: Amakawa Shuhei <amakawa@sf.t.u-tokyo.ac.jp>

25 years agoAdd lstat() as a known system call.
sef [Thu, 15 Oct 1998 04:31:44 +0000 (04:31 +0000)]
Add lstat() as a known system call.

25 years agoForgot to commit this; the alpha uses the kld symbol interface now. The
peter [Thu, 15 Oct 1998 02:01:50 +0000 (02:01 +0000)]
Forgot to commit this; the alpha uses the kld symbol interface now.  The
tables that db_elf.c is expecting are not loaded in that format any more.

25 years agoConform to POSIX and close any copies of popen() descriptors inherited by a
msmith [Thu, 15 Oct 1998 01:47:40 +0000 (01:47 +0000)]
Conform to POSIX and close any copies of popen() descriptors inherited by a
popen()ed child.

PR: misc/7810
Submitted by: Wayne Scott <wscott@ichips.intel.com>

25 years agoAdd objformat links for gdb and (while we're at it) c++filt.
peter [Thu, 15 Oct 1998 00:19:08 +0000 (00:19 +0000)]
Add objformat links for gdb and (while we're at it) c++filt.
This means we can (assuming an a.out gdb is present) debug a.out kernels
and crashdumps with gdb -aout.

25 years agoInstall gdb in /usr/lib/aout or /usr/lib/elf depending on format.
peter [Thu, 15 Oct 1998 00:15:01 +0000 (00:15 +0000)]
Install gdb in /usr/lib/aout or /usr/lib/elf depending on format.

25 years agoFix a couple of potential buffer overrun cases.
ken [Wed, 14 Oct 1998 23:28:26 +0000 (23:28 +0000)]
Fix a couple of potential buffer overrun cases.

Submitted by: imp

25 years agoNarrow the quirk entry for the Seagate Elite 9 a bit to just cover drives
ken [Wed, 14 Oct 1998 22:51:51 +0000 (22:51 +0000)]
Narrow the quirk entry for the Seagate Elite 9 a bit to just cover drives
with 71* firmware revisions.  Scott Mace <smace@intt.ORG> reports that
drives with 00* firmware revisions do tagged queueing just fine.

25 years ago- Add a couple comment lines to note that spaces are not allowed as
nate [Wed, 14 Oct 1998 21:59:55 +0000 (21:59 +0000)]
- Add a couple comment lines to note that spaces are not allowed as
  field separators.

PR: conf/8162
Submitted by: Sheldon Hearn <sheldonh@axl.training.iafrica.com>

25 years agoDisable tagged queueing for the Seagate Elite 9GB drives. They tend to get
ken [Wed, 14 Oct 1998 21:17:39 +0000 (21:17 +0000)]
Disable tagged queueing for the Seagate Elite 9GB drives.  They tend to get
hung up when you send tags to them too quickly.  (CAM is able to recover
from the problem, but this just avoids it altogether.)

Reviewed by: gibbs
Reported by: Bret Ford <bford@uop.cs.uop.edu>
and: Martin Renters <martin@tdc.on.ca>

25 years agoDisable the 'devstat_end_transaction' busy count printf until after 3.0
ken [Wed, 14 Oct 1998 20:44:05 +0000 (20:44 +0000)]
Disable the 'devstat_end_transaction' busy count printf until after 3.0
release goes out the door.  We know there's a bug in the devstat
implementation in the wd driver, but bde and msmith haven't been able to
fix it yet.

So, disable the printf to avoid confusing/worrying people.

Suggested by: msmith

25 years agoActivate boot2.
rnordier [Wed, 14 Oct 1998 20:40:56 +0000 (20:40 +0000)]
Activate boot2.

25 years agoCorrect braino in previous commit. I get the pointy hat again.
des [Wed, 14 Oct 1998 20:23:40 +0000 (20:23 +0000)]
Correct braino in previous commit. I get the pointy hat again.

25 years agoMake execl() vfork()-safe. This should fix potential bugs in rcp,
des [Wed, 14 Oct 1998 18:53:36 +0000 (18:53 +0000)]
Make execl() vfork()-safe. This should fix potential bugs in rcp,
telnet and tip, and probably a few other apps.

Reviewed by: bde
Approved by: jkh

25 years agoRevert 1.33; lstat() is indeed the wrong thing to do here. I'll
jkh [Wed, 14 Oct 1998 18:52:04 +0000 (18:52 +0000)]
Revert 1.33; lstat() is indeed the wrong thing to do here.  I'll
revisit this after release.

25 years agoAndrew Gallatin reported some internal queue overflows with MAXISPREQUEST
mjacob [Wed, 14 Oct 1998 16:55:00 +0000 (16:55 +0000)]
Andrew Gallatin reported some internal queue overflows with MAXISPREQUEST
at 256. So- to be safe, let's roll back to 64 while we do some more
investigating.

25 years agoCheck the executable's header to make sure it is a valid executable.
jdp [Wed, 14 Oct 1998 16:16:50 +0000 (16:16 +0000)]
Check the executable's header to make sure it is a valid executable.
If it is ELF, print a diagnostic saying that it is not supported yet
by this program.  This is a stop-gap anti-bug-report measure because
it looks like there won't be time to implement gcore's ELF support
before 3.0 is released.

25 years agoBacked out rev. 1.164. It caused problems on SMP.
dt [Wed, 14 Oct 1998 15:05:52 +0000 (15:05 +0000)]
Backed out rev. 1.164. It caused problems on SMP.

PR: 8309

25 years agoLink fdboot to boot1 as well.
peter [Wed, 14 Oct 1998 13:19:52 +0000 (13:19 +0000)]
Link fdboot to boot1 as well.

25 years agoUse properties code.
jkh [Wed, 14 Oct 1998 11:23:48 +0000 (11:23 +0000)]
Use properties code.

25 years agocorrect prototype.
jkh [Wed, 14 Oct 1998 11:04:36 +0000 (11:04 +0000)]
correct prototype.

25 years agoUse more rational inode sizes.
jkh [Wed, 14 Oct 1998 10:58:12 +0000 (10:58 +0000)]
Use more rational inode sizes.

25 years agoFixed 7 style bugs. The contents of such a simple Makefile is entirely
bde [Wed, 14 Oct 1998 10:21:10 +0000 (10:21 +0000)]
Fixed 7 style bugs.  The contents of such a simple Makefile is entirely
determined by style rules, the program name and the existence of the man
page.

25 years agoFix a warning I missed before.
peter [Wed, 14 Oct 1998 10:08:35 +0000 (10:08 +0000)]
Fix a warning I missed before.

25 years agoTypo fix.
peter [Wed, 14 Oct 1998 10:04:32 +0000 (10:04 +0000)]
Typo fix.

25 years agoInitial attempt to update the Alpha loader and kernel to use the machine
peter [Wed, 14 Oct 1998 09:53:25 +0000 (09:53 +0000)]
Initial attempt to update the Alpha loader and kernel to use the machine
independent elf loader and have access to kld modules.  Jordan and I were
not sure how to create boot floppies, and the things we tried just made
SRM laugh in our faces - but it was upset at boot1 which was not touched
by these changes.  Essentially this has been untested. :-(

What this does is to steal the last three slots from the nine spare longs
in the bootinfo_v1 struct to pass the module base pointer through.

The startup code now to set up and fills in the module and environment
structures, hopefully close enough to the i386 layout to be able to use
the same kernel code.  We now pass though the updated end of the kernel
space used, rather than _end. (like the i386).

If this does not work, it needs to be beaten into shape pronto.  Otherwise
it should be backed out before 3.0.

Pre-approved in principle by: dfr

25 years agorough 1st attempt at cleaning this up. Those feeling brave/knowledgable about
jkh [Wed, 14 Oct 1998 08:54:03 +0000 (08:54 +0000)]
rough 1st attempt at cleaning this up.  Those feeling brave/knowledgable about
upgrade issues should also check the section created for this.

25 years agoRevert part of previous commit. vaddr_t doesn't exist on FreeBSD. This
peter [Wed, 14 Oct 1998 08:31:27 +0000 (08:31 +0000)]
Revert part of previous commit.  vaddr_t doesn't exist on FreeBSD.  This
didn't affect the x86 kernel due to #ifdefs.  It broke FreeBSD/Alpha
kernel compiles though.

25 years agoTry and get the sys/* and machine/* includes via relative paths. This
peter [Wed, 14 Oct 1998 07:08:16 +0000 (07:08 +0000)]
Try and get the sys/* and machine/* includes via relative paths.  This
saves having to do a 'make includes' after touching any header file for
the boot code.

25 years agoAdd man pages for many of the functions in the CAM library. This covers
ken [Wed, 14 Oct 1998 06:20:36 +0000 (06:20 +0000)]
Add man pages for many of the functions in the CAM library.  This covers
most of the open/close routines, and the buffer/cdb parsing routines
derived from the old scsi(3) library.

The cam_cdbparse(3) man page borrows from the old scsi(3) man page, so the
copyright and history section reflect that.

The many scsi_* functions and other functions that are pulled in from the
kernel aren't documented yet, but will be eventually.

25 years agoAlign to sizeof(long) rather than sizeof(int32_t). It needs to be
peter [Wed, 14 Oct 1998 05:07:23 +0000 (05:07 +0000)]
Align to sizeof(long) rather than sizeof(int32_t).  It needs to be
long because this code is shared with the alpha.  I hope the alpha can
read 32 bit ints at 32 bit alignment (vs. 64 bit alignment).

25 years agoSupport encapsulating ELF linker sets for KLD modules via gensetdefs.
peter [Wed, 14 Oct 1998 04:04:22 +0000 (04:04 +0000)]
Support encapsulating ELF linker sets for KLD modules via gensetdefs.
Support name based dependencies at build time.  This is a hack.
These only affect KLD modules.

25 years ago+gensetdefs
peter [Wed, 14 Oct 1998 03:41:25 +0000 (03:41 +0000)]
+gensetdefs

25 years agogensetdefs is a standalone version of the tool that we use to wrap a
peter [Wed, 14 Oct 1998 03:41:01 +0000 (03:41 +0000)]
gensetdefs is a standalone version of the tool that we use to wrap a
struct linker_set around the contents of ELF linker sets.  This tool
also generates setdef0.c and setdef1.c for the alpha and i386 rather than
having these duplicated all over the tree too.

This is required for building KLD modules.