mycroft
7263209ce6
Make each disk and tape driver define its own read and write functions.
...
Deprecate rawread() and rawwrite() completely. Remove d_strategy from cdevsw to
force the abstraction barrier.
1995-07-04 07:15:28 +00:00
briggs
f92d7eb51f
Clean up some types.
1995-07-04 03:34:09 +00:00
briggs
4d6ed092f1
Fixup a comment.
1995-07-04 03:30:11 +00:00
briggs
1040af3492
Add missing interface for getting a grfmode structure from kernel.
1995-07-02 05:26:27 +00:00
briggs
ed434b457d
Fix grfmap() as well as grfmmap().
1995-07-02 00:49:52 +00:00
briggs
932a8fc9af
Set and use new fboff element from grfmode structure.
1995-07-02 00:30:25 +00:00
briggs
af7f31e30a
Add a couple elements to the grfmode structure.
1995-07-02 00:29:03 +00:00
briggs
3401cca400
Fix buglet that was missed when converting nubus to non pa==va mapping.
1995-07-01 23:40:38 +00:00
briggs
303845a487
Remove this define--we're using the new dump type.
1995-07-01 18:47:51 +00:00
briggs
eec2d38c71
Take out ncr96scsi0.
1995-07-01 16:35:54 +00:00
briggs
36654b75d9
Use flags for scsi interrupts. clean up a small bit.
1995-07-01 16:35:16 +00:00
briggs
175a1e27f4
add needs-flag for the scsi chip interfaces.
1995-07-01 16:28:13 +00:00
briggs
12ab0410c7
Clean up a tad.
1995-06-30 05:25:41 +00:00
briggs
fcde92bcba
Fix straytrap(). Update a few values in the ROM table.
1995-06-30 05:25:01 +00:00
briggs
5fced13f51
Ooops.
1995-06-30 05:23:03 +00:00
briggs
705e6bd12b
Fix oversight.
1995-06-30 05:21:33 +00:00
briggs
29bb03860c
Option key fix from Ken Nakata (kenn@remus.rutgers.edu).
1995-06-30 01:23:21 +00:00
cgd
2b71eae2c7
note that most of dev/ic's contents have changed names
1995-06-28 04:30:30 +00:00
briggs
829668e8d3
Some random cleanup and some cleanup of the dump routines, modelled on
...
i386. Untested. Remove old mac68k-specific stack trace code, etc. as
the cleanup.
1995-06-28 04:09:25 +00:00
cgd
2d49c3885b
clean up definitions of ctod(), dtoc(), ctob(), btoc(), btodb(), and
...
dbtob(). remove unused definitions of ctos(), stoc(), and dtob().
1995-06-26 06:55:38 +00:00
cgd
1c0be437b1
define __BDEVSW_DUMP_OLD_TYPE for ports where it's true. clean up
...
some m68k ports inclusion of common header.
1995-06-26 05:13:37 +00:00
briggs
600cdad805
Stupid typo in last.
1995-06-25 14:02:09 +00:00
briggs
50d8509da2
Stupid pasto in last.
1995-06-25 13:53:21 +00:00
briggs
0958ef72c8
Add libcompat.
1995-06-25 13:39:37 +00:00
briggs
2a153a49b1
Fix the clean target.
1995-06-25 13:06:32 +00:00
briggs
4d6069140b
Get the units right...
1995-06-25 04:49:05 +00:00
briggs
b1addb6674
Patches from Walter Ruetten (walter@ghpc8.ihf.rwth-aachen.de)
...
and Daniel Risacher (magnus@mit.edu ). Apparently with some
helpful discussion from John Wittkoski (jpw@insoft.com ).
This works on my IIcx and IIsi. Still needs a bit of cleaning up.
1995-06-25 03:24:09 +00:00
briggs
b1598cdd1b
Remove a compile warning.
1995-06-25 02:46:46 +00:00
briggs
fc6fb65d62
Do something a lot closer to the right thing for FPU_EMULATE/FPSP/040
...
and subsets thereof.
1995-06-25 02:45:14 +00:00
briggs
5781a8dcc0
The kernel is called netbsd, not vmunix.
1995-06-24 17:24:24 +00:00
briggs
4f05f7e8f6
pmap_page_index isn't a macro.
1995-06-24 16:18:50 +00:00
briggs
1dadb15deb
Remove DIAGNOSTIC
1995-06-22 23:24:18 +00:00
briggs
3ddc81510c
Add avail_end to keep ps and friends happy. Possibly a short-term fix.
1995-06-22 03:08:29 +00:00
briggs
1ccd38d9e1
Don't use constants for addresses. VA != PA...
1995-06-21 03:59:07 +00:00
briggs
229ed22747
Add function to reconfigure addresses when ROM is remapped.
1995-06-21 03:46:52 +00:00
briggs
2beeae8058
Lots of changes from hp300.
...
Removed MACHINE_NONCONTIG conditionals. Only support that
configuration, now.
Some cleanup.
1995-06-21 03:45:10 +00:00
briggs
49b9eb5e4d
A number of clean-up related changes and a few changes relating to
...
the new mapping. "real mem" is now correct for MACHINE_NONCONTIG
machines. MACHINE_NONCONTIG conditionals have been removed--only
support that case, now.
1995-06-21 03:41:51 +00:00
briggs
778adb81d1
Bring in 040 code from hp300 port.
...
Remove memory mapping code.
Update cpu_switch and a few other functions from hp300 port.
1995-06-21 03:36:27 +00:00
briggs
3d04799c79
Remove warning.
1995-06-21 03:20:58 +00:00
briggs
19b569364f
Cleanup some--needs more pruning.
1995-06-21 03:20:22 +00:00
briggs
37b6dc390f
Put page mapping code into a C module.
...
Remove old 040 version of page mapping--new way handles 040, too.
Derived from hp300 pmap_boostrap.c.
1995-06-21 03:19:35 +00:00
briggs
4a9e8ef39f
Raise MAXTSIZ, double DFLDSIZ and quadruple MAXDSIZ. Lower USRPTSIZE.
...
Remove unused mapin() macro. Update VM_MAX* macros to look like the
amiga's (easier to read than hp300's).
1995-06-21 03:17:06 +00:00
briggs
5dd8297b11
Cleanup some and make these look more like hp300 versions.
1995-06-21 03:14:06 +00:00
briggs
23622438bf
Get rid of pcb_cmap2.
1995-06-21 03:10:44 +00:00
briggs
c2184f6f5b
Update to look more like hp300. Clean up a lot.
1995-06-21 03:08:29 +00:00
briggs
04834fb800
Remove cpu_set_init_frame() define.
...
Remove BROKEN_SWAP
Change cpu_swapout() to null-op.
Remove profile_tick() define.
Add some 040 stuff and make other 040 stuff compat. with hp300 port.
Cleanup a bit.
1995-06-21 03:06:33 +00:00
briggs
7542473d6d
Clean up I/O base settings a bit.
1995-06-21 03:03:13 +00:00
briggs
697011742c
Add some debugging (conditional on DEBUG). Add a more correct probe for
...
internal video. Clean up nubusprint() a bit.
1995-06-21 02:59:08 +00:00
briggs
e4ff96e47c
Make NUBUS_BASE_TO_SLOT and reverse not depend on VA==PA for NuBus.
...
Add constant for DRSW_FARALLON.
1995-06-21 02:57:19 +00:00
briggs
6ff2537ad3
Make no assumptions about the absolute address of nubus cards.
1995-06-21 02:52:09 +00:00
briggs
cb00a78de3
Treat 0 as a failure case for ae_id_card() and take out
...
null-op check for a 0 addrlist in init.
1995-06-21 02:50:22 +00:00
briggs
f462aa095a
Be a bit more careful on the probe... Make sure that the current slot's
...
addresses contain the int_video_start--or assume that internal video is
is "slot" 0xE.
1995-06-21 02:48:00 +00:00
briggs
1eec6bfc33
Add pmap_bootstrap.c and take out mac68k_init.c.
1995-06-21 02:43:19 +00:00
jtc
55fbbc705d
Wrap with #ifndef _XXX_FLOAT_H_/#define _XXX_FLOAT_H_/ ... /#endif.
1995-06-20 20:45:22 +00:00
briggs
67bfc330f1
Fix a typo that's gone unnoticed for a long time. Noticed by Brian
...
Gaeke (brg@dgate.org ).
1995-06-20 05:13:19 +00:00
briggs
caa1421dd6
Add FPSP back.
1995-06-19 03:55:15 +00:00
briggs
6f06373e06
Take out M68040, add a more specific swap and add vnd.
1995-06-19 03:53:58 +00:00
briggs
fec7ba6562
Rearrange slightly.
1995-06-16 04:45:22 +00:00
briggs
d37674426a
"Always compile before you commit."
1995-06-09 02:19:47 +00:00
briggs
90caf013ba
In the interrupt routine, bail out if we've not been initialized, yet.
1995-06-08 12:52:02 +00:00
briggs
0b3271404c
Make genassym depend on its C source.
1995-05-31 00:09:55 +00:00
briggs
81712d5ba7
Make a diagnostic message DIAGNOSTIC.
1995-05-25 11:48:06 +00:00
briggs
0521ad83a0
Make comment fit reality.
1995-05-17 00:45:55 +00:00
briggs
2b47f281fe
Some cleanup.
1995-05-17 00:37:33 +00:00
briggs
94ce6105d2
Add configuration for my gateway machine.
1995-05-17 00:33:59 +00:00
briggs
a43ca9e742
Nuke cpu_exec and remove extra semicolon on cpu_swapout() panic string
...
(preparing for more changes in a bit...)
1995-05-17 00:30:16 +00:00
briggs
fd807928aa
Add a memcpy entry point as at least a temp fix for compiling with a
...
recent gcc2 snapshot.
1995-05-17 00:28:14 +00:00
briggs
6201783f37
Set A2 to PS_STRINGS in setregs().
1995-05-17 00:00:42 +00:00
briggs
725cb78165
Actually probe for 881 vs. 882. Also add a case for 040, although it's
...
really lip-service at the moment.
1995-05-10 03:19:00 +00:00
briggs
56b5c26854
Get rid of a printf() that got left behind in the probe.
1995-05-06 18:44:48 +00:00
briggs
c4cb3e244c
Probe this like the other devices.
1995-05-06 18:33:19 +00:00
briggs
331e2bd82b
Add some code/defines to differentiate Asante and Interlan/Gator cards
...
correctly with the new nubus code.
1995-05-05 05:40:13 +00:00
cgd
8703076975
define BROKEN_SWAP and/or cpu_swapout as appropriate.
1995-05-05 03:41:51 +00:00
briggs
34e5f975f9
Don't set mrg vectors if we're using the serial console--this allows
...
machines w/ non-working desktop bus to actually get on with booting.
1995-04-30 17:01:06 +00:00
briggs
59b4da2b39
Add new nubus handling that's much more robust.
...
Update via, if_ae, and grf accordingly.
Revamp grf.
1995-04-29 20:23:36 +00:00
cgd
0e59975fac
rename files files for new config/config.old naming
1995-04-28 08:19:12 +00:00
christos
843a2a3539
Use new files.sunos
1995-04-27 12:08:54 +00:00
briggs
a2bc99d6f1
Make these compile again.
1995-04-23 00:37:23 +00:00
christos
545f388282
Removed sunos_machdep.c
1995-04-22 23:40:24 +00:00
christos
94289bf2b0
Move sunos_machdep.c to m68k
1995-04-22 23:39:02 +00:00
christos
c5f01c2a4c
Fixed comparison in SYS__syscall to be against sysent instead of
...
p->p_emul->e_sysent [Thanks Charles for pointing this out].
I think that this code needs to be fixed anyway for emulations where
SYS_syscall is not the same number as the NetBSD one (0)... (Only the
alpha port so far?)
1995-04-22 20:49:06 +00:00
christos
de42a28a1b
- added sunos_machdep.c for sun3, atari, amiga and mac68k.
...
- changed machdep.c and trap.c to use struct emul.
- remove ep_setup references.
- added struct emul to all emulations.
1995-04-22 20:24:40 +00:00
briggs
74b3f483db
Define DELAY.
1995-04-22 13:17:51 +00:00
briggs
a992a8136c
Add some multicast byteorder-related changes from djh@mulga.cs.mu.OZ.AU.
1995-04-22 12:08:12 +00:00
briggs
dda57ad059
Use vfs_shutdown().
1995-04-22 11:53:40 +00:00
briggs
9e1f939930
Get rid of old file from hp300 origins!?
1995-04-21 11:35:15 +00:00
briggs
5982b968a9
Enable nubus interrupts after registering.
1995-04-21 04:01:27 +00:00
briggs
7063b53b26
Separate nubus interrupt registry and enablement.
1995-04-21 04:00:55 +00:00
briggs
6bc53a2398
Handle grf_softc in the config.new manner.
...
Should have been done long ago.
1995-04-21 03:44:13 +00:00
briggs
13efb6c197
First pass of KNFication. Needs more.
1995-04-21 02:47:35 +00:00
briggs
85025d789c
Prototype iteopen correctly (oversight from a while back...).
1995-04-20 15:46:56 +00:00
briggs
a6ba5f8f7e
Update to use softc better and handle mainbus being indirect.
1995-04-20 15:32:01 +00:00
briggs
8288b9238d
Make mainbus an indirect device--needs more work, but it does function.
1995-04-20 15:31:23 +00:00
briggs
64bd3f0995
Move to ptytty
...
Nuke the grf's reset space holder.
1995-04-20 15:30:22 +00:00
briggs
df693904cd
include mi scsi files file.
...
Change several devices from needs-count to needs-flag.
1995-04-20 15:28:54 +00:00
briggs
4137a8ff57
Add itetty().
1995-04-20 15:27:43 +00:00
briggs
a7f44caf1b
Add a sertty() and update to use ser_softc instead of a bunch of arrays
...
everywhere.
1995-04-20 15:27:12 +00:00
briggs
1286501d43
Grab the sun3 cpu_coredump().
1995-04-20 15:25:41 +00:00
briggs
7345c91d2e
'twould help to unmount the filesystems, wouldn't it?
1995-04-19 14:01:58 +00:00
briggs
bf68945da5
Define struct ae_ring which is necessary because BYTE_ORDER == BIG_ENDIAN,
...
but the card is in x86 byte order mode because NuBUS does the swap "for us"
on 16- and 32-bit transfers. We should probably figure some way to use
the std struct ed_ring if/when all the 8390 drivers are all fully merged.
1995-04-19 04:46:06 +00:00