Commit Graph

276 Commits

Author SHA1 Message Date
briggs
2bb2aa0788 Nuke pseudo-device con. 1994-07-09 06:26:24 +00:00
briggs
4b3d50f976 Oops... Forgot to check in w/ FPSP support. 1994-07-08 11:47:10 +00:00
briggs
8afa3a3b98 Just a checkpoint. Still not close to working, but TUR works--more docs
coming today...
1994-07-08 11:38:48 +00:00
briggs
c99467f6d1 Add a constant for masking off the scsi phase from the status register. 1994-07-08 11:36:59 +00:00
lkestel
e934f668f1 autoconf.c: added ite.
conf.c: added ite and adb.
cons.c: replaced mac* functions with itecn* functions.
machdep.c: ditto.
1994-07-08 07:57:48 +00:00
lkestel
29f12f9bc6 6x10.h: shifted font over by two pixels.
keyboard.h: added constants for commonly used keys and reformatted
  array so that gcc would be happy.
adbsys.c: new adb system.
bounds.h: bound-checking macros.
ite.c: new built-in mini-console.
8x14.h: no longer used by built-in console.
adb.c: replaced by adbsys.c
1994-07-08 07:55:46 +00:00
briggs
ebefb5b706 Whoops. Forgot to make rei globl in this copy. 1994-07-07 01:46:44 +00:00
briggs
938fc1f67d Apparently the registers for the NCR 53c96 in the mac are laid out
the same as they arefor the 5380--15 bytes of padding between each
reg.  Define a structure for that here, now.
1994-07-07 00:29:37 +00:00
briggs
f310747381 Cast vmmap in call to pmap_enter() to satisfy compiler. 1994-07-07 00:28:14 +00:00
briggs
9e2e924213 Use newer fpsp code. Nuke lots of glue in locore.s, change vectors
directly if FPSP and move back to HP numbering for mmutype which is
used as cputype for FPSP.
1994-07-07 00:27:12 +00:00
briggs
497a776ba6 Add MMU constants. 1994-07-07 00:25:10 +00:00
briggs
b144a7a279 Revert back to old HP MMU defines so we can use fpsp w/o changes. 1994-07-07 00:24:10 +00:00
briggs
782af154d0 Need the extra byte in the temp buffer to avoid overrun in scrollup on
wide screens.
1994-07-05 03:48:56 +00:00
briggs
d0f0219076 Don't blow up on huge screens. 1994-07-04 23:05:34 +00:00
briggs
ec394b297c A few things that I think are probably bogus, but I'm getting a lot
farther, now...
1994-07-04 22:44:24 +00:00
briggs
405051c0f8 Make sure TT's are disabled along with the MMU.
TBIA for paranoia's sake.
1994-07-04 22:41:47 +00:00
briggs
ae562c7ee4 ifdef out FPSP support to avoid having to use fpspnull.
Fix a bogon.
1994-07-03 11:57:56 +00:00
mycroft
3410def915 Clean up deleted files. 1994-07-03 04:27:17 +00:00
briggs
c2bd0b444a Scam from amiga and update a little for the current tree. May need some
more work.
1994-07-02 13:11:10 +00:00
briggs
04ea0266b3 Getting a lot closer. Took out a lot of debugging output. 1994-07-02 13:04:49 +00:00
briggs
2e3a0bfade Get rid of exec_aout.h inclusion. 1994-07-02 13:04:03 +00:00
briggs
712c344e9d Turn off MMU early on '040 machines. Put gray_bars around this in case
it hangs on some machine.  (Q700 is mapped PA==LA in MacOS--at least in
this version of the MacOS).
1994-07-02 13:03:13 +00:00
briggs
e24c7f4fc9 The NCR 5380 driver is now called ncrscsi instead of ncr. 1994-07-02 13:01:32 +00:00
briggs
ebdc074703 Reset sccaddr if we're resetting the video address.
Nuke some debugging output.
1994-07-02 13:00:37 +00:00
briggs
cefec1332a Still not working, but getting closer. Lots of debugging stuff left in
here.
1994-06-29 04:59:05 +00:00
briggs
cd7957a201 Only do some of these mods on the first pass. 1994-06-29 04:57:43 +00:00
briggs
984ca4e84d Oops. w/ 4k pages, PTSIZE is larger. 1994-06-29 04:55:57 +00:00
briggs
3f62caebc0 MIN->min. Should be using sys/scsi stuff instead. 1994-06-26 13:26:05 +00:00
briggs
ef1af9fc59 Cleanup a lot and bring in line w/ 4.4-lite. 1994-06-26 13:25:16 +00:00
briggs
f5c81ba898 Add md_coredump. 1994-06-26 13:24:44 +00:00
briggs
4d315aa38f Fix warnings... 1994-06-26 13:23:46 +00:00
briggs
a9cda66bb3 PG_CC -> PG_CCB 1994-06-26 13:23:01 +00:00
briggs
96f45a2901 First pass at a header file for the NCR 53C96 driver (still under
construction).
1994-06-26 13:22:32 +00:00
briggs
e606973964 Cleanup some. Deprecate a few defines that are no longer needed. 1994-06-26 13:21:49 +00:00
briggs
d073018ba1 Checkpoint. Preliminary code for bootstrapping on the 68040 macs. 1994-06-26 13:20:19 +00:00
briggs
229224d1fc Huge, gigantic changes... Including:
68040 support--some by me, much from Amiga...
some cleanup
The hp300 rei
A number of frame-related fixes.  Finally all found, I think, thanks to
the sharp eyes/mind of Brad Grantham, Lawrence Kesteloot, and Steve Allen.

The upshot is that we're finally booting again on the machines that
used to work.
1994-06-26 13:19:18 +00:00
briggs
1d1d8e0529 Add probe for new scsi driver to top level of configuration. 1994-06-26 13:14:54 +00:00
briggs
5e272bc697 Added new constants. Changed some old. Overhauled includes a bit. 1994-06-26 13:13:54 +00:00
briggs
4c4e964e6f Checkpoint. Will change some with new keyboard/mouse support is added
soon.  Still lots of warnings...
Added functions for 4.4-lite.
1994-06-26 13:12:41 +00:00
briggs
f30d68f34f Lots of changes/cleanup. Note some additions for 4.4-lite and some
more functionality for setmachdep.  Grantham suggests that maybe
function tables or some such would be a better way to handle some of
these machine-dependent function--I concur that that would be TRT.
1994-06-26 13:11:11 +00:00
briggs
bcebe4a2be MIN/MAX -> min/max 1994-06-26 13:08:25 +00:00
briggs
dc27d4b943 mmap -> pmap_mmap.
extiobase -> NuBusBase
intiobase -> IOBase
some other minor changes.
1994-06-26 13:07:48 +00:00
briggs
163c2a1648 ufs_mountroot -> ffs_mountroot 1994-06-26 13:06:08 +00:00
briggs
e20fd9492d Massive changes--largely culled from Amiga version. 1994-06-26 13:05:33 +00:00
briggs
c1d16764ed Change some constants to better values/don't use constants as much. 1994-06-26 13:04:40 +00:00
briggs
5f17aeeff4 Update for 4.4-lite. 1994-06-26 13:03:42 +00:00
briggs
4ade6821f7 Minor mods. Get rid of constants, or update to use a better default
value.
1994-06-26 13:02:41 +00:00
briggs
a71a746946 MIN -> min. This needs a lot of work. 1994-06-26 13:01:24 +00:00
briggs
03d286dddc Add some support for the '040 macs which use a different scsi chip. The
scsi96 driver is just a skeleton at the moment.
1994-06-26 13:00:32 +00:00
briggs
03095bbdd6 Don't assume NuBus is at NBBASE. We might remap it. 1994-06-26 12:59:19 +00:00
briggs
bc8e4f3bb2 This should probably be deprecated--minor slash job. 1994-06-26 12:58:13 +00:00
briggs
f556898e64 Change some default constants--might be overridden during boot, but
correct for MacII-class.
1994-06-26 12:57:27 +00:00
briggs
4d47d6a194 Let's not hard-code constants, OK? 1994-06-26 12:56:26 +00:00
briggs
4052db0a25 Erf. Forgot to put mac68k_init.c in alphabetically. 1994-06-26 12:55:32 +00:00
briggs
8c801bb064 Add mac68k_init.c and scsi96.c for 68040 macs and configure them. Not
much uses them, yet, but also added the MC68030 and MC68040 options.
1994-06-26 12:53:36 +00:00
briggs
cacbca4756 Checkpoint. GENERIC has some things disabled. Makefile updated for
vnode_if and some cleanup.  copy.s added to files.
1994-06-25 04:58:01 +00:00
briggs
1d8170c29b Copied from Amiga. Just include m68k/profile.h. 1994-05-23 03:54:52 +00:00
briggs
fbc2a6679b Get things to compile with latest changes. 1994-05-06 17:39:19 +00:00
briggs
397e0acc8d Missed some warnings... 1994-05-06 17:38:38 +00:00
briggs
c22c80abac Clean up some warnings, mainly w/ timeout(). 1994-05-06 03:34:53 +00:00
briggs
83e8ab7114 Don't even pay lip service to HPUXCOMPAT, now COMPAT_HPUX. 1994-05-04 05:25:41 +00:00
briggs
5425d74562 Make external definition for cpu040.
trap.c: Fix dumb (but compilable and linkable) typo.
1994-04-22 12:11:16 +00:00
briggs
8f39772f16 Make external definition for cpu040. 1994-04-22 12:10:36 +00:00
briggs
f531170611 Add '040 stuff from Amiga.
Modified TBIA and friends which were all basically flushing everything
to satisfy year-old paranoia.
1994-04-21 23:34:17 +00:00
briggs
54697fa4bc Almost a copy from Amiga. 1994-04-21 23:32:43 +00:00
briggs
c731281873 '040 changes from Amiga. 1994-04-21 23:30:45 +00:00
briggs
c0a4759ca8 Add NETISR_ARP from hp300
Add some basic, preliminary stuff for Q700 support.
1994-04-21 23:29:59 +00:00
briggs
a5750451cb Include cop.
Add '040 stuff from Amiga.
1994-04-21 23:25:41 +00:00
briggs
a48357a8fb Clean up a good bit. Add a few constants for '040. 1994-04-21 23:22:16 +00:00
briggs
1eb8032417 Dump into debugger if DDB and we get an odd coprocessor instruction. 1994-04-21 23:21:19 +00:00
briggs
e12ec2b7de '040 changes from Amiga.
Protect against multiple inclusion.
Swap arguments in struct clockframe.
1994-04-21 23:18:55 +00:00
briggs
16e14ee983 '040 changes from Amiga.
Protect against multiple inclusion.
1994-04-21 23:17:15 +00:00
briggs
7b7dcf1c14 '040 changes from Amiga. 1994-04-21 23:16:15 +00:00
briggs
c563009035 Add '040 stuff from Amiga pte.h.
Also protect against multiple inclusion.
1994-04-21 23:15:32 +00:00
briggs
6d70a3f064 Add fpsp option. 1994-04-21 23:12:44 +00:00
briggs
7f099e5940 Avail mem comes from elsewhere, now. 1994-04-18 03:03:05 +00:00
briggs
e0e7db6d14 Include cop.
Nuke vm_statistics.h
Don't try to use PAGE_SIZE in pmap_bootstrap.  It's now a reference
to a variable that won't be set until vm_set_page_size() is called
in vm_mem_init().
1994-04-18 03:02:16 +00:00
briggs
163a3bce81 Include cop.
Nuke vm_statistics.h
1994-04-18 02:59:16 +00:00
briggs
c4ff57c8b1 Get rid of some constants that we don't need. 1994-04-18 02:58:39 +00:00
briggs
36ec20b2e2 Add COMPAT_09 1994-04-15 01:44:03 +00:00
briggs
72eff49c03 Don't define DEBUG by default. 1994-04-06 03:10:13 +00:00
briggs
d04160dd34 Some cleanup--largely from amiga/trap.c. "Do" __syscall... 1994-04-06 02:59:52 +00:00
briggs
31d0809898 Bug pointed out by chopps (thanks!)
We were also lacking another copy in cpu_fork() for the struct mdproc.
1994-04-06 02:55:54 +00:00
briggs
7d99e03949 Clean out some old printf()s and get rid of MAP_FILE reference. 1994-04-05 01:30:28 +00:00
mycroft
fbedcabada Clean up deleted files. 1994-04-05 01:28:06 +00:00
lkestel
cd701f50a3 Fixed a few major bugs. add_nubus_intr() was getting the wrong address,
and bcopy and bzero were being used.  The latter use longs to copy/zero,
and some ethernet cards can't handle longs.  I've added bbcopy and bbzero
as a temporary hack, but these should later be added to locore and maybe
changed to use shorts.  Still doesn't work: I can now get an interrupt on
the first transmit, but further transmits don't generate more interrupts.
1994-03-20 03:03:26 +00:00
briggs
ffad885639 Small mods. Needs lots of cleanup.
Added one change to make sure we get symbols in DDB.
1994-03-20 00:26:21 +00:00
briggs
2412bfd803 Changes to allow kernel debugger symbols. 1994-03-20 00:16:07 +00:00
briggs
c0d5b28126 Goof. Missed some mods in the changes to config.new a long time ago.
Thanks go to kesteloo@cs.unc.edu (Lawrence Kesteloot) for finding this.
1994-03-20 00:14:16 +00:00
cgd
3df116ff20 add comment for consistency. 1994-03-14 02:11:09 +00:00
lkestel
da9f3f0aeb Added -I$S/arch, per amiga port. (Used by db_disasm.c.) 1994-03-13 22:27:06 +00:00
briggs
e84113894c Nuke MAC2... Doesn't need to be here. 1994-03-02 00:16:45 +00:00
briggs
10c02ec354 More Dayna separation. 1994-03-01 15:24:25 +00:00
briggs
8505642469 At least recognize different machine types. 1994-03-01 15:22:47 +00:00
briggs
7754e67583 Add a bunch of machine types. Not that we support them, but it's at least
polite to know what you're dealing with.
1994-03-01 15:22:08 +00:00
briggs
b208f831a7 Get rid of some compiler warnings. 1994-03-01 15:21:21 +00:00
briggs
79d28b3a47 Add COMPAT_SUNOS--it seems to work. 1994-03-01 15:20:37 +00:00
briggs
4ef4d51787 Include cop. Also change a bunch of printfs to PRINTF() and define
PRINTF() to nothing.
1994-02-27 16:50:31 +00:00
briggs
034c4cb56e Disable SCSIDEBUG and make COMPAT_NOMID an option (defined). 1994-02-27 16:48:33 +00:00
briggs
4474958dd0 Add LCII machine id. 1994-02-27 16:42:33 +00:00