jonathan
3a51c3ecb0
Move old 4.4bsd/pmax driver declaration below prototypes of driver
...
entry points, for -Wall -Wstrict-prototypes.
1996-09-21 08:47:17 +00:00
jonathan
073248247b
Add prototype for 4.4bsd/pmax scsi-driver d_done() entry point.
1996-09-21 08:45:41 +00:00
jonathan
cb5732503f
Add fake, bogus prototype for gettcinfo(), with "void" arglist.
...
(Not having a prototype breaks -Wstrict-prototypes, this callback
isn't used, and we don't know what the prototype should be.)
1996-09-21 03:33:18 +00:00
jonathan
456e858536
Update pmax framebuffer drivers for -Wall -Wstrict-prototypes:
...
* include <fb>var.h in <fb>.c
* remove delete declarations for 4.4BSD-Lite console/kbd/mouse redirection
* Add prototypes where not already present.
1996-09-21 03:25:15 +00:00
jonathan
f78ff890d7
Change bt478.c to include bt478var.h from bt478.c.
...
Remove redundant declarations.
1996-09-21 03:22:24 +00:00
jonathan
2e4e1695fe
Exported declararation of console-attach function for glass-tty consoles
...
on Decstation TURBOchannel fb drivers.
1996-09-21 03:06:36 +00:00
jonathan
5c2d5169b2
Exported declarations from brooktree bt478 chipset-level driver,
...
used in DEC pm framebuffers.
1996-09-21 03:02:10 +00:00
jonathan
be78089fff
* Add missing `UADDR' argument to RESTORE_USER_REGS() macro calls.
...
* Add back copyright notice and rcs ID from parent of previous
revision (pre-merge).
1996-09-20 23:44:10 +00:00
thorpej
ab49e34013
Don't attach an rcons to a cgfour/cgeight overlay plane; it doesn't work
...
properly. Problem reported by Charles Hannum.
XXX This is temporary until someone with the hardware has time to fix it!
1996-09-20 17:35:49 +00:00
cgd
8644dce05c
start on some network boot blocks. they work, but:
...
(1) the if_prom code needs to be cleaned up quite a bit
(right now it hard-codes client's ethernet address), and
(2) much of this code (esp: getsecs.c, netboot.c, newvers.sh,
rpcc.S) should be shared with other Alpha boot blocks,
and dev_net.[ch] should maybe go in libsa proper.
1996-09-18 20:03:04 +00:00
cgd
675e59d762
fix for elf loading, from Matt Thomas
1996-09-18 19:34:33 +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
jonathan
de735d506d
Fix for problem report port-pmax/2173: the local variable "inst"
...
in the branch-emulation code was uninitialized, due to a misplaced #endif.
Remove the relevant #ifdef (macro version of GetBranchDest), and move the
XXX note about r4000 branch targets to the function definition.
1996-09-18 11:16:20 +00:00
briggs
197a86e724
Don't allow get_physical to attempt get_pte if mmutype is 68040.
...
(At least until get_pte works on the 040).
1996-09-18 03:33:23 +00:00
cgd
886dba6dff
(1) split load-file functionality out from the 'main program' of the
...
boot block, since it will be shared with the network boot block.
(2) Kill a.out support, since it never worked was never used, and will
never be.
(3) Add support for booting of ELF kernels, from Matt Thomas. (Currently
untested, but it compiles.)
1996-09-17 22:00:24 +00:00
cgd
a68b586a74
add _rtt as an XLEAF into start which (like 'halt') just halts
1996-09-17 21:26:45 +00:00
cgd
abcbfbdd93
use assembler directives and labels that make both the ELF- and ECOFF-
...
targeted assemblers happy.
1996-09-17 21:17:11 +00:00
cgd
8110fe7ca7
Differentiate between disked ("SCSI") and network ("BOOTP", but not yet MOP)
...
booted_dev specs. Add code to find the device, if booted from the network.
1996-09-17 21:04:25 +00:00
cgd
cab0e2aba3
hmm, fix an apparent typo (two letters got deleted!)
1996-09-17 20:58:58 +00:00
cgd
56386f3e35
Differentiate between disked ("SCSI") and network ("BOOTP", but not yet MOP)
...
booted_dev specs. Add code to find the device, if booted from the network.
1996-09-17 19:46:37 +00:00
cgd
88a5419c15
print default device names slightly more nicely. (if not disk device,
...
don't print a blank before the close paren.)
1996-09-17 19:41:52 +00:00
jonathan
ad20e52d11
Commit snapshot of reworked dc driver to trunk, to pull up fix for
...
serial consoles to the 1.2 branch. Includes:
* dynamically allocated new-config softc
* remove dependencies on Decstation CPU type, use flags in softc instead.
* pass in values for softc flags (q.v.) from parent-specific attach code
* #ifdef out rts/cts flow control support until it's known to work on
200s.
* redo initialization of serial consoles (needs more work).
1996-09-17 19:34:40 +00:00
oki
82f8d6bb4b
added ccd(blk)/ch/uk device
1996-09-16 20:08:56 +00:00
scottr
d13cb4414c
Convert fpu_type' to the more consistent
fputype', and use the new
...
#defines from m68k/include/cpu.h.
1996-09-16 18:00:26 +00:00
cgd
66992c7399
sync with GENERIC: add pseudo-device 'rd' with one unit
1996-09-16 16:34:15 +00:00
cgd
0006f58df7
add EISAVERBOSE, TCVERBOSE as appropriate. Add UCONSOLE to all.
...
slight cleanup + sync.
1996-09-16 16:30:40 +00:00
leo
0e805391a3
Prepare for (soon to come) et4000 PCI console
1996-09-16 06:49:03 +00:00
leo
ef074b3031
Prepare for (soon to come) et4000 PCI console.
1996-09-16 06:43:32 +00:00
leo
edc2de87d0
Initialize MFP2 on both TT&HADES.
1996-09-16 06:28:41 +00:00
leo
11c0ef7354
atari_realconfig now defined in <atari/device.h>
1996-09-16 06:27:11 +00:00
leo
1b4ecd8255
Fix bootcode to work on the 68040.
1996-09-16 06:25:45 +00:00
leo
72c7d3589f
Get it into sync with the previous changes to locore.s
1996-09-16 06:24:36 +00:00
leo
7a128f0c7e
Sync with changes in the grf/ite/view system.
1996-09-16 06:22:27 +00:00
leo
70747dc24f
Add support for Hades platform.
1996-09-16 06:20:44 +00:00
leo
4f51ebc528
- Add M68040 option where appropriate
...
- Reflect changes on the grf/ite/view system for et4000 console support
- Set timezone to 0
- Document FPSP option
1996-09-16 06:14:21 +00:00
leo
2eccad6548
Add macro's that do bclr/bset in a single instruction.
1996-09-16 06:03:58 +00:00
scottr
3cf197cef1
Somehow the last change got mangled. Do over.
1996-09-16 05:24:21 +00:00
jtk
fc79deac52
when halting, attempt to turn off power using APM
1996-09-16 04:44:28 +00:00
scottr
014f910806
Add ZS_CONSOLE_ABORT
1996-09-16 04:35:25 +00:00
scottr
debc473329
- Add a ZS_CONSOLE_ABORT option to enable a serial console break to
...
force a drop to the system debugger. WARNING: this used to be the
default behavior! Modify custom kernel configs accordingly.
- Check for ZS_HWFLAG_CONABRT in zs_abort(), and don't abort if it's
not set.
1996-09-16 04:32:28 +00:00
scottr
696dd783a4
Move check for ZS_HWFLAG_CONABRT to zs_abort().
1996-09-16 04:19:26 +00:00
jonathan
18bd3a86e3
* add RCS id.
...
* Allow configuring disks without tapes, or tapes without disks,
as suggested in PR 2743.
1996-09-16 03:47:47 +00:00
cgd
5645b6ef46
simplify profiling entry. add 'label' argument tp PANIC, PRINTF, and MSG,
...
which is the label that the message string should be stored with.
1996-09-15 22:42:29 +00:00
cgd
e025186655
save and restore registers symmetrically. don't forget to restore PV (t12).
1996-09-15 22:33:28 +00:00
cgd
89986fec30
like GENERIC, but uses built-in ramdisk image for root
1996-09-15 17:23:12 +00:00
cgd
3732f4dad6
add one 'rd' pseudo-dev.
1996-09-15 17:22:28 +00:00
cgd
edf0333fe0
add ramdisk root hooks
1996-09-15 17:17:56 +00:00
cgd
17264a54f2
s/k0segtophys/ALPHA_K0SEG_TO_PHYS/
1996-09-15 17:16:24 +00:00
cgd
3af6ed0256
pollin', pollin', pollin', make them drivers pollin'... (support poll()).
1996-09-15 17:15:26 +00:00
thorpej
0cb6f5925c
Correct an old comment; the 318, 319, and 330 _are_ tested (68020 w/ 68851).
...
(Read: I have a 319 :-)
1996-09-14 20:36:49 +00:00
is
1cda8089e3
Kill two debug printfs whose output always haunt me in the boot
...
messages, but which I didn't find when looking for then.
1996-09-14 14:55:08 +00:00
scottr
a4b22a046a
Implement poll(2).
1996-09-14 06:08:01 +00:00
scottr
19d545f1ae
- Implement poll(2)
...
- Convert splhigh() -> spladb()
- Guard references to adb_evq_tail and adb_evq_len!
1996-09-14 06:01:12 +00:00
scottr
81543dc7c9
Implement poll(2).
1996-09-14 05:54:53 +00:00
scottr
4ddcca6bc8
Update prototypes to match Chris' cfprint_t change. Also, update comments
...
in autoconf.h to reflect the mainbus.c split.
1996-09-14 05:43:24 +00:00
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
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