Commit Graph

8591 Commits

Author SHA1 Message Date
jtk 04f1e23fe1 BIOS trampoline is a static beast; generate it in the sources like
syscalls.h & friends, and include it when needed from the source directory.
1996-09-13 00:02:36 +00:00
scottr e09160652b Sync with m68k/cpu.h changes. Also, test fpu_type instead of mmutype
when handling fp exceptions.
1996-09-12 21:25:31 +00:00
scottr d3beac22f0 Sync with m68k/cpu.h changes 1996-09-12 21:25:29 +00:00
scottr 027b51f1f9 Define spladb() (conservatively, at least for now). 1996-09-12 20:39:19 +00:00
thorpej 9476dabc1a Correct a somewhat confusing typo in a comment, pointed out by
Scott Reynolds.
1996-09-12 18:54:23 +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
scottr d407764c72 Add uk, remove ch device 1996-09-12 05:34:59 +00:00
scottr 7a6fae71e8 Add ss, uk SCSI devices 1996-09-12 05:33:41 +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
scottr a453e56ffd This is the development/debug machine 1996-09-12 04:50:43 +00:00
scottr 7b33c93009 Update to current reality. 1996-09-12 04:49:52 +00:00
thorpej 22adc20819 Add an FPU_UNKNOWN constant; just a placeholder for any unknown FPU. 1996-09-12 02:52:34 +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
mrg c98a14ad90 update these for poll(2) changes. 1996-09-12 01:35:34 +00:00
thorpej be969d881e Update for poll(2) changes. 1996-09-12 01:22:58 +00:00
thorpej eae3f0bb96 When opening a disk for non-filesystem i/o, make sure we only return
an error condition when an error occurs.

Bug noticed by Terry Lambert <terry@lambert.org>.
1996-09-11 18:05:02 +00:00
jonathan 2bc8c4e5c2 Merge in 4.4BSD-Lite -> 4.4BSD-Lite2 changes. (untested).
The Lite2 changes  include:
  * Remove the last vestiges of high-bit-set-means-delay for output chars.
  * Handle the  2100/3100 having partial modem control on line 2 only,
    whereas the 5000/200 has modem control signals on lines 2 and 3.
  * Add RTS/CTS support for lines 2 and 3 on a 5000/200.
  * Add more s = spltty(); splx(s); where needed but not present.
1996-09-11 06:41:19 +00:00
explorer 5d76f7cbac remove unneeded placeholder 1996-09-11 05:24:25 +00:00
thorpej 5704683922 - Pull in some interesting changes from the Amiga trap.c:
* SunOS glue

	* 68060 exception frame size definitions

	* 68060 fault detection macros

- Use `cputype' rather than `mmutype' where appropriate.

- Play the prototype game.

This file is much closer to being sharable by all m68k ports.
1996-09-11 00:44:24 +00:00
thorpej f36cec2dfc Define the CPU_* constants from <m68k/cpu.h> for assym.h 1996-09-11 00:32:16 +00:00
thorpej 75b43e0aa6 Declare a `cputype' global, and set it as appropriate. 1996-09-11 00:29:28 +00:00
thorpej a437d4f6cb Use <m68k/cpu.h>. 1996-09-11 00:23:47 +00:00
thorpej e469c7beca Use <m68k/cpu.h>. 1996-09-11 00:11:42 +00:00
thorpej 521a717f6d Factor out common Motorola 68k CPU definitions from the m68k port
cpu.h header files.

Some more work could be done here, but it's a good start.
1996-09-11 00:08:52 +00:00
thorpej 7734e8980b Add COMPAT_M68K4K. 1996-09-10 22:48:05 +00:00
thorpej 9ff195106c Document COMPAT_M68K4K, but leave it disabled by default. 1996-09-10 22:45:17 +00:00
thorpej 1710b024c0 Document COMPAT_M68K4K, but leave it disabled by default. 1996-09-10 22:26:50 +00:00
thorpej 73a5b90800 Pull in the COMPAT_M68K4K stuff when appropriate. 1996-09-10 22:07:10 +00:00
cgd 0b77b04b6e set a0 to be the initial sp, and set pv to be program entry point. 1996-09-10 19:13:42 +00:00
jtk 2b5e1cd158 clean up missing prototype, extra variable 1996-09-10 11:22:33 +00:00
leo 0f821f9aa6 Conform to the hp300 style of trap.c as suggested by Jason. 1996-09-10 09:05:40 +00:00
leo 2340b495ce - Add suline() for the new trap.c (Shouldn't this move to m68k/copy.s?)
- Fix some bugs in the interrupt handlers introduced by the new mapping
  of the st io-area.
1996-09-10 08:58:42 +00:00
leo 7a87b91e9b Add suline/susword prototypes for new trap.c 1996-09-10 08:45:16 +00:00
jonathan be23611556 Apply diff from the 1.2 release branch, so that ugly IOASIC debugging
is disabled by default:
>revision 1.9.4.2
>date: 1996/09/09 20:19:11;  author: thorpej;  state: Exp;  lines: +2 -18
>Disable IOASIC_DEBUG so that autoconfiguration looks normal, by request
>of Jonathan Stone
1996-09-09 21:32:20 +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 dbacbd3636 Use machine/asm.h. Garbage collect. 1996-09-09 18:42:51 +00:00
cgd 7ba205c37e Sync the 53c94 SCSI driver with the sparc version. Update the DMA code to
match the interfaces required by the driver.
1996-09-09 18:10:35 +00:00
mycroft 379839a0df Make the build process more sane. 1996-09-09 18:07:40 +00:00
cgd adeb6b4058 replace sequences of 8 spaces with tabs (only one instance). kill
unnecessary newlines after return statements but before function
close-braces.
1996-09-09 18:01:30 +00:00
mycroft 825aca4d5d Oops; include paths are relative to $S. 1996-09-09 17:18:47 +00:00