Commit Graph

15195 Commits

Author SHA1 Message Date
gwr
3cf095df8d The sunmon_* declarations are now in machdep.h 1997-01-27 22:55:07 +00:00
gwr
9f0e342d0c Now getting these from arch/sun3 1997-01-27 22:51:40 +00:00
gwr
5f1abbe73b Add OBIO_EMULEX_SCSI 1997-01-27 22:42:44 +00:00
gwr
7f16997d26 Replace sunmon.h with machdep.h 1997-01-27 22:35:03 +00:00
gwr
2e2e2a855c Change "machdep.h" to <machine/machdep.h> 1997-01-27 22:33:34 +00:00
gwr
c1ccab6daa Get trap.c, vector.c from arch/sun3/sun3 1997-01-27 22:26:50 +00:00
gwr
8fddc5d688 Kill sunmon.h 1997-01-27 22:24:03 +00:00
gwr
55cc627131 Let bus_mapin return void* 1997-01-27 22:23:38 +00:00
gwr
0352f52a7a Kill sunmon.h; add sun "code names" (Hydra, Pegasus). 1997-01-27 22:22:51 +00:00
gwr
21da6a34c0 Add machdep.h; use sunmon_abort() instead of mon_exit_to_mon(). 1997-01-27 22:16:37 +00:00
gwr
39d7966a63 Kill sunmon.h 1997-01-27 22:15:06 +00:00
gwr
530f35200b kill type cast 1997-01-27 22:14:19 +00:00
gwr
317b22ec3f Let bus_mapin() return void * 1997-01-27 22:12:27 +00:00
gwr
4a4af629f2 Just declare the sunmon_* functions here. No need for sunmon.h 1997-01-27 22:09:50 +00:00
gwr
46cb437677 Nuke sunmon.h, add machdep.h 1997-01-27 21:57:44 +00:00
gwr
cdac61715c Just declare the sunmon_* functions here. No need for sunmon.h 1997-01-27 21:48:37 +00:00
pk
772b81afe0 In cpu_startup(), after configure() returns, re-zero proc0's user area.
This largely nullifies the effect of proc0's stack running into the
user area during auto-configuration.
1997-01-27 21:18:17 +00:00
gwr
9d2ab17c95 Include <sun3/sun3/vector.h> 1997-01-27 20:54:14 +00:00
gwr
ca8e9852d2 Use sunmon_abort() instead of mon_panic(), etc. 1997-01-27 20:50:36 +00:00
gwr
c8b0ad744c Changed "machdep.h" to <machine/machdep.h> 1997-01-27 20:43:51 +00:00
gwr
feaca6a0df Let idprom_init() have void return. 1997-01-27 20:36:50 +00:00
gwr
9b52402303 Use sunmon_abort() instead of mon_panic()
Let idprom_init() have void return.
1997-01-27 20:35:58 +00:00
gwr
0942e69a7b Let bus_mapin() return void *; moved machdep.h 1997-01-27 19:56:33 +00:00
gwr
ced023ffd8 Let bus_mapin() return void * 1997-01-27 19:54:53 +00:00
gwr
f8d04bcffb Update comment about si_obio_options 1997-01-27 19:54:06 +00:00
gwr
340699a2b1 Fix copyrights (/s/REGENTS/FOUNDATION/) 1997-01-27 19:40:46 +00:00
gwr
8e207f0cda Eliminate reference to "romp" macro. Moved machdep.h, Fix copyright. 1997-01-27 19:19:59 +00:00
gwr
ded84699df Use stuff from <sun3/sun3/sunmon.h>
Setup the msgbufp here like others.
Do vm_map_protect() on kernel text.
1997-01-27 17:45:50 +00:00
gwr
13cb0851cb Implement _pmap_fault() (does the VA check and calls pmap_fault_reload).
Correct VA range checks in pmap_protect and elsewhere (lower limit of
kernel VA for our purposes is virtual_avail, not VM_MIN_KERNEL_ADDRESS).
Make pmap_activate flush the cache (only if needed).  Fix copyright.
1997-01-27 17:23:31 +00:00
gwr
a2bebc4a6b Sync. with the sun3x version (now the same, so sun3x can use this).
Update exframesize[] array from hp300, comments, misc. cleanup, etc.
Replace machine-dependent section that called pmap_fault_reload()
with a simple call to the new _pmap_fault() macro which does any
of that MD stuff that might be necessary.
1997-01-27 17:19:22 +00:00
gwr
39258ec971 Remove code that is now in sun3/sunmon.c (shared with sun3x)
Rename some functions (remove sun3 prefix).  Fix copyright.
1997-01-27 17:14:34 +00:00
gwr
fe9fba89df Rename some of the sun3-specific things to be closer to the sun3x version.
Call pmap_activate with just one arg (the pmap), and do the cache flush
in there (if needed).
1997-01-27 17:11:36 +00:00
gwr
65e048e41c Reorder to be somewhat more "top-down" (cosmetic).
Fix copyright.
1997-01-27 17:04:12 +00:00
gwr
e22c9eba99 Remove unused PMAP_ACTIVATE/PMAP_DEACTIVATE macros.
Add new _pmap_fault macro used in trap.c
Declare pmap_activate() correctly.
1997-01-27 17:02:14 +00:00
gwr
741b72ec69 Pull out things now declared elsewhere. 1997-01-27 16:58:59 +00:00
gwr
dff67a76a8 Map regs using sizeof(struct lereg1) instead of OBIO_AMD_ETHER_SIZE.
Also fix copyright (s/REGENTS/FOUNDATION/)
1997-01-27 16:57:12 +00:00
gwr
4618767f94 Add sun3/sunmon.c (also kill trailing spaces) 1997-01-27 16:11:11 +00:00
tls
0024ac02cf Correct old inode flag names in comment, and reformat for 80 character screen 1997-01-27 10:30:14 +00:00
leo
eb6f94c925 Print a new-line in attach function. 1997-01-27 10:19:33 +00:00
leo
eaf90deff5 Fix typo's in last commit. 1997-01-27 10:18:33 +00:00
leo
4a5570d41e Make MCLBYTES 2K. 1997-01-27 07:58:09 +00:00
leo
7145c74ac3 Change the type of bus_space_tag_t.
Add the bus_space_(read|write)* functions.
1997-01-27 07:57:12 +00:00
leo
a6b3b4a841 Add option to sleep until ST_DMA becomes available. 1997-01-27 07:54:40 +00:00
leo
dc32e39a7e Use bus_space_tag when calculating the physical address. 1997-01-27 07:53:29 +00:00
leo
a955088aa3 Correct comment. 1997-01-27 07:50:17 +00:00
rat
96653b0aac Add missing #include <isofs/cd9660/cd9660_extern.h> to provide
prototype for 'cd9660_mountroot'.
1997-01-26 22:58:32 +00:00
scottr
b19a7547d4 Forgot PFIL_HOOKS; correct this. Also, organize options less insanely. 1997-01-26 18:41:19 +00:00
hpeyerl
56542666eb fix an *old* booboo where the dma queue wasn't being set in unexpected
case.  Found, fixed, and dictated by jason. (thorpe)
1997-01-26 18:04:10 +00:00
hpeyerl
8cc55c80b6 ::->: :-) 1997-01-26 17:55:52 +00:00
oki
8217cb3f83 Rename in_xxxx to tv_xxxx (Use new ite_tv.c) 1997-01-26 12:17:59 +00:00
oki
dfddf7ddbb - Use New ite_tv.c
- Remove unused ite_in.c and kernel_font.c line
1997-01-26 12:13:46 +00:00
oki
458bd2f101 Use new ite_tv scheme, this file no longer used. 1997-01-26 12:10:45 +00:00
oki
d1c397b214 rewriteten ITE lower routine for x68k Text-Vram frame buffer. 1997-01-26 12:04:54 +00:00
gwr
c19546380b Check interrupt_reg==0, not clock_va (Oops!) 1997-01-26 06:17:07 +00:00
cgd
3573080902 split isasearch (!__BROKEN_INDIRECT_CONFIG) completely off of
isascan (__BROKEN_INDIRECT_CONFIG), and attempt multiple match/attach
of cloning devices in isasearch().  (If a match/attach succeeds for
a cloning device, try it again.)
1997-01-26 03:49:28 +00:00
mark
ec6a28b4c7 Updated for new kernel library Makefile.inc changes. 1997-01-26 02:36:02 +00:00
mark
52ee4f3259 Updated to use the bus space interface. Pullup all the recent changes
to the ISA fd driver including the floppy formatting code.
1997-01-26 02:32:04 +00:00
mark
dfb0662f21 Remove unused variables. 1997-01-26 02:16:44 +00:00
mark
7c2829335f Added prototype for md_match_hook(). 1997-01-26 02:02:09 +00:00
mark
6c06479d1c __P(()) -> __P((void)) on several prototypes to fix compiler warnings. 1997-01-26 01:56:20 +00:00
mark
77ecaec2ca Implement bus space interfaces for set multiple, set region and copy 1997-01-26 01:55:02 +00:00
mark
de7c5e2195 Implement the bus space interfaces for set multiple, set region and copy. 1997-01-26 01:49:01 +00:00
mark
f36384ee92 Removed the cpu specific functions and include <machine/cpufunc.h> instead. 1997-01-26 01:42:48 +00:00
mark
8f52c7afd4 Added prototypes for mainbusprint() and mainbusscan(). 1997-01-26 01:41:01 +00:00
mark
780de160e8 Create a file for all the prototypes for the MD device drivers. 1997-01-26 01:36:56 +00:00
mark
2d1d9a0dcb Include <machine/cpufunc.h> for cpu specific prototypes e.g. tlbflush(). 1997-01-26 01:34:45 +00:00
mark
b2abc423cd Create a separate header file with the prototypes for the functions that
manipulate the cpu and mmu registers.
1997-01-26 01:31:20 +00:00
mark
0449845fb5 Declare the arguments to the function pointers in the interrupt
handler structures.
1997-01-26 01:30:51 +00:00
mark
bf4360262c __P(()) -> __P((void)) on several prototypes to fix some gcc warnings. 1997-01-26 01:25:42 +00:00
scottr
db2c833016 Add LKM, ipfilter 1997-01-25 22:44:08 +00:00
scottr
818ebb4e22 Add `options LKM' 1997-01-25 22:41:40 +00:00
scottr
017d77a9f9 ::\' => :\' ; per recent sys/lib/*/Makefile.inc changes. 1997-01-25 22:39:32 +00:00
gwr
f8d1223fa5 Remove a redundant check of the fault address. 1997-01-25 21:51:11 +00:00
gwr
b805b73cbe Use sunmon_abort() instead of mon_panic(). 1997-01-25 21:47:44 +00:00
gwr
b224329ecd Just return if clock_va is not set.
Use <sun3/sun3/sunmon.h> for abort.
1997-01-25 21:46:19 +00:00
mhitch
447adb9b1c Get rid of unused file: KDASSERT() is now defined in libkern.h. 1997-01-25 16:53:50 +00:00
cgd
981d496969 Change file system file-open semantics slightly: if file system returns
EINVAL, that error code is ignored, leaving whatever other meaningful
error code that might have previously been returned intact.  Stand-alone
file system implementations return EINVAL typically when the file system
is not recognized (i.e. cd9660_open on a UFS file system, ufs_open on a
cd9660 file system, etc.).  This meant that if you had multiple file
systems in a file system switch, the first returned ENOENT (because
it recognized the file system type, but the file wasn't there) and
the second returned EINVAL (because it didn't recognize the file system
type), errno would be set to EINVAL.  Now it'll be set to ENOENT.

It would probably make sense to have file systems return a special
error code to indicate "this file system is unrecognized," which
could then be special-cased, but that's a fair bit more invasive.
1997-01-25 01:13:41 +00:00
cgd
00c2c62911 use strerror() to print errors, rather than just printing error numbers 1997-01-25 01:06:30 +00:00
cgd
da4932bff2 add EINVAL and ENOTDIR, as suggested by Matthias Drochner 1997-01-25 00:37:50 +00:00
thorpej
1392015f6b These files are obsolete (ramdisk -> md). 1997-01-25 00:10:36 +00:00
christos
1a33eecdca const poisoning 1997-01-24 22:13:10 +00:00
christos
2fe3b9727a - increase string space for device class names
- fix the parser so that non-compliant isapnp devices work, and we
  give up when there are too many errors (some on-board pnp sound/atapi/game
  soundblaster compatible card).  reported by chuck cranor
- fix the parser so that configuration tags that come after the
  end-dependencies tag or before the begin-dependencies tag are merged
  in properly (gravis ultrasound). reported by gary duzan
  We now build a tree of card -> logical-dev -> conf, and in the end we
  convert it to a list of conf...
1997-01-24 21:58:34 +00:00
veego
ff217ba6d9 Decrease the delay() in isapnp_wait_status(), 100 was too much. 1997-01-24 21:17:19 +00:00
chuck
16ef494b41 bug fix:
- if aal5 frame has a CRC error then the length field in the aal5 trailer
	may not be valid, so we can not use it [and we must dump the frame]
	[Yuhang Sun <sunyh@dworkin.wustl.edu> & chuck@ccrc.wustl.edu]
1997-01-24 20:58:42 +00:00
cgd
3d6d074161 make isonum_* functions 'static __inline' rather than 'extern __inline' 1997-01-24 18:31:47 +00:00
cgd
e48fd73808 astpending and want_resched are kernel-only 1997-01-24 06:38:37 +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
is
c3b56cd6af Added libboot.a to the CLEANFILES. 1997-01-23 15:38:15 +00:00
veego
0a1897f82f Change on printf to remove duplicated informations and add a \n. 1997-01-23 11:42:44 +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
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
mycroft
318bbe30f5 Increase the delay() in isapnp_wait_status() for slow cards. 1997-01-22 23:51:38 +00:00
mycroft
2cac90cc74 ep* at isapnp? 1997-01-22 23:46:59 +00:00
mycroft
f7709d02b6 Add a frontend for the 3C509B. 1997-01-22 23:44:03 +00:00
mhitch
4fe9d4efee The sfb driver uses the device data, so more than a "struct device" is
needed.  When sfbattach() initializes the fbinfo data, it was corrupting
data past the struct device data actually allocated.  This does not appear
to have caused a problem in the past, but causes a problem with the new
setroot() changes by Jason.
1997-01-22 17:27:54 +00:00
thorpej
b7a5b84750 Treat the nswdev == 0 case like the nswap == 0 case; don't panic, just
report no swap space.  Suggested by Leo Weppleman <leo@netbsd.org>.
1997-01-22 07:28:21 +00:00
mikel
6bd4a3a75f add multiple inclusion protection 1997-01-22 07:09:04 +00:00
mikel
d59edbdc1c regen 1997-01-22 06:54:31 +00:00
mikel
bd71be635d add multiple inclusion protection to generated header 1997-01-22 06:51:59 +00:00
thorpej
e5a9a53136 Back out previous; that was _not_ meant for the trunk! 1997-01-22 06:19:34 +00:00
thorpej
2394f36887 Update for new setroot(). 1997-01-22 06:07:16 +00:00
cgd
25bd886ba9 fix a typo (ZPPFLAGS should have been ZCPPFLAGS) 1997-01-22 01:36:30 +00:00
cgd
ea27b7aa31 Add a whole bunch of features, from Matthias Drochner:
best-fit, rather than first-fit, algorithm.
	ability to handle free()s with zero size (needed for gzip read
	    support).
	ability to start the heap someplace else (defined by HEAP_START).
	ability to limit growth of the heap (via HEAP_LIMIT).
	debugging sanity checks (ifdef DEBUG).
	allocation tracing support, to help debugging (ifdef ALLOC_TRACE).
and from me:
	ability to pick a (smaller) first-fit algorithm (via ALLOC_FIRST_FIT).
	lots of comments.

If heap limits and all of the debugging features are disabled (the default),
and ALLOC_FIRST_FIT is defined (not the default), compiled with -O on the
alpha the new version is the same (object) size as the old version.
1997-01-22 01:18:23 +00:00
cgd
862c1d585c code to open/close/read/lseek gzipped files, from Matthias Drochner. 1997-01-22 00:40:07 +00:00
cgd
21979e8d6b define these functions with an 'o' prepended to their names if
__INTERNAL_LIBSA_CREAD is defined (so that they can be used by the
compressed-read code).
1997-01-22 00:38:09 +00:00
cgd
b581a80665 prototype lseek(). also, prototype oopen(), oclose(), oread(), and olseek()
if __INTERNAL_LIBSA_CREAD is defined.
1997-01-22 00:37:23 +00:00
cgd
e5e4a07022 define names for the ISA floppy disk controller/drives, even though they
aren't supported yet.  (conf.c needs a header for them, since i already
added their device switch table entries.)
1997-01-21 23:45:54 +00:00
cgd
4a81474aaf make load address settable via LOADADDRESS make option 1997-01-21 23:37:10 +00:00
pk
a9142bd25b Drop strchr(), it's in libkern now; we didn't use it anyway. 1997-01-21 21:07:04 +00:00
leo
43795f8930 Don't set the PA_SER2 bit by default, this has the nasty side effect that
it disables the IDE hardware on the Falcon (Thanks Markus ;-) ). A function
is provided to toggle the bit.
1997-01-21 20:41:07 +00:00
leo
c79dcb7c8c Add a 'size' argument to badbaddr(). This is very useful on busses that
only accept certain size accesses on a specific address range. Like the
VME bus.
1997-01-21 20:37:03 +00:00
is
7c2b743adf * make object dirs work:
- move the helper programs txlt and aout2bb to the topmost directory
- build the few files from libsa in the topmost directory

* while doing this, hunted down mysterious code expansion: It seems
that ld aligns code segments differently when linking .o's directly
than when using an archive consisting of the same files. Abuse this
effect to make the bootblock even smaller. The floppy boot block
"fdboot" is now small enough to build; add it back to the Makefile.

* while being here, remove a file which was committed by mistake.
1997-01-21 18:26:07 +00:00
thorpej
b170998941 "md" is declared in sys/conf/files, now. 1997-01-21 09:50:17 +00:00
thorpej
7b40f5228e "md" is declared in sys/conf/files, now. 1997-01-21 09:39:20 +00:00
thorpej
0eee378a26 "md" driver declared in sys/conf/files now. 1997-01-21 09:37:17 +00:00
thorpej
147c10c146 The "md" driver is MI (har har :-). Declare it here. 1997-01-21 09:36:04 +00:00
thorpej
3074220dfa Initialize max_target in the SCSI link. 1997-01-21 05:44:41 +00:00
gwr
ad79a66933 Separate out the stuff used to get in and out of the PROM monitor.
This file can be shared between the sun3 and sun3x.
1997-01-21 00:04:37 +00:00
cgd
7878fdb4f2 add a manual page for setnetbootinfo 1997-01-20 22:31:09 +00:00
cgd
58cde8b551 update date to date of last real modification 1997-01-20 20:37:09 +00:00
gwr
e710e7a369 Kill PCB_MMUCTX, add VM_PMAP_CTX. 1997-01-20 18:38:31 +00:00
gwr
40e3eede04 Make this once again identical to the hp300 version.
Perhaps this should exist as <m68k/include/pcb.h>
1997-01-20 18:34:11 +00:00
scottr
1085290516 Remove obsolete timezone specification 1997-01-20 16:55:32 +00:00
oki
402d9aaf2d Oops, fixed typo in previous commit, compile again. 1997-01-20 15:15:20 +00:00
scottr
d19b3500e3 Define single-instruction implementations of setsoft*() and siroff(),
and declare ssir as volatile.  This avoids the problem of lost softints
should a hard interrupt cause a softint to be flagged while we are
clearing a different one.

Idea from atari mtpr.h, modified/optimized by me.
1997-01-20 05:08:00 +00:00
scottr
b8b7d0ba0c Kill uninitialized variable warning in trap(), plus mir KNFing 1997-01-20 04:30:05 +00:00
scottr
7c87e4e501 #ifdef out write hack, and fix possible uninitialized variable. 1997-01-20 04:27:49 +00:00
mark
58cc410820 Remove strchr.c file now strchr() is in libkern. 1997-01-20 02:43:30 +00:00
mark
4aceed0d51 No longer needed as strchr() is now in sys/libkern. 1997-01-20 02:42:45 +00:00
scottr
1c4a180f28 Compile with -O2 now. 1997-01-20 00:31:42 +00:00
scottr
82f443d641 Minor formatting cleanup, and remove an old comment 1997-01-20 00:30:56 +00:00
oki
159749de63 Fixed compile error with last commit of iodevice.h 1997-01-19 06:37:47 +00:00
gwr
d83b2b6584 Let a couple small duplicates live that may need to be customized. 1997-01-18 22:02:14 +00:00
gwr
5cf8aa219a Now getting these from arch/sun3/sun3 1997-01-18 21:57:49 +00:00
gwr
8749290f0a Now getting these from arch/sun3/dev 1997-01-18 21:53:50 +00:00
oki
b79bcac5fd Use ip->isw intead of itesw. Remove unused extern itesw[]. 1997-01-18 21:07:30 +00:00
oki
7b0e6b6b07 tvram[] should be u_char, instead of u_short. 1997-01-18 21:04:34 +00:00
gwr
8431750722 Several files are now pulled from arch/sun3 (local copies removed). 1997-01-18 20:38:03 +00:00
gwr
090dfd13c2 Now that interrupts are enabled AFTER autoconfiguration, put in the
cute little trick where the zs interrupts are enabled as soon as the
zs driver has done its attachments.   That allows a console break to
enter the debugger during the rest of autoconfiguration.
1997-01-18 19:49:01 +00:00
gwr
324e1c6027 Enable interrupts AFTER autoconfiguration, to avoid spurrious ones. 1997-01-18 19:32:37 +00:00
gwr
94b20c709d Move sun3_btop (etc.) macros from param.h to pte.h 1997-01-18 19:27:16 +00:00
gwr
233b6dd00e Add declaration for db_recover. Also fix copyright. 1997-01-18 19:24:54 +00:00
gwr
84bd1d6f2c Use the same names (OBIO_ZS_*) as the sun3x port... 1997-01-18 19:17:28 +00:00
gwr
be760a77bf Moved MACHINE_NONCONTIG into include/vmparam.h
Also kill obsolete "options NEWCONFIG" line.
1997-01-18 19:09:15 +00:00
gwr
18f6e98a4a Define MACHINE_NONCONTIG here instead of in conf/std.sun3. 1997-01-18 18:58:21 +00:00
gwr
8ea480525d Use the same names (OBIO_ZS_*) as the sun3x port so we can share zs. 1997-01-18 17:19:52 +00:00
gwr
3752fafb35 Use the same names (OBIO_ZS_*) as the sun3x port so we can share zs. 1997-01-18 16:28:56 +00:00
gwr
89778a556e Do loadcrp(&mon_crp) only when returning permanently to the monitor. 1997-01-18 16:17:33 +00:00
oki
ffa088c0d2 silly little optimization. 1997-01-18 13:19:57 +00:00
oki
1e394e1181 Use struct fpframe instead of int[], suggested from Takeshi Nakayama. 1997-01-18 11:48:38 +00:00
oki
b20d46b8b2 Added FPU_XXXX macros. 1997-01-18 11:46:31 +00:00
oki
9fd4b64eb7 bxx --> jxx 1997-01-18 11:16:57 +00:00
perry
1c47a4325b close 3079 from Jason Baker -- fixes a test in audio_poll 1997-01-18 04:02:58 +00:00
cgd
d867ed50cc add strchr() to libkern. strchr.c copied from libc's "index.c", but with
appropriate definitions so that it'll build strchr(), and so that it builds
correctly in libkern (needed to #define NULL).
1997-01-18 02:33:38 +00:00
cgd
c05e715a52 kill use of strchr(); it's moving to libkern 1997-01-18 02:18:47 +00:00
cgd
0512081ce4 bump version 1997-01-18 01:59:32 +00:00
cgd
d3bfc848a9 if a file name is given (i.e. BOOTED_FILE) is set, boot only that file,
but if not then try to boot "netbsd", "netbsd.bak", "netbsd.old", and
"onetbsd" (in that order) until one is found or until the list of names
is exhausted.
1997-01-18 01:58:32 +00:00
mark
4c5fff219e Added a new nexus flag ESC_NF_RETRY_SELECT. This flag is used to indicate
that a unit select did not complete and needs to be retried. Selection will
be retried following a disconnection if this flag is set. The function
esc_select_unit() will set/clear this flag depending on when a selection
completed or not.
1997-01-18 01:57:18 +00:00
cgd
6d5dc4aba9 kill bogux printf 1997-01-18 01:56:09 +00:00
cgd
b9b13b5fb1 add cd9660 file system ops to the file system ops table 1997-01-18 01:51:58 +00:00
mycroft
dc3a674a08 Actually include the code conditionally, based on the SYSV* options. 1997-01-18 01:51:41 +00:00
cgd
f6409bfad4 printfs newline cosmetics 1997-01-18 01:49:29 +00:00
mark
c5cc357f5d Added a new nexus flag SFAS_NF_RETRY_SELECT. This flag is used to indicate
that a unit select did not complete and needs to be retried. Selection will
be retried following a disconnection if this flag is set. The function
sfas_select_unit() will set/clear this flag depending on when a selection
completed or not.
1997-01-18 01:38:05 +00:00
cgd
d5260695b3 move an 'int debug;' into boot.c (it was the only diff between boot.c and
netboot.c), and nuke netboot.c (using boot.c instead for network boot blocks).
1997-01-18 00:59:46 +00:00
cgd
d3f4f54676 program to hard code an ethernet address into a network boot. 1997-01-18 00:50:29 +00:00
cgd
d1c39ec928 note that enet address can be hard-coded 1997-01-18 00:37:13 +00:00
cgd
ad56529a58 make 'make depend' not fall over here. it doesn't work right, either, though. 1997-01-18 00:35:23 +00:00
cgd
b1369cb79d add setnetbootinfo to list of subdirs 1997-01-18 00:34:39 +00:00
cgd
e2bd92c0e6 allow netboot ethernet address to be hard-coded into binary so that
machines with old firmware which doesn't pass it in the boot device
can work.  Assume that if the ethernet address isn't passed in, it
uses the old (dain-bramaged) 'read' interface works on my 3000/300LX.
1997-01-18 00:34:01 +00:00
cgd
abcd6f59bf remove a kludge which was breaking multiple opens/closes of the disk 1997-01-18 00:31:48 +00:00
cgd
b6d17629c1 update for bbinfo padding changes 1997-01-18 00:28:59 +00:00
cgd
7db6ff8449 move the sync() calls to the correct place... 1997-01-18 00:27:50 +00:00
cgd
8523a4deff add padding to structures for future expansion. add a netbbinfo
structure to allow netboot information to be hard-coded in network
boot blocks, so that they can be made to work even on systems with
firmware which doesn't support the new "ethernet address in boot device"
convention.
1997-01-18 00:24:15 +00:00
mycroft
54133e5f93 Remove a previous gratuitous change, and KNF police. 1997-01-17 22:09:09 +00:00
cgd
7e7bb6e04d clean up a bit. include libraries more carefully, so that when compressed
read code is integrated into libsa things will work properly.
1997-01-17 21:14:31 +00:00
perry
8852c180ef Fixes to wd driver from cgd -- corrects several nasty bugs typically
associated with coming out of suspends/sleeps on laptops.
Approved by fvdl.
1997-01-17 20:45:29 +00:00
cgd
493bd9e110 fix file system buffer leak that occurs if an error occurs (e.g. file not
found) during the file system open function after having read some data
from the disk.  From  Matthias Drochner (PR 3120).
1997-01-17 20:17:58 +00:00
cgd
9596fd8a77 only call the device close routine on a (fall-through) error if
F_NODEV isn't set in the file flags for the file being opened.
Pointed out by Matthias Drochner in PR 3122.  (fix equivalent to
the one he included, but stylistically different.)
1997-01-17 20:03:53 +00:00
mikel
9be91c7fb4 fix my typo; found by Klaus Klein <kleink@layla.inka.de> 1997-01-17 17:06:06 +00:00
gwr
4dcea02177 Fix a comment (PCB_MMUCTX is a virtual address). 1997-01-17 16:30:05 +00:00
gwr
aaf91fd6aa Adapt to rename of pcb_mmuctx to pcb_mmucrp, and corrected
prototype of loadcrp(), which kills some bogus type casts.
1997-01-17 16:27:17 +00:00
gwr
3d9b2f50ef Give declaration of loadcrp() its actual argument type. 1997-01-17 16:25:02 +00:00
gwr
a0881e24c2 Rename pcb_mmuctx to pcb_mmucrp and make it a struct pointer. 1997-01-17 16:22:39 +00:00
gwr
67015f3d8b Update for rename of pcb_mmuctx to pcb_mmucrp
Also reorder things a little.
1997-01-17 16:19:42 +00:00
gwr
b7034c364b Use bus_mapin() instead of obio_alloc(). 1997-01-17 16:15:44 +00:00
gwr
c3621700c9 Add PCB_MMUCTX, and reorder things a little. 1997-01-17 15:03:39 +00:00
is
972ce7fa89 Fix PR 3090. While here, fix two other comments. 1997-01-17 14:29:42 +00:00
mikel
313f6180e6 add prototypes for ethers(3) functions; fixes PR 2471.
fix suggested by Jason Thorpe.
1997-01-17 08:17:57 +00:00
mrg
152f8d880d add MSDOSFS. 1997-01-17 03:43:56 +00:00
jeremy
d4be114b3e Added two additional bits (ACON and BCON) to the initilization constant for
the CSR3.  The chip now successfully reads and writes its initialization
block and ring descriptors and is fully operational.  (Thanks to Gordon
Ross for suspecting the misconfiguration.)
1997-01-17 03:42:15 +00:00
mark
12af47bc6a The powertec card uses a 40MHz clock frequency.
Report the driver as polling at attach time is so configured.
1997-01-17 01:12:26 +00:00
mark
6df208b349 Added files for podulebus mapping and read/write routines. 1997-01-17 01:08:42 +00:00
mark
cf799895fc Pass a podule bus space tag in the pa_iot field of the podule
attach args.
1997-01-17 01:07:58 +00:00
mark
5c03890971 Updated for the new bus space implementation.
Added a pa_iot field to the podule attach args structure.
1997-01-17 01:04:02 +00:00
mark
6caa7a0b4b Implement a set of functions that provide bus space mapping and
read/write routines for the podulebus.
1997-01-17 01:00:47 +00:00
mark
012b3502f7 Implemented the functions inswm8() and outswm8() that are optimised
tranfer routines for use where the I/O register is multiply mapped into
a block of 8 consecutive word. This allows LDM/STM instructions to be
used to improve the read write performance.
1997-01-17 00:56:24 +00:00
perry
090b876b86 added options I686_CPU (commented or uncommented) per thorpej 1997-01-16 23:30:28 +00:00
christos
4d08f671d5 Add Plug and Play devices 1997-01-16 23:25:03 +00:00
perry
c5d453076d print 'with MMX' for MMX CPUs (from Martin Husemann) -- fixes pr-3110 1997-01-16 23:21:14 +00:00
christos
c3be709b8c - add the Plug and Play glue
- make the joystick driver use it.
1997-01-16 23:19:56 +00:00
perry
5ee4204742 fix CPUID table for 486SX (from Scott Telford) -- fixes pr-3107 1997-01-16 23:18:04 +00:00
christos
be20628b9e - conversion to bus_space_* macros
- split the isa and pnp attachments
1997-01-16 23:17:45 +00:00
christos
0df79f25ad i386 plug and play glue 1997-01-16 23:12:22 +00:00
gwr
f286cdd282 Move declaration of struct mmu_rootptr to mc68851.h
Kill a cast that is now unnecessary.
1997-01-16 22:12:50 +00:00
gwr
dad92086a4 Make sure the string passed to mon_reboot() is in our data segment
where the PROM can see it.  (Bug found by Jeremy  -- Thanks!)
1997-01-16 22:08:31 +00:00
christos
cf455412fc Plug and Play support. 1997-01-16 22:00:57 +00:00
gwr
30f35224e5 Pretend loadcrp() takes an int arg for now.
Probably should be (struct mmu_rootptr *)
1997-01-16 21:56:36 +00:00
gwr
07a2670421 Before dropping into the PROM monitor, restore its CPU Root Pointer (CRP),
and restore our own CRP if we resume.  Make sure the string passed to
mon_reboot() is in our data segment where the PROM can see it.
1997-01-16 21:53:07 +00:00
gwr
477556a159 Add an introductory comment about pte.h vs mc68851.h
Move sun3x_round_up_page() to here.
1997-01-16 21:48:32 +00:00
gwr
cd7b9cf2ee Add an introductory comment about pte.h vs mc68851.h
Move sun3x_round_up_page() to pte.h
Define struct mmu_rootptr here.
1997-01-16 21:47:31 +00:00
christos
e6717c0bc9 - convert to bus_space_*
- split attachment code to sb_isa.c
1997-01-16 21:03:30 +00:00
cgd
71db072b94 update copyright 1997-01-16 20:41:54 +00:00
cgd
1a2b5aa691 clean up, deal with secondary bootstrap programs not on 'a' partition
'a' partition not starting at 0.
1997-01-16 20:40:05 +00:00
gwr
4ed08a77d2 Move include of trap.h from genassym.c to locore.s 1997-01-16 17:30:20 +00:00
gwr
66a113c1a3 Use db_regs_t instead of struct mc68020_saved_state 1997-01-16 15:41:39 +00:00
gwr
4479ccc534 Use db_regs_t instead of struct mc68020_saved_state 1997-01-16 15:30:57 +00:00
cgd
274cf3fbf9 move the secondary bootstrap down (to 0x20004000), and add a HEAP_LIMIT
so that we don't exhaust our bootstrap address space (when using the new,
not yet checked in, memory allocator).
1997-01-16 07:50:34 +00:00
jeremy
499dd92e9d Added conditional include of iommu kernel driver manipulation routines.
Fixed a few comments.
1997-01-16 06:38:26 +00:00
cgd
b1f42c3a13 add memcmp, implemented as a wrapper around bcmp() (like memcpy() is
implemented as a wrapper around bcopy()).
1997-01-16 04:06:15 +00:00
cgd
cfe73ab59b clean up 1997-01-16 03:00:22 +00:00
cgd
3fb0a713f5 seriously clean up makefiles. use libsa/libkern/libz as appropriate,
and don't build the various sources into objs locally by specifying
them directly in the Makefiles.
1997-01-16 02:59:08 +00:00
cgd
653e0e50fe more carefully include libkern and libsa headers 1997-01-16 01:21:36 +00:00
cgd
904a2dc374 link installboot statically, and include libutil 1997-01-16 01:20:24 +00:00
cgd
f515ce7937 add sources, all copied verbatim from src/lib/libz 1997-01-16 00:21:43 +00:00
cgd
e18d476d7c add Makefiles to build kernel 'libz' library, expected to be used by
boot blocks to load compressed images.  Sources and headers are copied
from src/lib (src/lib/libz, in particular) by making the 'update-sources'
target in this directory.  This library builds in a manner similar to
libkern; much of the Makefile hackery was taken from there.
1997-01-16 00:19:04 +00:00
gwr
6e961cf5de Use db_regs_t instead of struct mc68020_saved_state 1997-01-15 23:11:46 +00:00
cgd
942c20dfac change the fixed delay to allow serial console output to settle
to something smarter, suggested by Charles Hannum.
1997-01-15 22:13:36 +00:00
gwr
77eb8c5a65 fix alignment again for m68k 1997-01-15 18:22:35 +00:00
gwr
e1cb27e32f sync with if_ether.h 1997-01-15 18:19:35 +00:00
mikel
fe9f1f4e3e add missing copyright and RCS ID; ok'd by mycroft 1997-01-15 07:06:42 +00:00
perry
e9a5ba83e3 nuke obsolete /* 1.1 */ and /* 1.2 */ comments. 1997-01-15 05:11:45 +00:00
cgd
008f5aedf9 apply patch from PR 2788 (from Dennis Ferguson <dennis@jnx.com>) to
more smoothly apply "tickfix"es microsecond deltas (when compensating
for clocks running at > 1000Hz).
1997-01-15 04:59:39 +00:00
cgd
99fb250b5c fix from PR 2787 (from Dennis Ferguson <dennis@jnx.com>): when adjtime
is running (and NTP is not enabled), the adjtime()-handling code clobbers
any tickfix that may be necessary for systems with clocks with frequency
greater than 1000Hz.
1997-01-15 04:27:35 +00:00
jonathan
0ef88d333a Fix const-pointer lint in copyout of consed-up native fstype string,
from consed-up  native mount args.
1997-01-15 01:41:35 +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
jonathan
11a7f97c20 Use <> not "" #include path for pmax/stand/dec_boot.h. 1997-01-15 00:52:17 +00:00
cgd
328e19f5fb useful suggestion from jason: make this simply an 'include' of the
GENERIC kernel config with the added ramdisk-hook-enabling bits!
1997-01-14 23:37:59 +00:00
cgd
46b965ab4a useful suggestion from jason: make this simply an 'include' of the
GENERIC kernel config with the added profiling bits!
1997-01-14 23:32:00 +00:00
cgd
b701ee6fea comment out 'options GATEWAY' by default.
add PPP_BSDCOMP and PPP_DEFLATE.
add ipfilter pseudo-device, and sort the pseudo-device list to recover
    from the renaming of 'rd' to 'md'.
1997-01-14 23:20:37 +00:00
cgd
1db761a1be add cd9660, msdosfs file system support.
add SysV Shared Memory support, since it can be used by the X server.
add 'ppp' to the list of pseudo-devices, and sort the list to recover
    from the renaming of 'rd' to 'md'.
other slight cleanups.
1997-01-14 23:18:17 +00:00
mark
02e575f690 Replace the fix for the bugged revisions of the 37GT665 I/O controller
that was lost during the last upgrade of the driver.
1997-01-14 22:59:40 +00:00
jonathan
1607618d93 pmaxpagesperpage -> mipspagesperpage 1997-01-14 22:29:54 +00:00
gwr
2ffbfe169b Punt some historical stuff that was ifdefed out. 1997-01-14 21:01:33 +00:00
gwr
daa7a6dc57 Initial import. Gets as far as nfs_mountroot. 1997-01-14 20:57:09 +00:00
gwr
3921aef310 Initial revision 1997-01-14 20:57:08 +00:00
gwr
cd05f4190d Initial import. Gets as far as nfs_mountroot. 1997-01-14 20:57:07 +00:00
gwr
c8cc66764e Initial revision 1997-01-14 20:57:06 +00:00
gwr
99f640b958 Initial import. Gets as far as nfs_mountroot. 1997-01-14 20:57:06 +00:00
gwr
2ad3428397 Initial revision 1997-01-14 20:57:05 +00:00
gwr
2dbfabbb97 Initial import. Gets as far as nfs_mountroot. 1997-01-14 20:57:01 +00:00
scottr
4ee6502e8b Whoops, forgot to include ipfilter.h 1997-01-13 23:46:11 +00:00
scottr
d186ff0991 Add ipfilter (pseudo-) device. 1997-01-13 23:34:04 +00:00
thorpej
8f8abcd69c Regen; makesyscalls.sh emits comments now. 1997-01-13 18:49:02 +00:00
oki
0e58d64c9e first commit of M68060 and FPU_EMULATE support.
M68060 support by YAMASAKI Yasushi, few arranged by me.
1997-01-13 14:04:42 +00:00
scottr
121971f622 Compile with -O2 (need to update COPTS so we still get -m68030) 1997-01-13 07:08:51 +00:00
scottr
9792072925 Compile kernels with -O2 1997-01-13 07:06:51 +00:00
scottr
e14ea342e3 Some changes to make ADB work when compiled with -O2:
- extdms_done is modified by things outside of our direct control;
    it needs to be declared `volatile'
  - CountADBs() fails when we call it the second time.  We can work
    around this by telling extdms_init() how many ADB devices we have,
    only calling CountADBs() once.
1997-01-13 07:01:23 +00:00
mark
151fa15841 Use -x rather than -S for the linkflags as we are not using the NetBSD
linker.
1997-01-13 00:51:42 +00:00
mark
98ecd0ea70 Updated for the new bus space implementation.
Merge in the latest changes from the ISA lpt device.
1997-01-13 00:46:51 +00:00