Commit Graph

172 Commits

Author SHA1 Message Date
chuck 5ffce6ff81 fix uninit'd variable [detected by charles] 1996-11-09 22:27:22 +00:00
chuck cabd6ddfa0 - new lpt driver, contributed by Steve Woodford <steve@mctavish.demon.co.uk>
- added 1.1 and 1.2 compat to VME147 config file
1996-11-09 03:52:51 +00:00
chuck 63b98e6bb7 add ss/uk 1996-11-08 22:40:51 +00:00
chuck 5049f4d106 add ch/rd(chr)/ss/uk devices as requested by mycroft, plus some minor clean up 1996-11-08 22:00:42 +00:00
chuck ee87cfab39 apply netbsd pr#2598 from der mouse:
everything before the beginning of the "a" partition on a disk
	is read-only except when accessed via RAW_PART.   (a problem if
	"a" isn't at the front of the disk).   pointed out by pk back
	in july.
1996-11-08 20:50:55 +00:00
cgd 8a3333b2a9 Fix an inconsistency that came in with Lite: setrq() was renamed to
setrunqueue(), but remrq() was never renamed.  Rename remrq() to
remrunqueue().
1996-11-06 20:19:19 +00:00
chuck 5c91907fb4 add options: EXEC_AOUT and EXEC_SCRIPT 1996-11-06 03:35:03 +00:00
thorpej dd7ad6d7b8 Trim the name of the clock interrupt event counters. They were one byte
too long, causing a panic in DIAGNOSTIC kernels.

From Steve Woodford <steve@mctavish.demon.co.uk>, on the port-mvme68k
mailing list.
1996-11-05 02:51:03 +00:00
thorpej 150c33e60b Use ${INSTALL}. 1996-10-18 05:55:26 +00:00
christos e37692f04d backout previous kprintf change 1996-10-13 03:29:05 +00:00
christos 9beb92aad7 printf -> kprintf, sprintf -> ksprintf 1996-10-10 23:32:59 +00:00
cgd e36e19cf1e repoint at shared aout_machdep.h, not exec.h 1996-10-08 13:07:26 +00:00
cgd 472889f8e4 moved to aout_machdep.h (via repository copy) 1996-10-08 12:57:37 +00:00
thorpej 5d570ded25 Update for the new way machine/cpu support is option'd in. 1996-09-12 07:36:37 +00:00
thorpej feb8b586ed Do the extern song and dance. 1996-09-12 06:14:04 +00:00
thorpej 927facbf09 Add some constants now needed by locore. 1996-09-12 06:05:42 +00:00
thorpej a1bffadb58 - Add hooks (just empty shells for now) for MVME-{162,167,177} models.
- Use information obtained from the Bug in locore to make identifycpu()
  produce some slightly more meaningful output.

- Garbage-collect some left-over hp300-specific stuff.
1996-09-12 06:02:35 +00:00
thorpej 6d0345fdb7 - Save the boot device info a little earlier in initializaion.
- Use the Bug to find out what kind of machine we're running on, and
  Do The Right Thing, namely:

	- Set `cputype' and `mmutype' as appropriate.

	- Crap out if the kernel doesn't support the machine we
	  booted on.

- Add hooks for MVME-{162,167,177} models; just an empty shell to be
  filled in later.

- Use `MMU_68040' rather than `-2' when checking the MMU type.
1996-09-12 05:57:43 +00:00
thorpej 917ef1b1be Grok machineid. 1996-09-12 05:48:54 +00:00
thorpej 399b0e0f68 - Use MVME "machine options" to associate MVME models with CPU
options (a'la the hp300 port).
- Declare a "machineid" extern.
- Define constants for machineid, which match the Bug's idea
  of MVME model numbers.
1996-09-12 05:26:37 +00:00
thorpej 583912cbcf Grab the stat clock stuff from the SPARC port, and glue it to the
second timer on the PCC.
1996-09-12 05:10:44 +00:00
thorpej de02bf68b3 Update to use the new badaddr(); simplifies the code that attaches
pcc children somewhat.
1996-09-12 05:04:18 +00:00
thorpej 054bd4e4d0 Prototype badaddr(). 1996-09-12 05:01:47 +00:00
thorpej ca8ebd2ae7 Change badaddr() to take the size of the access to do, and nuke
badbaddr().
1996-09-12 04:59:56 +00:00
thorpej 2a57ba6633 Correct a comment, and add timer priming macros. 1996-09-12 04:54:19 +00:00
thorpej 2b525e4952 Sync boot() with the hp300 version (basically, clean up a bit and
run shutdown hooks).
1996-09-12 02:45:57 +00:00
thorpej a437d4f6cb Use <m68k/cpu.h>. 1996-09-11 00:23:47 +00:00
thorpej 9ff195106c Document COMPAT_M68K4K, but leave it disabled by default. 1996-09-10 22:45:17 +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
thorpej de5110f41e Use <m68k/exec.h>. 1996-09-08 01:00:35 +00:00
mycroft e6dd44f034 Use SIGBUS iff we get a legitimate bus fault. Use SIGSEGV for page protection
violations (per Solaris, SVR4, AIX, Linux, Irix, and SunOS).
1996-09-07 22:26:41 +00:00
thorpej 26ecf6820b Use the stock ld(1) and the srec program to generate the serial line
bootstrap program.
1996-09-07 19:23:03 +00:00
thorpej a27c9a94f5 Add a public domain S-record generator. 1996-09-07 19:21:32 +00:00
mycroft fc3def4096 Remove duplicate declarations of LKM functions and macros. 1996-09-05 15:46:22 +00:00
mycroft aeda55543b Splice in Ignatios' bus error detection code. 1996-09-03 02:07:02 +00:00
mycroft 30a617c634 Wrap the default definition of `S' in `.ifndef'. 1996-08-31 21:40:47 +00:00
thorpej 0794023752 RCS id police. 1996-08-30 17:43:56 +00:00
cgd 71ad30d0e9 (1) set scsi_link channel to either the appropriate channel (if a
multi-channel driver), or to SCSI_CHANNEL_ONLY_ONE if a
    single-channel driver.
(2) use scsiprint() rather than a locally-defined autoconfig print
    function, and kill any locally-defined print function.
1996-08-28 18:59:15 +00:00
cgd 2a73ef60b7 change cfprint_t type definition to take a const char *, rather than
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).
1996-08-27 21:53:46 +00:00
thorpej 2d88fe9293 Old-style disk instrumentation is long gone, buster! 1996-08-26 06:47:42 +00:00
thorpej 3eaf7130d9 Update for structure member name changes made in the MI code. 1996-08-26 06:39:03 +00:00
mycroft 558d72128e Put into . Remove hooks for `config-dependent' and
`device-driver' flags.
1996-08-12 00:51:24 +00:00
mycroft 88578318ca Remove the only use of `config-dependent', as it isn't actually needed. 1996-08-12 00:16:25 +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
mrg 5abbf990f3 Change reboot(2) to take two arguments: bootopt like normal and also
a boot string for firmware that can do this, such as the SPARC and
the sun3 models.  It is currently silently ignored on all other
hardware now, however.  The MD function "boot()" has been changed to
also take a char *.
1996-08-09 10:30:23 +00:00
chuck e35aa10df8 switch to generic boot 1996-05-29 05:06:21 +00:00
chuck 24ac64b87b fix generic boot code 1996-05-29 05:04:41 +00:00
chuck 9f36687189 borrow part of the sparc port's dk_establish to fix generic boot 1996-05-29 05:03:50 +00:00
chuck 946f08aa87 note if we are the boot device (for fixing generic boot) 1996-05-29 04:29:46 +00:00