Commit Graph

24997 Commits

Author SHA1 Message Date
cgd
de97b4a289 stdlib.h for malloc() prototype 1997-01-24 02:16:22 +00:00
cjs
27e0e2605f sendmail 8.8.5 1997-01-24 01:53:10 +00:00
cgd
21ad990583 reorganize Alpha boot block sources: put common sources in a 'common'
directory (so they don't clutter up the arch/alpha/stand), and put
not-common sources in programs' directories.
1997-01-24 01:52:35 +00:00
cgd
ce93ba490a kill unnecessary newline 1997-01-24 01:46:46 +00:00
pk
4364fc8f2c Adapt to sys/lib/lib{sa,kern}/Makefile.inc changes 1997-01-24 01:18:22 +00:00
pk
0a5eeae37c ::' => :' ; per recent sys/lib/*/Makefile.inc changes. 1997-01-24 00:58:20 +00:00
cgd
192e22f5b7 isonum_722 and isonum_732 are now back in iso.h 1997-01-24 00:53:40 +00:00
cgd
40a9eb327d fix typo 1997-01-24 00:46:49 +00:00
cgd
8e5fecbb35 add back isonum_7{21,22,31,32} functions. If we're going to define some of
these, we should define all, because there might be code elsewhere
that needs them (in this case, libsa).  Add comments that describe the
data types that the isonum_* functions access.
1997-01-24 00:44:40 +00:00
cgd
6f0de181b1 update for iso.h changes which remove the need for the nastiness that was here 1997-01-24 00:29:19 +00:00
cgd
9586277088 update for iso.h/cd9660_extern.h header changes 1997-01-24 00:27:29 +00:00
cgd
18ed614151 split iso.h into two parts: iso.h (which now contains _only_ definitions
about ISO9660 file system structure), and cd9660_extern.h (which now
contains the definitions and data structures used by the kernel).
There's lots of other stuff scattered around this code that should go
into cd9660_extern.h, but doesn't need to right now.  This changed patterned
on ffs, which has 'fs.h' which describes the FS structure, and ffs_extern.h
for kernel-internals gunk.  Now libsa can include iso.h without the nasty
hack that was there before.

Also, clean up the isonum_* definitions so that the #ifdefs aren't
impossibly spread apart.  (Now the #ifdefs are _in_ the functions.  This
leads to #ifdefs that are only a few lines long, rather than a few _pages_
long, as well as a reduction of duplication of function headers, etc.)
Note that isonum_7{21,22,31,32} are currently missing.
1997-01-24 00:26:31 +00:00
cgd
c6b52a9608 split iso.h into two parts: iso.h (which now contains _only_ definitions
about ISO9660 file system structure), and cd9660_extern.h (which now
contains the definitions and data structures used by the kernel).
There's lots of other stuff scattered around this code that should go
into cd9660_extern.h, but doesn't need to right now.  This changed patterned
on ffs, which has 'fs.h' which describes the FS structure, and ffs_extern.h
for kernel-internals gunk.  Now libsa can include iso.h without the nasty
hack that was there before.
1997-01-24 00:24:53 +00:00
gwr
8d9bb0e996 Use <machine/machdep.h> 1997-01-24 00:09:34 +00:00
gwr
f13a8dfcb5 Use <sun3/sun3/sunmon.h> 1997-01-23 23:58:05 +00:00
gwr
a4a29b13a7 Use <machine/machdep.h> 1997-01-23 23:54:26 +00:00
cgd
ac467d58e8 Set LOADADDRESS makeoption so that these kernels can be net-booted.
This is a waste of memory, but is useful in GENERIC kernels.
1997-01-23 23:21:40 +00:00
cgd
1fca013b1e add support for reading gzipped kernels. 1997-01-23 23:10:34 +00:00
cgd
8afda473db update for new kernel library Makefile.inc expectations 1997-01-23 23:07:56 +00:00
cgd
78d5e815bf clean up substantially. Transform clean, depend, cleandir targets from ::
to :, so they can be used e.g. with <bsd.prog.mk>.  Standardize variable
names used to configure kernel libraries.

Variables used by these Makefile.inc's are:

S               must be set to the top of the 'sys' tree.
${LIB}DST       may be set to the location of the directory where library
                objects are to be built.  Defaults to ${.OBJDIR}/lib/${lib}.
${LIB}_AS       may be set to 'obj' to build a object from the library's
                object files.  (Otherwise, a library will be built.)
                Defaults to 'library'.
${LIB}MISCMAKEFLAGS
                Miscellaneous flags to be passed to the library's Makefile when
                building.  See library's Makefile for more details about
                supported flags and their default values.

(where LIB is COMPAT, and lib is compat, in this case.)
1997-01-23 22:58:26 +00:00
gwr
5f36c62a33 Moved to ../include so we can refer to it as <machine/machdep.h> 1997-01-23 22:55:22 +00:00
gwr
57d849b787 Use <machine/machdep.h> and <sun3/sun3/sunmon.h>
Pull in some updates from the hp300 version.
Use _pmap_fault in place of vm_fault so that this
file can be shared with the sun3 (but not yet).
1997-01-23 22:52:46 +00:00
cgd
da19248f54 actually, include a file for fd/fdc, so that the flag file gets generated. 1997-01-23 22:50:52 +00:00
gwr
c0170a476f Use <machine/machdep.h> and <sun3/sun3/sunmon.h> 1997-01-23 22:48:40 +00:00
gwr
d33b4cd423 Load the root pointer using VM_PMAP_MMUCRP
Also rename nodb_trap to _nodb_trap
1997-01-23 22:47:36 +00:00
cgd
67df040efd update for new kernel library Makefile.inc rules 1997-01-23 22:47:31 +00:00
gwr
73234aa5f6 Use <machine/machdep.h> 1997-01-23 22:44:43 +00:00
gwr
04f1ba99a2 Remove PCB_MMUCRP, add VM_PMAP_MMUCRP and VM_PMAP_A_TMGR 1997-01-23 22:40:38 +00:00
gwr
906e75c72b Use <machine/pte.h> and <sun3/sun3/sunmon.h> 1997-01-23 22:37:21 +00:00
gwr
18c5058065 Now pulled from <sun3/sun3/*> 1997-01-23 22:33:21 +00:00
cgd
1c88f56c26 update for new kernel library build process 1997-01-23 22:31:32 +00:00
gwr
12e2d4d8f7 Replace the intersil7170 stuff with mostek48t02 stuff.
XXX: Still need to move date conversion functions to
XXX: libkern or somewhere...
1997-01-23 22:30:15 +00:00
cgd
3ca5f41d59 clean up substantially. Transform clean, depend, cleandir targets from ::
to :, so they can be used e.g. with <bsd.prog.mk>.  Standardize variable
names used to configure kernel libraries.

Variables used by these Makefile.inc's are:

S		must be set to the top of the 'sys' tree.
${LIB}DST	may be set to the location of the directory where library
		objects are to be built.  Defaults to ${.OBJDIR}/lib/${lib}.
${LIB}_AS	may be set to 'obj' to build a object from the library's
		object files.  (Otherwise, a library will be built.)
		Defaults to 'library'.
${LIB}MISCMAKEFLAGS
		Miscellaneous flags to be passed to the library's Makefile when
		building.  See library's Makefile for more details about
		supported flags and their default values.

(where LIB is KERN, SA, or Z, and lib is kern, sa, or z, depending on which
library's Makefile.inc is being discussed.)
1997-01-23 22:29:07 +00:00
gwr
8b175f2050 Move a bunch of stuff to sun3/sunmon.c where we can share it. 1997-01-23 22:27:29 +00:00
gwr
06655500a0 Wrap prototypes with ifdef _KERNEL 1997-01-23 22:25:56 +00:00
gwr
f91c597e92 Add <machine/pte.h> and the new pm_mmucrp member of struct pmap.
Kill macros PMAP_ACTIVATE and PMAP_ACTIVATE (not used).
Add macro _pmap_fault for use in trap.c
1997-01-23 22:24:04 +00:00
gwr
c511347b0e Make this once again identical to the hp300 version.
Perhaps this should exist as <m68k/include/pcb.h>
1997-01-23 22:21:50 +00:00
gwr
ac1ed5ffbb Use <machine/machdep.h> 1997-01-23 22:20:16 +00:00
cgd
2ce4559663 clean up variable use, standardize with other kernel library Makefiles.
rename 'NO_NET' variable to SA_INCLUDE_NET, which defaults to 'yes' but can
be set differently.  kill EXTRACFLAGS, add SACPPFLAGS (generated from
CPPFLAGS by Makefile.inc) to CFLAGS.  Add support for including gzipped-file
read support, enabled by setting SA_USE_CREAD to yes (defaults to no).
1997-01-23 22:19:56 +00:00
gwr
97a36f083a Get sunmon.c and intreg.c from arch/sun3/sun3 1997-01-23 22:18:35 +00:00
gwr
05bbc1f7ee Rename members of struct mmu_rootptr, and add a comment. (From Jeremy) 1997-01-23 22:15:41 +00:00
gwr
71e3895587 Moved this to <machine/machdep.h> (via repository copy)
and made some minor adjustments.
1997-01-23 21:23:51 +00:00
cgd
2ea81b29dd parens around macro value. (oops!) 1997-01-23 19:13:56 +00:00
is
c3b56cd6af Added libboot.a to the CLEANFILES. 1997-01-23 15:38:15 +00:00
mrg
9cd5492c02 - convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
- some KNF.
1997-01-23 14:01:45 +00:00
lukem
dff93f1d73 (this shouldn't have been in the main trunk) 1997-01-23 12:25:22 +00:00
veego
0a1897f82f Change on printf to remove duplicated informations and add a \n. 1997-01-23 11:42:44 +00:00
mikel
37ee5d07f0 xref lseek(2) instead of seek(2); PR lib/2750
also note fpos_t/off_t discrepancy.
1997-01-23 08:10:04 +00:00
mikel
62eb1738e8 include <sys/cdefs.h> for K&R C and C++ friendliness; PR lib/2836 1997-01-23 07:01:50 +00:00
mikel
8cd71f8b62 eliminate duplicate paragraph and fix typos; PR misc/3128 1997-01-23 06:34:39 +00:00