pk
bd12f97e97
Avoid NULL dereference
1995-08-29 19:53:59 +00:00
jonathan
1e95db0970
Commit a copy of pmax/asic.h from my development source tree, since
...
the pmax lance driver that uses the machine-independent am7990.c driver
needs some definitions for it. This is a partial re-merge of NetBSD/alpha's
tc/asic.h back to the pmax, with the addition of symbolic #define's
for registers and bits in registers that are pmax model-specific.
1995-08-29 11:52:00 +00:00
jonathan
9557f68db3
Change pmax (asc and sii) SCSI drivers to use "needs-flag", as the
...
drivers have been fixed to not require "needs-count".
Add back the lines for the "rcons" console driver, even though it's
not merged into the pmax port yet, as conf.h was patched to include
"rcons.h". Adding the device here, but not configuring it (e.g., in
GENERIC) keeps conf.c happy until rcons code is merged.
1995-08-29 10:12:48 +00:00
jonathan
5124d90b3b
Work around a NetBSd/pmax kernel bug inherited from 4.4BSD: the DEC
...
TURBOChannel cfb has a vertical-retrace interupt that cannot be disabled
in software. 4.4BSD and NetBSD don't supply an interrupt hander and
simply neverenable interrupts from slots with a cfb. This has never
ever worked with a cfb in a 3MIN (Decstation 5000/1xx), where a TURBOChannel
card in slot 0 (or 1 or 2) interrupts at the same IPL as spl0() (or spl1
or spl2), and there's also never been support for selectively enabling or
disabling those interrupts on a 3MIN, in either NetBSD or 4.4BSD.
This revision add an interrupt handler for the cfb, used only on 3MINs,
so that a 3MIN can boot with a cfb as console, and enable/disable of TC
slot interrupts can be debugged. (Serial consoles via ioasic SCCs still
don't quite work, and simply clearing the relevant bits in the R3000 cause
register is apparently over-ridden by a subsequent spl0() somewhere else.)
1995-08-29 09:56:23 +00:00
jonathan
2ddcaa8ac9
Fix references to ASIC_SLOT_RTC, which isn't yet defined on DECstations.
1995-08-29 09:43:37 +00:00
leo
bd699fca29
Fix typo in previous commit
1995-08-28 20:07:04 +00:00
jonathan
bb16b9c249
External declarations for Decstation model-specific interrupt handers.
1995-08-28 20:01:34 +00:00
leo
dd73a31ed8
Detect type and precence of an FPU in the kernel instead of relying on GEM.
1995-08-28 19:31:06 +00:00
fvdl
cf13e627f4
Undo unintended parts of previous change.
1995-08-27 21:30:00 +00:00
fvdl
a084a7d3dd
Remove bogus check in ioctl(fd, VT_RELDISP, VT_FALSE). Needed for
...
Linux VT emul stuff. This fix was already applied in pcvt 3.30
1995-08-27 20:59:00 +00:00
fvdl
9ca2821d22
A couple of definitions added for previous changes.
1995-08-27 20:57:18 +00:00
fvdl
040bcc367d
Add some yucky code to emulate Linux VTs well enough to make svgalib
...
stuff work reasonably well.
1995-08-27 20:56:38 +00:00
pk
70c3710dfd
minor tweaks from Matthew Green (PR#1410)
1995-08-27 18:58:48 +00:00
phil
6a179f1f2e
VOID minphys.
1995-08-27 04:07:53 +00:00
briggs
503d3c4927
Add constants for CSI's communications card.
1995-08-25 21:20:57 +00:00
phil
389484fe28
New kernels from Matthias Pfaller and addition of oldncr driver.
1995-08-25 07:58:21 +00:00
phil
441cd76f8f
Changes by Matthias Pfaller for generic support and dumping.
1995-08-25 07:52:18 +00:00
phil
0a3111b255
Various changes (from Matthias Pfaller) including support for a
...
more generic distribution kernel and dumps.
1995-08-25 07:49:04 +00:00
phil
47ff5d6b3d
More changes to the "new" ncr interrupt driven scsi driver (from M. Pfaller)
...
Bring back the old polled driver until a kernel built with the interrupt
driven one is stable enough for production use.
1995-08-25 07:30:33 +00:00
briggs
ac0af4229f
Change VIA2:vPCR setting to allow scsi IRQ and DRQ.
1995-08-25 02:56:41 +00:00
jonathan
60e0c381c1
Fix autoconfig table initializers for 3MIN (tested) and MAXINE (untested).
1995-08-24 22:32:18 +00:00
ghudson
bbfb3349c0
Call doshutdownhooks() before resetting the CPU. This should probably
...
be in architecture-independent code.
1995-08-24 19:16:47 +00:00
chopps
f73f65da20
couple fixes from Eduardo E. Horvath eeh@btr.com
1995-08-24 15:46:19 +00:00
briggs
1ed5c0babc
Some code to support a vector passed in from booter 1.8.
1995-08-24 04:27:16 +00:00
briggs
0484bdaf59
Don't panic on NMI and only take notice if DDB.
1995-08-24 04:25:07 +00:00
jtc
0da9212559
recommanded -> recommended; PR #1395
1995-08-22 19:43:06 +00:00
jtc
356b42ba70
inclide -> include; PR #1400
1995-08-22 19:39:23 +00:00
ragge
90a621b682
Fixed USRPTSIZE trouble. Cleaned up.
1995-08-22 04:34:17 +00:00
jonathan
8522bd48f3
Move the pmax scc driver from sys/arch/pmax/dev to sys/arch/pmax/tc,
...
as it's a driver for a device under a TC IOASIC. The Alpha port also
has its scc driver in tc/scc.c, and the pmax driver scc is nearly the same
as the Alpha.
1995-08-22 04:28:41 +00:00
ragge
4ff0530b57
Changed way to calculate USRPTSIZE.
1995-08-22 04:28:20 +00:00
jonathan
7560ab9b68
Rework the pmax scc driver, which hadn't changed much from the 4.4bsd
...
pmax driver, to be diffable with the NetBSD Alpha driver. Specifically,
the pmax driver now uses register names dev/ic/z8530.h. The driver now
uses new-style config and dynamically-allocated softc structures. The
driver no longer resets the "other" channel on an SCC when changing tty
parameters. The #ifdef'ing away of processing of the output clist for
non-console lines is no longer done. (Non-console serial ttys might even
work now.) Other discrepancies between the pmax and alpha drivers, which I
don't understand yet, are marked by XXXes.
The 4.4bsd pmax console redirection code is still present, protected
by #ifdef TK_NOTYET. Diffs from the Alpha scc driver are now minimal.
Verified to boot on a Decstation 5k/240.
1995-08-21 21:42:10 +00:00
gwr
acbfd7b67d
Fix vectored interrupts, and do autovectored ones similarly.
1995-08-21 21:37:36 +00:00
gwr
35a5b206df
If a swap entry is being used as root, do not swap there.
1995-08-21 21:36:25 +00:00
jonathan
97cf65df4a
Change pmax ASC driver to use dynamically-allocated softc structures.
...
Concomitant changes to code that prints driver/unit name: use dv_xname
and dv_unit, instead of doing pointer arithmetic on elements of the static
softc array.
Remove support for old config. The old-config "driver" structure
is still present, because the pmax non-MI SCSI driver needs it.
Merge some off Per Fogelstrom's changes for the Pica driver,
which uses the machine-independent SCSI code. This is #ifdef'ed
out until the DMA is fixed to work on Decstations, too.
1995-08-21 21:22:43 +00:00
ragge
ce63fbf5f1
Bug fix in byte_swap_word(); didn't always make it.
1995-08-21 16:36:32 +00:00
mycroft
e11b690b80
Require drives 2 and 3 to be explicitly configured.
1995-08-21 06:56:14 +00:00
ragge
e7749341ad
Added PG_URKW: World readable, kernel writable.
1995-08-21 03:28:50 +00:00
ragge
172fd72aab
Bug fix: Must have user readability of kernel text on Microvax
...
even when using DDB.
1995-08-21 03:27:05 +00:00
ragge
ed3c38b4cd
Added gencntty();
1995-08-21 03:24:46 +00:00
leo
9c9abeb6c3
Add Falcon video support. Thanks to Thomas Gerner.
1995-08-20 18:17:09 +00:00
chopps
1e4fbda19c
fix protos ( #1390 ) from Bernd Ernesti <bernd@arresum.inka.de>
1995-08-20 15:22:46 +00:00
chopps
d2ca213101
small cleanup
1995-08-20 15:13:19 +00:00
chopps
b720d4fd09
rename RZ3_64BIT_SPRITE to RH_64BIT_SPRITE
1995-08-20 15:09:25 +00:00
chopps
148e463417
change state (and rename) RH 64BIT option. Add ccd to COFFEE
1995-08-20 15:08:19 +00:00
leo
34e65502e7
- make sure that there is 1 pending software interrupt max.
...
- read status before character, so the status won't be lost (Thomas Gerner)
- accumulate as much interrupts as possible in zshard()
1995-08-20 13:28:10 +00:00
chopps
391bbae93c
make defaults more accessable.
1995-08-20 03:07:25 +00:00
chopps
5e60f02d97
fix grf_rh problem with sprite and allow mode changing.
...
from mw@eunet.ch (Markus Wild)
1995-08-20 02:54:34 +00:00
chopps
c24824f7d7
fix bogus length check ( #1299 )
1995-08-20 02:52:48 +00:00
chopps
461d235743
add more grful stuff
1995-08-19 23:57:19 +00:00
leo
6b9a15416a
- Add 'restbyte' handling for TT.
...
- Don't _ever_ do DMA for less than 512 bytes on the Falcon
- Fix bug in autosense-handling. Now asks for the correct number of bytes.
Now it won't read ghost bytes on the tape anymore.
- Add missing braces as suggested by Matthias Pfaller
- Make it possible to debug requests on a specified number of targets
- Add debug option to show only transaction with error code != 0
1995-08-19 12:36:21 +00:00
pk
a3bb091c9e
Do bootpath matching.
1995-08-18 22:03:59 +00:00
pk
f5252faa3b
Include exec header in length computation.
1995-08-18 21:44:01 +00:00
thorpej
ba2d89fa98
Bring this up to speed.
1995-08-18 20:24:02 +00:00
chopps
d821c2be28
resolve conflict with grf_rt over monitor_defs symbol
1995-08-18 16:46:57 +00:00
chopps
394b87b8f3
change for a2410 from is@Beverly.Rhein.DE (Ignatios Souvatzis)
1995-08-18 16:21:33 +00:00
chopps
fccf65d4c7
new a2410 driver from is@Beverly.Rhein.DE (Ignatios Souvatzis)
1995-08-18 16:15:43 +00:00
thorpej
351c20ab5e
Haven't had hpfplib for a long time.
1995-08-18 16:07:40 +00:00
chopps
08b52eaf6a
add Ariadne driver
1995-08-18 16:00:53 +00:00
chopps
01e68b365a
new Ariadne ether from Bernd Ernesti <bernd@arresum.inka.de>
1995-08-18 15:58:30 +00:00
chopps
a6af3de018
new Ariadne driver from Bernd Ernesti <bernd@arresum.inka.de>
1995-08-18 15:56:56 +00:00
chopps
55b1c5d71b
add rcs ids
1995-08-18 15:53:30 +00:00
chopps
0fe921e96f
ariadne ethernet driver from Bernd Ernesti <bernd@arresum.inka.de>
1995-08-18 15:51:19 +00:00
chopps
2208782633
SCSI disconnects: siop from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
...
and sbic from "Eduardo E. Horvath eeh@btr.com" <eeh@btr.btr.com>
Other cleanup (remove cpu040) and enabling IVS A500 support
from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-08-18 15:27:29 +00:00
pk
8427fe6126
declarations
1995-08-18 10:47:46 +00:00
pk
7b7773a0c5
Use bootpath_store() to set next boot component; used in dk_establish()
...
to match `sd' devices against the PROM's boot path.
Detect DMA "overshoots" when handling odd-sized transfer sizes (e.g., xfers
from/to raw partitions), by using the "Transfer Pad" command when the
transfer count reaches zero.
1995-08-18 10:43:46 +00:00
pk
ffbae23b6e
Set `bootdv' if booted from the floppy drive.
1995-08-18 10:30:16 +00:00
jonathan
d21f86df37
Initialize the ioasic slot probe table for the 3MIN (Decstation 5k/1xx)
...
and MAXINE (Decstation 5k/xx), instead of setting them to NULL.
New-config kernels should work on those machines now.
Rename the definition of the struct cfdriver for the IO ASIC from "asiccd"
to "ioasiccd", as the config-file name changed from "asic" to "ioasic".
1995-08-18 10:15:09 +00:00
pk
f828a4b04c
Add a debug flag.
...
Make `sc_dleft' a `ssize_t' since it's involved in a signed
comparison in esp.c.
1995-08-18 10:09:57 +00:00
jonathan
8ff2cc97a0
Rename "asic" to "ioasic", to be compatible with "machine-independent"
...
turbochannel/asic device drivers. (also comment out tt.c.)
1995-08-18 10:09:20 +00:00
pk
0596f75779
Use actual bus names (matches Chuck's bootpath code).
1995-08-18 08:20:26 +00:00
pk
6d3873af7e
Bootpath construction code and associated SCSI target mapping to aid
...
the search for the boot-device in `swap generic' kernels.
From Chuck, munched by me.
1995-08-18 08:14:28 +00:00
jonathan
c591ca4056
Merge back fixes from the merged Decstation/Alpha driver.
...
Remove all references to #ifdef SPARSE, and use #ifdef alpha instead.
Only initialize ASIC dma on a machine with an ASIC.
1995-08-17 22:28:27 +00:00
leo
db846246ba
Add video registers and other defines for Falcon video.
1995-08-17 20:34:04 +00:00
leo
44d433786d
Remove 2 wrong proto-types.
1995-08-17 20:32:50 +00:00
leo
a1fe704278
Initialize the YM sound-chip to a sane state.
1995-08-17 20:31:31 +00:00
thorpej
66dcd8fd69
Add entries for the ccd.
1995-08-17 17:40:42 +00:00
jonathan
647f483937
Remove turbochannel slot_hand_fill functions and all references
...
to them.
1995-08-17 09:27:18 +00:00
jonathan
2c6601a704
Remove lint in the intializer of the table used to glue new-config
...
drivers and the old-config PMAX-specific scsi drivers.
1995-08-17 06:54:56 +00:00
pk
42802ac2fa
Drop si_minphys().
1995-08-16 23:01:16 +00:00
briggs
68b61ea1ad
Fix comments. .space 0x1000 was accidentally left commented so it
...
still is--just explicitly, now.
1995-08-16 13:18:24 +00:00
briggs
37004a19e4
Missing cast and semicolon in last.
1995-08-16 05:17:31 +00:00
briggs
665a6a78bc
Load the old MacOS ROMBase value back in before we jump to reset.
1995-08-16 04:48:34 +00:00
gwr
238eb3d35a
Correct a comment re. splnet
1995-08-15 17:41:38 +00:00
chuck
72d03ec724
TDR config update (from Theo).
1995-08-14 20:32:38 +00:00
gwr
2666f17777
SCSI bus phase not valid until REQ is true (Fix from David Jones).
1995-08-14 20:00:00 +00:00
pk
de80daa3cd
Make MCOUNT() PIC-safe.
1995-08-14 15:44:36 +00:00
briggs
ae51ffca30
Always fail when probed--until this driver works.
1995-08-14 03:55:28 +00:00
briggs
64ea04b1d0
Be more vocal about interrupts that we don't expect.
...
Include ncrscsi.h and ncr96scsi.h.
1995-08-14 03:16:07 +00:00
mycroft
96d6db2c1a
Export bsd_to_ibcs2_sig[], and use it.
...
Nuke ancient vmtime().
1995-08-14 02:27:30 +00:00
mycroft
9b899c17cd
Export bsd_to_linux_sig[], and use it.
1995-08-14 02:19:08 +00:00
mycroft
0a601c87ba
Rename two functions.
1995-08-14 02:13:42 +00:00
mycroft
1e69f23205
Export bsd_to_svr4_sig[], and use it.
1995-08-14 02:07:57 +00:00
mycroft
baaaba9bc5
Rearrange #includes.
1995-08-14 01:38:24 +00:00
mycroft
9440382c88
svr4_stack_t --> svr4_sigaltstack
1995-08-14 01:13:29 +00:00
mycroft
36a94a031a
Lock the process in core before operating on it.
1995-08-13 09:05:51 +00:00
mycroft
c8e379015c
Fix sysbeep() for the case of pitch == 0, and garbage collect a useless
...
variable.
1995-08-13 04:06:29 +00:00
briggs
7d55e1196e
Document spl()s a bit, order the splfoo()s in splX() order.
1995-08-13 01:52:16 +00:00
mycroft
6deb1a5816
Fix comment on splnet().
1995-08-13 00:45:21 +00:00
mycroft
0e29cb31fa
Replace splnet() with splsoftnet(). Add splnet().
1995-08-13 00:32:47 +00:00
mycroft
a38e73b5a7
splnet --> splsoftnet
1995-08-13 00:32:02 +00:00
mycroft
9a5c8b5f89
Add splsoftnet().
1995-08-13 00:31:28 +00:00
mycroft
7eba547264
Replace splnet() with splsoftnet(). Add splnet().
1995-08-13 00:29:56 +00:00
mycroft
af645f49fb
Make splimp() > spltty().
1995-08-13 00:29:03 +00:00
mycroft
6cc376290b
Replace splnet() with splsoftnet(). Add splnet().
1995-08-13 00:27:11 +00:00
mycroft
7a9cad50cd
Replace splnet() with splsoftnet(). Add splnet(). Make splimp() > spltty().
1995-08-13 00:23:56 +00:00
mycroft
54c9a1df90
Replace splnet() with splsoftnet(). Add splnet().
1995-08-13 00:22:40 +00:00
mycroft
ddd123a7c5
Replace splnet() with splsoftnet(). Add splnet(). Make splimp() > spltty().
1995-08-13 00:21:54 +00:00
mycroft
79cecdbce0
Replace splnet() with splsoftnet(). Add splnet().
1995-08-13 00:20:52 +00:00
mycroft
fa13d32c41
Add splsoftnet().
1995-08-13 00:16:08 +00:00
mycroft
21bd4f21f6
Use splimp(), not splnet(), for now.
1995-08-13 00:07:17 +00:00
mycroft
c5ec5c3003
Add splsoftnet().
1995-08-13 00:03:11 +00:00
mycroft
80d7b0695a
minphys() functions really should return void.
1995-08-12 20:30:45 +00:00
briggs
52e968da1a
Fix oversight in last.
1995-08-12 18:48:47 +00:00
gwr
d9678d59b2
Fix up DVMA-related confusion. Disk boot now works.
1995-08-12 18:38:30 +00:00
briggs
1fd03600dd
Get rid of cpu040 for good.
1995-08-12 04:08:29 +00:00
leo
24644e5151
New version of NCR5380-SCSI driver. This version is far more generic than
...
the previous version. The machine dependent part contains the configuration
for both the TT and FALCON. The configuration files have been changed to
select SCSI-support for either TT, Falcon or both.
The configuration file for the Atari-Falcon will only get _really_ usefull
when the Falcon video part is finished.
1995-08-11 20:01:15 +00:00
briggs
8f58d57321
Don't fake these values.
1995-08-11 17:48:19 +00:00
briggs
72d557cf87
The serial console works again (at least on the Q700).
1995-08-11 03:29:07 +00:00
briggs
d192d70a87
Note that we've been initialized.
1995-08-11 03:02:04 +00:00
briggs
100380f075
Do the serial console a bit better (still has problems).
1995-08-11 03:00:15 +00:00
jonathan
6a43b6e3a1
Re-port the Alpha versino of NetBSD's machine-independent LANCE driver
...
back to the DECstation. Boots on 3MAX and 3MAXPLUS. The bug-fixes
applied to this driver since it forked off the Decstation code also
seem to fix long-standing DMA problems with the Decstation SCSI driver.
1995-08-11 02:12:56 +00:00
chuck
0744a4dc6a
sync with hp300 version (cpu_coredump changes)
1995-08-10 19:46:45 +00:00
chuck
b256a1bf82
sync with hp300 version
1995-08-10 19:44:01 +00:00
chuck
939f7eb7d0
add bounds_check_with_label(), and thus sync with hp300 version.
1995-08-10 19:36:41 +00:00
chuck
f54a288467
minor alphabetize clean up
1995-08-10 19:18:02 +00:00
chuck
d65beaf096
add bcea[] (as per sun3 port)
1995-08-10 16:21:54 +00:00
jonathan
37e46e6b64
clockattach() wasn't printing a newline; add it.
1995-08-10 10:50:58 +00:00
jonathan
69f95bd2bb
Use "lance" as the name of the PMAX (kn01) Lance device, not "le", since
...
"lance" is what the Alpha drivers use.
1995-08-10 10:49:46 +00:00
jonathan
0822ab0fe1
Map from NetBSD/Alpha names for machine-dependent functions (e.g.,
...
"force this pending write to complete") to the names used in NetBSD/pmax.
1995-08-10 05:29:11 +00:00
jonathan
b42e35d645
Un-comment dependency on file cpu.c, since cpu.c has been commited to CVS.
1995-08-10 05:22:26 +00:00
jonathan
0b4c870908
Change DEcstation autoconfiguration to use new-style config.
...
All devices except SCSI disks and tapes are found using new config only.
SCSI disks and tapes are configured using a table edited from an ioconf.c
produced by config.old.
Boots multi-user on PMAX, 3MAX and 3MAXPLUS. The old-style "slot hand fill"
functions for those machines, and the old TurboChannel configuration
main loop, have been removed.
Since new-style config runs later in boot than the old pmax turbochannel
probing, we no longer know what devices will be configured when consinit()
is called. Use PROM output until autoconfig is finished.
1995-08-10 05:17:07 +00:00
jonathan
bc6e09fad6
Remove extraneous debugging printf()s when running on processors
...
this code has been tested on.
1995-08-10 04:31:46 +00:00
jonathan
a1a7750426
Move IO ASIC interrupt-enable outside #ifdef DEBUG, where it had
...
accidentally snuck in. Clean up debugging messages and explicitly
give a warning on CPUs the code hasn't been tested on.
1995-08-10 04:30:41 +00:00
jonathan
e3b5a34826
Update DECstation Lance ethernet driver to use new-style config.
1995-08-10 04:27:43 +00:00
jonathan
88b9b7eb4a
Update DECstation drivers to use new-style config, removing
...
old-style config support, except for SCSI disks and tapes.
1995-08-10 04:21:35 +00:00
briggs
81cc5998a1
Missing increment operator for if_opackets in last change.
1995-08-09 12:16:10 +00:00
briggs
b4eecb5362
We need to set cpu040 for just a while longer.
1995-08-09 03:25:25 +00:00
briggs
53af1e73b8
Make sure we don't remap video/serial before we're done writing to it.
1995-08-09 03:23:57 +00:00
briggs
71b21ba74e
Don't go bonkers if we don't have a real swap device.
1995-08-09 03:22:50 +00:00
briggs
dbdcebe34b
Fix a few 040-isms, remove an old comment, and add a few things for the future.
1995-08-09 03:21:59 +00:00
mycroft
3ee59cd771
Fix oversight in previous change; spl*() must also block
...
software interrupts.
1995-08-09 01:47:37 +00:00
jonathan
96f7ad7c6e
Add missing "priority" field value in KN02 "asic" configuration entry for
...
the Dallas-compatible real-time clock. The missing entry caused the offset
to end up in the "priority" field. New-style config now boots cleanly on a
KN02 (3MAX).
1995-08-09 01:21:43 +00:00
gwr
67ad80c6ed
Not really useful anymore.
1995-08-08 22:28:32 +00:00
gwr
75dc312695
Do errno translation when emulation needs it.
1995-08-08 21:11:47 +00:00
gwr
ee8dd73508
Make this link with PMAP_DEBUG turned off.
1995-08-08 21:10:18 +00:00
gwr
73d4eba4cf
Only allow mmap in "managed" RAM for now.
1995-08-08 21:09:01 +00:00
gwr
fafc2a527a
Fix signed/unsigned comparison in dumpconf().
1995-08-08 21:07:52 +00:00
gwr
106e4e8c4a
Fix "oops" line that was supposed to increment tv_usec
...
(just to make sure time keeps moving 8^)
1995-08-08 21:05:48 +00:00
gwr
dac3687c31
Make it work with obj dirs. (from Jason Thorpe)
1995-08-08 21:02:04 +00:00
gwr
7eda63e726
Get rid of libnet
1995-08-08 21:00:00 +00:00
gwr
b090a64678
Add bcea[] here now that is is gone from arp.c
1995-08-08 20:59:07 +00:00
gwr
59078e8a4b
Cosmetic (fix order)
1995-08-08 20:57:51 +00:00
gwr
239821855f
Add default value for SHMMAXPGS (from Jason Thorpe - fixes PR#1220)
1995-08-08 20:56:45 +00:00
gwr
c96c328a9d
Use old-style function definitions (like the sparc driver).
1995-08-08 20:54:08 +00:00
gwr
2a3eef935e
Improve handling of a device that "sits on" the bus (from Jason Thorpe)
1995-08-08 20:53:16 +00:00
gwr
9ede017ccb
Set TIMEZONE=0, DST=0 (which is correct for the hardware clock).
1995-08-08 20:51:26 +00:00
thorpej
0b486f9aa0
Add bounds_check_with_label().
1995-08-08 06:23:08 +00:00
jonathan
19e02269b2
New-style config (config.new) autoconfiguration code for Decstation
...
turhsturbochannel machines. Lifted wholesale from cgd's Alpha
turbochannel code, with changes that reflect the slightly different
bus topology and `slot' numbering on Decstations.
1995-08-07 07:07:43 +00:00
mycroft
8e77047f2c
Make new-style core dumps.
1995-08-07 06:13:57 +00:00
mycroft
bc59b73733
Merge npxinit() into npxdna(), and remove duplicated code.
1995-08-06 19:48:58 +00:00
mycroft
b725d8b30b
Update the comment describing how this works.
1995-08-06 19:31:49 +00:00
mycroft
3c20501d57
Clear MDP_USEDFPU on exec. Set it in process_write_fpregs() unconditionally,
...
for the benefit of the emulator.
1995-08-06 19:01:14 +00:00
mycroft
ef504e724d
Fix oversight in previous.
1995-08-06 18:05:22 +00:00
mycroft
764d69bf8e
Make process_write_fpregs() safe.
1995-08-06 18:02:22 +00:00
mycroft
d730fead60
Eliminate direct uses of curproc in npxdna() and npxinit().
1995-08-06 17:59:10 +00:00
mycroft
0affdcf4d8
Pass curproc to npxdna().
1995-08-06 17:54:35 +00:00
mycroft
ccdf6ac81b
Change le0 iosiz.
1995-08-06 16:14:29 +00:00
mycroft
a326c49adf
Stop using cr0 to flag that the FPU has not been used.
1995-08-06 06:05:28 +00:00
mycroft
ce7cc0c18a
Move the `used fpu' flag into mdproc, so it can be referenced when a process
...
is swapped out. Implement process_{read,write}_fpregs.
1995-08-06 05:32:59 +00:00
briggs
3b5979d56c
Remove cpu040 use from here. It should only be used at boot time.
...
Take out old method for determining load address for IIci/si.
Set all but IIsi/ci to use a clock initialization value of 115200 (not
the baud rate... ;-).
1995-08-06 04:39:56 +00:00
mycroft
61d9ac2bb7
Remove vnode_if.[ch] when cleaning.
1995-08-05 23:39:41 +00:00
leo
3f76d2e7eb
Add disklabel support. In addition to the 'faked' disklables NetBSD/Atari
...
now also supports native NetBSD labels. When a NetBSD label is found it
overrules the Atari AHDI-partitioning.
1995-08-05 20:24:16 +00:00
thorpej
b56fc99724
Catch up with an include file change I missed before.
1995-08-05 16:47:34 +00:00
thorpej
1773fd4286
Kernel configuration file for my hp380.
1995-08-04 08:26:52 +00:00
thorpej
6143739a03
Acknowledge the Archive Viper 60 tape. Fixes pr-863.
1995-08-04 08:17:43 +00:00
thorpej
fc1f217977
Update for conf.h changes.
1995-08-04 08:12:57 +00:00
thorpej
62572d6658
Kill bogus if_addrlist check.
1995-08-04 08:08:41 +00:00
thorpej
89e7efa8d1
Zap compiler warnings in the check for a trace trap.
1995-08-04 08:06:27 +00:00
thorpej
4313e3aa62
Make the boot blocks compile (and work!) again.
1995-08-04 07:55:34 +00:00
thorpej
be13d8f6bf
Spring cleaning.
1995-08-04 07:40:31 +00:00
briggs
110cf98100
Get rid of int_video_{start,length} and wierd nubus mapping.
1995-08-04 03:21:46 +00:00
briggs
70065c2ed5
Nuke int_video_start in favor of consistent use of mac68k_vidlog.
...
Don't find the internal video more than once.
Probe for internal video before nubus instead of after.
1995-08-04 02:55:06 +00:00
briggs
fb5e0a34bb
Be consistent and use mac68k_vidlog instead of int_video_start.
1995-08-04 02:47:31 +00:00
jonathan
28c5634912
Add dk_establish() and bounds_check_with_label(), from the alpha port, for
...
the machine-independent SCSI driver. Untested.
Only print diagnostics about reading Ultrix labels when DIAGNOSTIC is defined.
1995-08-04 02:34:24 +00:00
jonathan
c4f9523535
Fix cut-and-paste error in device order (clock).
1995-08-04 01:47:37 +00:00
jonathan
4e33c9f0dc
Snapshot of a prototuype for a new-config GENERIC configuration.
...
This relies on an ugly mixture of new-style config and old-style config.
1995-08-04 01:24:39 +00:00
jonathan
d55e0dddac
Restructure configure(): move turbochannel-device configuration
...
into a separate function for readability. Rework interrupt initialization,
so interrupts are never enabled until configuration has found and
attached all devices. Call spl0() just before probing the scsi bus,
as the DECstation scsi code can't poll, and hangs if interrupts
are disabled.
Add preliminary support for new config, protected by #ifdef NEWCONF/#endif.
Cosmetic changes to swapconf() and setroot() to reduce distance
from Alpha versions of same.
1995-08-04 01:14:17 +00:00
jonathan
43f316f423
Declarations for new-config autoconfigure, based on NetBSD/Alpha.
1995-08-04 00:34:15 +00:00
jonathan
1bacfdc2dd
Add preliminary support for new-style configuration: struct cfdriver,
...
and match and attach code. Still use the static softc so that drivers
work with kernels configured with either new or old config.
1995-08-04 00:26:35 +00:00
jonathan
d7bb0a516f
Add header files with prototyped declarations of the serial-chip hooks
...
used by old-style pmax console configuration.
1995-08-04 00:22:02 +00:00
jonathan
f7b8418b54
Add a prototype for (tc_enable_interrupt)().
1995-08-04 00:16:01 +00:00
cgd
9c8d63d05b
oops; trim some bogus 1994's from copyrights
1995-08-03 01:23:08 +00:00
cgd
60d53ca3d9
oops; trim some bogus 1994's from copyrights
1995-08-03 01:12:15 +00:00
cgd
bedee1822d
simplify various configuration code by setting function pointers and
...
calling the functions they point to. do real console initialization.
always include ecoff code (it's the "native" format, for now).
simplify kernel argument gathering.
1995-08-03 01:04:03 +00:00
cgd
cde26bf293
kill MD #ifdefs, pull primary bus name from global
1995-08-03 01:01:26 +00:00
cgd
44b967e45f
kill alpha_mb(); it's now inlined. make copy functions' frame sizes
...
more easily adjustable.
1995-08-03 01:00:11 +00:00
cgd
196db616cf
kill bogus comments, unnecessary functions
1995-08-03 00:58:33 +00:00
cgd
d55a404ae1
cpu-specific functions which could be split out of various parts of
...
machdep.c. There probably is a better way to this this code up, but
i picked this one for simplicity, for now...
1995-08-03 00:57:05 +00:00
cgd
f300c21d2e
entries for wsc, com
1995-08-03 00:55:27 +00:00
cgd
49ee71b3c5
MB -> wbflush
1995-08-03 00:54:28 +00:00