Commit Graph

24980 Commits

Author SHA1 Message Date
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
mikel
f5a8ade241 return 0 on successful exit, compare getopt() result to -1 instead of EOF. 1997-01-23 06:29:05 +00:00
mikel
2e5a49b4b6 fix typo in Napoleon's name 1997-01-23 06:06:29 +00:00
mrg
3771fb912e set transflag to 0 in dologout, to prevent a SIGURG taking us back to the main loop. 1997-01-23 05:57:55 +00:00
mikel
7f50ef911a eliminate possibility that execle() will be called with one too many
arguments.
1997-01-23 05:48:06 +00:00
cgd
4f2317d97b add ELF support. tested on an alpha (64-bit ELF), but compiled with both
32- and 64-bit ELF support.
1997-01-23 05:43:29 +00:00
mikel
ce6705faed replace <sys/types.h> with <unistd.h> and fix type of brk();
PRs 2938 and 3132.
also added xref to mmap(2).
1997-01-23 05:32:52 +00:00
cgd
4790c9bc3d note that -k/-f should be give C names. note what i've done 1997-01-23 05:28:50 +00:00
cgd
4a4977d054 clean up formatting glitches (bogus newlines in source) 1997-01-23 05:14:37 +00:00
cgd
d2fff4533c change the keep list (in_keep_list()) semantics: now keep list is C labels 1997-01-23 05:13:00 +00:00
cgd
20741c52e9 give crunchide a C label name with -k, since crunchgen really doesn't
want to have to care about the object format in use, and C label prefix
is object format dependent.
1997-01-23 05:07:22 +00:00
cgd
9e2f98f172 clean up formatting glitches (bogus newlines in source) 1997-01-23 05:03:49 +00:00
jeremy
d0ba6f78a0 Fixed leap year bug. (Doesn't happen until 2100, but still important.) 1997-01-23 04:13:39 +00:00
thorpej
e256e03227 Arrange the code that sets the options flags such that the user can
completely override the defaults (including disabling DMA) in the
kernel config file.
1997-01-23 02:11:23 +00:00
mhitch
808f2c3ec1 The mfb driver uses struct fbinfo for the device data, but was only allocating
memory for struct device.
1997-01-23 01:54:09 +00:00
jtk
43130f9be2 apply typo fix per misc/3134 (from Thorsten Frueauf) 1997-01-23 00:31:14 +00:00
cgd
b78496eee9 add ECOFF, ELF32, and ELF64 recognition code. Right now, when
you try to hide symbols in these kinds of files, an error message
is printed noting that the executable format is not supported.
1997-01-22 23:57:18 +00:00
cgd
d7b9b1a503 dd the various #defines/#ifdefs for ECOFF support. ECOFF will
probably never be completely supported here (since its internal vs.
external symbol handling is so annoying), but at least we can recognize
the ECOFF binaries and print something useful, on machines that use
them.
1997-01-22 23:53:58 +00:00