jtk
1541178d9b
update the data segment mapping clamps to handle more screwy BIOS requests
1996-09-13 22:58:27 +00:00
jtk
bfd321ca95
don't shift size fields; they're not descriptors
1996-09-13 03:10:56 +00:00
jtk
662c47ecd3
use ls, not ${LS}; remove now-unneeded Makefile.inc
1996-09-13 02:24:30 +00:00
thorpej
fcde57a426
For ioctl commands which may change the device's state, ensure that
...
the caller has the device open for writing.
1996-09-13 00:35:59 +00:00
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
mrg
df4a844f44
forward decl. struct mbuf (for now).
1996-09-12 23:11:40 +00:00
explorer
f5a52c4260
Move an #ifdef _KERNEL up above all the packet filter stuff. This
...
could very well break the packet filter stuff, but it will make things
like rcp.c compile, and rcp.c should not need to include sys/mbuf.h
to do so...
1996-09-12 22:56:03 +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
thorpej
9aeee9fb17
Remove a couple of opcodes that are already (and more appropriately)
...
defined in scsi_changer.h
1996-09-12 01:57:17 +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
mycroft
da2cd7eb82
If we're in SYN-SENT or SYN-RECEIVED state, don't reset the keepalive
...
timer until we transition to ESTABLISHED state. Suggested by TCP/IP
vol 3.
1996-09-10 23:26:05 +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
thorpej
0d3a57ea3f
Add COMPAT_M68K4K to the exec switch.
1996-09-10 22:05:03 +00:00
thorpej
c9bf6a7e5a
Add exec glue for `COMPAT_M68K4K'; just map the executable the way
...
a MID_M68K4K expects to be mapped. Allows any m68k port with
NBPG == 4096 to run NetBSD/hp300 executables, and will allow hp300s
to run legacy executables when that port's default format is eventually
changed to match the other m68k ports.
1996-09-10 22:01:20 +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