lukem
6c986561ee
* add commented out DDB_HISTORY_SIZE=100 if DDB exists in config file
...
* fix up use of 'options<SPACE><TAB>'
1997-11-17 01:57:23 +00:00
thorpej
ce4c770f88
Make sure CPP, AR, AS, and RANLIB are defined.
1997-11-12 23:11:50 +00:00
thorpej
a421995756
Define LORDER, NM, and TSORT here, like we do the rest of the tools.
1997-11-12 22:25:31 +00:00
jonathan
9dee06e184
Add px placebo driver to standard pmax options.
1997-11-10 08:26:33 +00:00
jonathan
bf4f202e7c
Merge MINIROOT and NFSINSTALL into a single INSTALL config file,
...
with config lines for both root-on-disk and root-on-NFS.
1997-10-20 03:50:05 +00:00
jonathan
8061da06c9
Add "options COMPAT_12".
1997-10-20 03:45:08 +00:00
thorpej
f77f4e6084
The MIPS toolchain generates ELF. Don't pretend like it generates a.out
...
by renaming "netbsd" to "netbsd.elf", and then creating an a.out image
called "netbsd".
Instead, create _both_ ECOFF and a.out versions of the kernels, named
"netbsd.ecoff" and "netbsd.aout" respectively, and drop the ".elf"
from the ELF kernel.
(And, with any luck, the a.out hack will go away completely Very Soon.)
1997-10-08 21:26:16 +00:00
christos
7f41ec0345
PR/4162: Chris Jones: make cleandir does not work properly; it does not
...
remove the object files and the .depend file in the kernel build directory.
1997-09-30 22:50:53 +00:00
bouyer
6f3bab1f59
Merge scsipi branch in the mainline. This add support for ATAPI devices
...
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.
1997-08-27 11:22:52 +00:00
mjacob
6ac7f6248f
add a before tab to SCSIVERBOSE
1997-08-23 19:16:06 +00:00
mjacob
1a7afa3853
add commented out reference SCSIVERBOSE option
1997-08-20 18:38:13 +00:00
jonathan
43bc0b92d2
Turn DDB on by default in GENERIC kernel; turn DDB_ONPANIC off.
...
Remove obsolete comments.
1997-08-20 04:33:04 +00:00
jonathan
d2ecd3da2a
update based on NFSINSTALL.
1997-08-20 04:22:41 +00:00
jonathan
378facc384
consistent whitespace after "options".
1997-08-20 04:21:28 +00:00
mhitch
dfca3a7721
Add disk and tape devices for a second ASC SCSI option card.
1997-07-29 00:54:22 +00:00
mhitch
cd0f6f6375
Add the PMAZ SCSI option.
1997-07-28 21:37:38 +00:00
jonathan
c5be7fca38
NEWCONF was prototype ``new config'' pmax kernel config file. Now obsolete.
1997-07-22 08:54:40 +00:00
jonathan
3234955c06
Identical to NFSINSTALL, bar comments.
1997-07-22 08:49:56 +00:00
jonathan
e8414333ac
Merge NFSROOT and NFSINSTALL.
1997-07-22 08:49:11 +00:00
jonathan
064c4e515c
Create sys/dev/dec and cleanup sys/dev/tc:
...
* Move clockvar.h (header file for generic clock code) to sys/dev/dec.
* Move if_le_dec.c with DEC padded LANCE-dma (pmax/pmax, ioasic, vax 3400)
to sys/dev/dec. Remove from sys/dev/tc.
* Declare attribute le_dec_subr in /sys/dev/dec/files.dec,
use if_le_dec.c when it's defined.
* Move IOCTL asic declaration from pmax and Alpha MD machine
files to sys/dev/tc/files.tc.
* move TurboChannel and ioasic if_le attachments from pmax and Alpha machine
config files to /sys/dev/tc/files.tc. Add le_dec_subr attribute.
* Add if_le_dec attribute to if_le_ibus (pmax ds3100 pmax) LANCE attachment.
1997-07-22 04:32:13 +00:00
jonathan
592eeb7378
mips-tuned bcopy from Jon Kay (UCSD) released under BSD copyright,
...
with standard BSD in_cksum() interface by Jonathan Stone.
1997-07-20 22:42:33 +00:00
leo
198bd713f2
Generate assym.h dependencies when making 'depend'.
1997-07-12 22:07:36 +00:00
jonathan
d2faa7a82b
Set kernel text start address in port-specific Makefile, not ldscript.
1997-06-23 02:40:28 +00:00
jonathan
89868a5f07
Import mcclock from NetBSD/Alpha, mostly replacing the Sprite clock code.
...
interface. From Toru Nishimura <nisimura@itc.aist-nara.ac.jp>.
Partly merged back with Alpha code by Jonathan Stone. Needs more merging.
1997-06-22 09:34:34 +00:00
jonathan
4692a37162
Final changes for configuring MIPS1 and MIPS3 in a single kernel.
...
* cpuregs.h:
rename remaining VMMACH_xxx TLB macros to MIPS_TLB_xxx.
Add compile-time MIPS3-only, compile-time MIPS1-only, and
runtime (both) definitions for number of TLB ASIDs (tlb pids)
and shift count to extract a TLB pid.
* locore.h:
Delete unused vector slot for indexed TLB writes.
mips1 and mips3 TLBs are different enough that we have
to break them out at the caller anyway.
* Add compile-time MIPS3-only andcompile-time MIPS1-only
macros to call locore functions directly by name.
Use the existing method table only if
* mips/mips_machdep.c, mips/trap.c, mips/pmap.c, pmax/machdep.c:
Use MIPS3_ or MIPS1_ specific names for TLB pids in
mips3 and mips1 specific code paths (e.g., creating the kernel stack
for process 0).
Add `options MIPS3' to pmax/conf/GENERIC.
1997-06-22 03:17:37 +00:00
jonathan
8e5f767c50
Use generic MIPS pmap vm_machdep.c
1997-06-16 00:35:10 +00:00
mhitch
56b72a34f3
Since locore_r2000.S and locore_r4000.S are included by locore.S, they need
...
to be included in the dependency list for locore.o.
1997-06-15 16:27:47 +00:00
mhitch
d2ce63e3bc
DECstation MIPS3 support: a GENERIC config file for the R4000/R4400-based
...
DECstations.
1997-06-15 16:21:19 +00:00
jonathan
957e3b4622
Turn on -Wall -Weror and -Wstrict-prototypes -Wmissing-prototypes.
...
Turn off warnings for uninitialized variables to avoid spurious warnings.
1997-06-15 01:20:59 +00:00
mrg
1258c8d25b
remove now obsolete "swap on..." lines.
1997-06-12 18:41:58 +00:00
jonathan
19e4111ef7
Move the mips sys_machdep.c from pmax/pmax to mips/mips, to enforce a
...
common sysarch on all mips ports.
1997-06-09 02:14:56 +00:00
jonathan
3844d313b1
Add CD9660 and PROCFS filesystems. Sort filesystem options.
...
Add tun, and reorder pseudo-devices to match other systems' GENERIC config.
1997-06-01 08:44:57 +00:00
mhitch
ad9b4015c2
Comment out the dc0 at mainbus0: that attempts to include the DS3100 dc
...
device attachment. The 3max dc0 device attaches to the pretended IOASIC.
1997-05-31 20:45:07 +00:00
mhitch
fe468f64bc
Include pm_ds.c if pm_ds, not dc_ds - dc_ds gets set for the 5000/200 as
...
well as the 3100, but trying to include pm_ds.c for a 5000/200-only
configuration fails.
1997-05-29 03:08:40 +00:00
mhitch
660cdaec8a
Use the generic root/swap in the model-specific configuration files.
1997-05-29 02:22:27 +00:00
jonathan
8f17cfaec1
Add 'needs-flag' to pmax, 3max dc (DZ-11 clone) front-ends (dc_ds, dc_ioasic
...
respectively), so console setup code can test forconfiguration of the
correct front-end (via NDC_DC and NDC_IOASIC, respectively).
Delete 'needs-flags' from dc.c. GC obsolete uses of NDC, "dc.h".
1997-05-24 08:19:44 +00:00
jonathan
20e5e29aef
Use a ldscript to work around `features' (not enough section headers)
...
when linking kernels with GNU binutils-2.7 or newer ld.
1997-05-24 05:56:06 +00:00
jonathan
b088f1b7fd
Change default le entry from "le*" to "le0" so GENERIC kernels
...
configure the pmin/pmax (2100/3100) baseboard ethernet as le0, not le1.
1997-05-20 08:36:42 +00:00
jonathan
a72c2263f5
Change `needs-count' on scc to `needs-flag': should have been `needs-flag'
...
since rev 1.18 of pmax/tc/scc.c.
1997-05-15 04:42:12 +00:00
jonathan
3480029167
Add `offset' locator to ioasic-attached devices, for compatibility with
...
the ioasic_submatch() used in drivers shared by pmax and alpha ports.
1997-05-15 00:43:22 +00:00
jonathan
45d369d5fb
Ted Lemon's (RR 3540) cross-compilation patch: use ${SIZE} instead of size,
...
Also add "SIZE=? size", so that native kernel compiles work, too.
1997-04-26 02:20:59 +00:00
jonathan
55a34d0cf4
Add "options MIPS1" and delete commented-out lines inherited from GENERIC.
1997-04-26 01:35:41 +00:00
jonathan
ab9bbd64d6
Use genassym.sh script to make assym.h, for cross-compiling.
...
Remove dependencies on genassym.
1997-03-16 11:54:03 +00:00
jonathan
d01b866f0c
Build kernel object files with -mno-abicalls and -mno-half-pic. (The
...
kernel doesn't support GP-relative addressing, and is statically linked).
Compile genassym without those flags: -mno-abicalls will make it coredump.
1997-03-05 04:41:57 +00:00
jonathan
b57cf6e1ce
Remove obsolete comment. (This config *does* work).
1997-02-28 09:51:21 +00:00
perry
19d153fc48
Nuke some options GENERIC residue.
1997-02-04 04:57:10 +00:00
perry
0b3a46d6b3
Nuke some GENERIC residue.
1997-02-04 04:31:55 +00:00
thorpej
4d7a6cf6dd
Update clean and depend rule for kernel make changes.
1997-02-03 07:23:32 +00:00
thorpej
1b341f7e70
Update for new file system and root spec grammar.
1997-01-31 01:59:09 +00:00
perry
b89a3425b7
Eliminate obsolete TIMEZONE and DST options.
...
Eliminate obsolete global kernel variable "struct timezone tz"
Add RTC_OFFSET option
Add global kernel variable rtc_offset, which is initialized by
RTC_OFFSET at kernel compile time.
on i386, x68k, mac68k, pc532 and arm32, RTC_OFFSET indicates how many
minutes west (east) of GMT the hardware RTC runs. Defaults to 0.
Places where tz variable was used to indicate this in the past have
been replaced with rtc_offset.
Add sysctl interface to rtc_offset.
Kill obsolete DST_* macros in sys/time.h
gettimeofday now always returns zeroed timezone if zone is requested.
settimeofday now ignores and logs attempts to set non-existant kernel
timezone.
1997-01-15 01:28:28 +00:00
cgd
38cbb3213c
Fix up includes so that up-to-date versions of 'config' can be used
...
to config pmax kernels. Not all kernels can actually be config'd because
of device declaration problems, but i don't know how to fix those.
1996-12-03 01:18:17 +00:00
jonathan
e038926656
Replace explicit -O2 in CFLAGS with COPTS macro. Default COPTS?= -O2.
...
Lets users over-ride with makeoptions COPTS="..." in kernel config files.
1996-12-01 03:23:04 +00:00
jonathan
80702e3c14
Add KERNLD hook to allow overriding the LD used to link kernels.
...
Set KERNLD to ld.old. gcc binutils 2.7 gets an assert error linking kernels.
1996-11-22 18:53:31 +00:00
jonathan
21ec686bd1
Move non-optional "options" SWAPPAGER, VNODEPAGER, DEVPAGER to std.pmax
1996-11-16 23:10:47 +00:00
jonathan
5c6013d588
Clone a 5000/{120,125,133} config file from the 5000/240 config.
1996-10-16 08:35:49 +00:00
jonathan
3280c75a3d
Update model-specific pmax kernel config files for post-12 config:
...
add arch/pmax/conf/ to includes, options MIPS1, etc.
1996-10-16 08:29:34 +00:00
jonathan
0705c8f480
Kernel configuration file to build kernels for installing on diskful
...
machines, using diskless-boot (NFS root) as the installation method.
Many options turned off to keep kernel small and avoid boot-PROM errors.
1996-10-13 05:57:19 +00:00
jonathan
5a80d438e9
Update pmax config files ``GENERIC'' and ``DSG'' with post-1.2
...
NetBSD-current changes:
* change include paths to be relative to the kernel-source tree
(e.g., `/sys') instead of arch/pmax/conf.
* add explicit options for exec packages (EXEC_ELF32, EXEC_ECOFF
for COMPAT_ULTRIX)
* comment out references to still-unsuppoted MI scsi.
1996-10-13 05:40:44 +00:00
jonathan
bb34d39024
Change pmax port over to using ``mips MI'' trap handler.
1996-10-13 05:28:48 +00:00
jonathan
50201a6c48
Comment out config lines for MI scsi drivers, to make it absolutely clear
...
we don't yet support them.
1996-10-13 05:21:17 +00:00
mhitch
f22ea83247
The dc has to have needs-flag so dc.h gets generated.
1996-10-11 19:58:43 +00:00
mhitch
2d3fc12c2b
Fixed typo on EXEC_ELF32.
...
Newline at end of file was missing.
1996-10-11 19:55:38 +00:00
jonathan
fa2f6c517a
Update pmax GENERIC config to use revamped config files with per-model
...
include files containing model-specific I/O device configuration.
Add more options and devices (ccd, LKM, etc), as appropriate for
documentation and as examples in a "template" GENERIC config file,
even though not all of these work completely yet.
1996-10-02 06:41:13 +00:00
jonathan
15e3cf2814
Add explicit options for elf and script exec packges to std.pmax.
...
Add ECOFF exec option to my own config file; untested.
1996-10-02 05:56:37 +00:00
jonathan
2c2c7c31cb
Add files.pmax entries for separate cfattach front-end and ``MI'' backend
...
drivers:
pm - pmin/pmax d503 PCC + BrookTree 478 framebuffer
dc - dc7085 DZ-11 clone
asc - ioasic and TurboChannel SCSI option card 53c94 SCSI-2
sii - DEC scsi ASIC used in pmin/pmax, 5100, and Firefox vaxes
1996-09-30 08:11:23 +00:00
jonathan
701c775b0b
Update all the include directives to use pathnames relative to the root
...
of the kernel source tree, not the port config directory.
1996-09-30 02:38:17 +00:00
jonathan
0c1b5cd12b
Build and link in locore_machdep.S.
1996-09-30 02:35:34 +00:00
jonathan
75fd343a78
Build locore using merged mips (mips1, mips3) locore source:
...
* Add MIPS make variable pointing at $S/arch/mips
* Build locore from $MIPS/mips locore source
* Build locore.o and fp.o (fp emulation) from arch/mips locore source
* Add target and rules to build pmax-specific locore code locore_machdep.o
from $PMAX/pmax/lcore_machdep.S
1996-09-25 20:41:00 +00:00
jonathan
2ec085cba7
Back out part of revision 1.30:
...
>* Use `-S' rather than `-x' to remove debugging symbols.
because the pmax toolchain and gcc disagree about what is a "local"
symbol, and ld requires a "-x" to let elf2aout build bootable a.out kernels.
1996-09-25 20:35:16 +00:00
jonathan
4a465f05ff
Decstation kernel config file for diskless installation:
...
root and swap on NFS, but includes disk and tape drivers.
Prune out most `optional' options to stay small in the hope of avoiding
PROM tftp bugs.
1996-09-18 14:10:24 +00:00
jonathan
420c045b41
Create broken-out config files for decstation baseboard devices.
...
Add sample config files that use them.
1996-09-18 13:43:37 +00:00
mycroft
b3ffba62a6
Move strip(1) flags into a separate variable, so that $STRIP can
...
be passed to subordinate make(1)s. Remove $TOUCH. Add HOSTED_CC,
HOSTED_CPPFLAGS, and HOSTED_CFLAGS, and use them when depending genassym.
1996-09-09 21:06:55 +00:00
mycroft
30a617c634
Wrap the default definition of `S' in `.ifndef'.
1996-08-31 21:40:47 +00:00
jonathan
703e546127
Add mrg's "options COMPAT_12" back into the trunk.
1996-08-28 05:50:59 +00:00
jonathan
18db5ea067
* Rename miniroot GENERIC kernel to GENERIC
...
* Add changes needed/used to build 1.2 GENERIC kernel:
* Delete obsolete and ambiguous DS5000 option.
* Add CPU_R3000 which is now required to compile in mips1 locore support.
* Add an explicit declaration of HZ.
* back out COMPAT_12 for this revision.
1996-08-28 05:49:35 +00:00
mrg
b8e9f36083
add COMPAT_12.
1996-08-26 23:39:36 +00:00
mycroft
558d72128e
Put into . Remove hooks for `config-dependent' and
...
`device-driver' flags.
1996-08-12 00:51:24 +00:00
mycroft
cf67f29afe
* Add a HOSTED_C_C variable, which strips `-p', `-pg', and
...
`-nostdinc', and use it when building genassym.
* Use `-nostdinc' just to be sure we're self-contained.
1996-08-10 06:07:57 +00:00
mycroft
f94052ed3a
* Define CWARNFLAGS and MKDEP in some moderately consistent fashion.
...
* Make S expand to an absolute path at compile time.
* Use `-S' rather than `-x' to remove debugging symbols.
* Garbage collect unused variables.
* Reverse a handful of port-specific changes that do not correspond to
the common build model and are not needed.
1996-08-10 05:29:24 +00:00
mhitch
9d8526a68d
Use the MI LANCE drivers - the pmax-specific one no longer compiles.
1996-05-29 06:05:05 +00:00
mhitch
a2d094fb48
Fixes to make kernel compile: HZ is required to be defined and CPU_R3000
...
is needed to include R3000 support. Also change the le0 to le* for the
3100 LANCE so it configures properly.
1996-05-29 06:01:13 +00:00
mhitch
9aa945f3c4
Also use genassym.c from sys/arch/mips/mips for make depend.
1996-05-19 22:44:12 +00:00
jonathan
b6a3c3255f
Use genassym.c from sys/arch/mips/mips.
1996-05-19 17:17:48 +00:00
mycroft
540f9550c0
Make `make depend' work for libraries.
1996-05-11 16:11:30 +00:00
thorpej
b97689cdfb
Make the MI LANCE driver standalone, and use cfattach to resolve
...
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.
1996-05-07 01:16:36 +00:00
jonathan
449a7f5b59
Remove files moved to mips/mips; they are included in mips/conf/files.mips.
...
Add the pmax-specific portion of trap handler, pmax/pmax_trap.c, which
was split off from pmax/trap.c.
1996-03-26 12:21:39 +00:00
jonathan
5d4883f9ed
Add "mips" to the machine line, to make config create a link
...
compile/XXXX/mips -> mips/include, and to use mips/conf/files.mips.
1996-03-20 01:17:06 +00:00
cgd
94907fa254
adjust to deal with expression support for optional file specs
1996-03-17 13:21:09 +00:00
cgd
1f7332bada
fix typo in recent attachment changes: (interface) attributes for asc
...
specified twice.
1996-03-17 06:09:10 +00:00
thorpej
77abd102b7
New device attachment scheme:
...
- split softc size and match/attach out from cfdriver into
a new struct cfattach.
- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.
1996-03-17 01:38:52 +00:00
cgd
3d67685d36
Do not build vnode_if.[ch] for each kernel. Build them once, like the
...
various syscall sources/headers, and just compile them. From PR 2142, OK'd
by mycroft.
1996-02-29 20:54:58 +00:00
mycroft
2ce52ae489
Define build programs with `?=', so they can be overridden with `makeoptions'.
1996-02-26 02:53:20 +00:00
jonathan
d25690e30a
Propagate changes from cfb driver to not require "needs-count" to other
...
pmax framebuffer drivers.
1996-02-15 19:13:08 +00:00
mycroft
753fe3a25a
Fix mkdep problems due to missing flags.
1996-02-09 02:21:13 +00:00
jonathan
600a82037b
A semicolon was missing from the SYSTEM_LD_TAIL stanza that converts
...
from elf to netbsd a.out, causing the mv to fail; add one.
1996-02-04 07:08:38 +00:00
mycroft
5bc076e17e
Use `-traditional-cpp' when building .s and .S files.
1996-02-03 00:43:50 +00:00
mycroft
dcd66e9f4d
Clone these, and fix many bugs.
1996-02-02 20:08:17 +00:00
mycroft
88e512b693
LOCORE -> _LOCORE
1996-02-01 22:28:24 +00:00
jonathan
4c0067c40b
Remove config.old files for pmax. They should have been removed before
...
the NetBSD-1.1 release, as they have not worked or been supported for
some time.
1996-01-30 05:18:55 +00:00
thorpej
57219ebad3
Remove vnode_if.[ch] during a "make clean", per PR#536 from
...
Dan Carosone <danielce@ee.mu.oz.au>.
1996-01-14 21:06:47 +00:00