lkestel
e0b83d37fb
Added Sysseg as argument to remap_MMU() so it can map the ROMs.
1994-08-08 00:14:42 +00:00
lkestel
ddd8267edb
Some machines (e.g., IIcx) have '030 and map all of memory (4 gigs) with
...
the MMU. Added sanity checking in the get_mapping() call to catch this
and stop at the end of RAM. Now available RAM is min of booter-specified
amount and what the MMU maps.
Also added remap_rom() ifdef'ed out which uses early termination pte's
to map 8 megs of ROM.
1994-08-08 00:11:40 +00:00
lkestel
acb0c1ec5f
Added ifdef'ed out code to map the ROM in pmap_init(). Might be enabled
...
later if we decide to use the ROM's for anything.
1994-08-08 00:08:47 +00:00
mycroft
558c00c001
Fix spelling of `STEREO'.
1994-08-05 22:56:19 +00:00
briggs
183f4c6128
Lots of cleanup. Add functions for serial console--just stubs for now.
...
Fix initialization (for good this time?).
Little things.
1994-08-05 01:27:58 +00:00
grantham
703df009b8
Multiply GMTBIAS by 60; it's in minutes, time is in seconds.
1994-08-03 06:23:10 +00:00
briggs
d9e2b087ef
Clean up a bit. Move ite to 11, generic console to 0. Add lkm stuff
...
to at least give it a prayer of working...
1994-08-03 02:53:36 +00:00
briggs
08d96f103f
Nuke holdovers from old HP300 console code. Get rid of any reference
...
to serial_boot_echo stuff here.
1994-08-02 17:55:24 +00:00
grantham
aa804576eb
To get Greenwich Mean Time, *subtract* the GMTBIAS from our time,
...
passed in from Booter. (Among its many features, MacBSD provides
time travel.)
1994-08-02 16:39:57 +00:00
lkestel
6f4140797f
We used to disable the MMU before jumping to the ROM routine to
...
reset the machine. This doesn't work on some '030s because maybe
not PA == VA where PC is. Now if '030, don't disable MMU, just
use tt0 register to map ROM segment transparently. Also removed
superfluous @ from new get_pte code.
1994-08-01 04:50:03 +00:00
briggs
22c202031c
Make this assemble... pte_tmp1 -> pte_tmp and remove ref to
...
serial_boot_echo.
1994-07-31 19:25:11 +00:00
briggs
db27060127
serial_console passed in from booter.
1994-07-31 14:50:27 +00:00
briggs
22a76ec031
Fixup constab.
1994-07-31 14:23:33 +00:00
briggs
60df0b6e97
Add a serial console flag that's passed in from the booter.
1994-07-31 14:03:58 +00:00
lkestel
1c22264669
Make internal video look like a grf device so that desktop and X can use
...
it. GRFIOCMAP modifies addr to include the offset into the screen where
the first pixel is. Not a very clean way to do it -- we should add a
field to grfinfo for offset.
1994-07-31 08:32:47 +00:00
lkestel
46bfdab4f8
Removed two useless variables. (hole_start, hole_end)
1994-07-31 08:28:32 +00:00
lkestel
ab2bb871e3
Added support for MACHINE_NONCONTIG for IIsi and IIci machines. Similar
...
to i386's, but more flexible to handle awkward MacOS maps. pmap_collect()
is noop'ed out for now.
1994-07-31 08:27:38 +00:00
lkestel
a1dd8b3bd3
Added get_physical() to get physical address from logical address according
...
to MMU; get_mapping() to figure out how RAM and NuBus space is mapped;
remap_kernel() to remap the kernel page tables in case they were split
across memory banks; remap_nubus() to map internal video into NuBus space
where MacOS had it; and remap_MMU() to call the above.
1994-07-31 08:22:31 +00:00
lkestel
f81b696a46
Added get_pte() routine to get a pte from a logical address using ptest.
...
Cleaned up startup code in a big way. Now calling get_mapping() if
'030 and MMU is on, and post-processing our page tables with remap_MMU().
1994-07-31 08:19:46 +00:00
lkestel
f6e6044227
Make GENERIC be MACHINE_NONCONTIG.
1994-07-31 07:31:45 +00:00
lkestel
82dcea7759
Fixed bug with bcopy()'ing more than 65535 bytes; initialize d_ttys and cn_tp
...
on itecnprobe(); other minor bug and warning fixes.
1994-07-31 06:45:50 +00:00
lkestel
faf8faf32f
Added a few macros for keys; cleaned up; only define key array
...
ifdef KEYBOARD_ARRAY, else just declare it.
1994-07-31 06:33:41 +00:00
lkestel
ce200f2f92
Different pa_index() ifdef MACHINE_NONCONTIG.
1994-07-31 06:26:34 +00:00
lkestel
f3c8dbbd87
Moved adbsys.h grfioctl.h and keyboard.h to include to make desktop
...
and X compile more cleanly.
1994-07-30 04:21:58 +00:00
mycroft
639939abca
Clean up deleted files.
1994-07-30 04:21:48 +00:00
lkestel
774ef66058
Moved adbsys.h grfioctl.h and keyboard.h to include to make desktop
...
and X compile more cleanly.
1994-07-30 04:21:42 +00:00
grantham
cf1aabfe57
Use values from Booter to initialize time correctly for machines
...
without readable PRAM. (IIvx users should be pleased.)
1994-07-29 00:52:18 +00:00
briggs
19eaee7cf2
if DDB -> ifdef DDB to be consistent at suggestion from Steve Allen
...
(wormey@eskimo.com ).
Also cleaned up the comments a bit for consinit().
1994-07-25 00:34:30 +00:00
mycroft
1b935ff541
Clean up deleted files.
1994-07-24 01:23:20 +00:00
lkestel
a185489f80
Fixed a few bugs in the key-repeat function and disabled key-repeat
...
when /dev/adb is closed to avoid infinite repeat problem. Brad claims
that he's got this solved in his version...
1994-07-21 06:36:51 +00:00
lkestel
020b962ae6
Added vt100 emulation and sped up text writing, scrolling, etc.
1994-07-21 06:35:49 +00:00
briggs
f954a7b0dd
Make "unknown ioctl" printf ifdef DEBUG and take out an extra comma from
...
the format string.
1994-07-21 03:32:07 +00:00
briggs
47b43066ee
Take -nostdinc out of INCLUDES so we can get nlist.h and a.out.h for DDB.
1994-07-21 01:49:08 +00:00
briggs
cc7e76a9a5
Put in a warning message that the driver is non-working and checkpoint
...
with a little bit more debugging stuffage.
1994-07-21 01:33:29 +00:00
briggs
1730b405b5
Make ALLEN a copy of GENERIC. Disable FPSP in GENERIC.
1994-07-21 01:19:41 +00:00
briggs
2ff67c7db9
Add asc as a device. Format a tad.
1994-07-21 01:00:58 +00:00
briggs
c35fccac8b
Add asc0.
1994-07-21 00:59:56 +00:00
briggs
fe27023f3b
Put FPSP in SYSTEM_OBJS (missed this earlier, apparently, twice).
1994-07-21 00:58:28 +00:00
briggs
46cebf15df
Enable DDB, CD9660, NULLFS. Add bpfilter. Slight cleanup.
1994-07-21 00:57:33 +00:00
briggs
3a72d09550
No longer need/use root_scsi_id. Change audio to asc in probe.
1994-07-21 00:55:49 +00:00
briggs
bd55a39b1d
Add ASCBase to offsets initialized in setmachdep(). Change comment for
...
cpu_model (slightly).
1994-07-21 00:55:07 +00:00
briggs
db146ec64c
Separate init from serattach and make more machine independent by
...
calculating speed during init (different models of macs feed SCC with
different clocks).
1994-07-21 00:52:47 +00:00
briggs
60dc2edc69
Make this into more of a device so it can be probed and attached. Nuke
...
RCS/CVS Log. Make ASCBase an offset instead of an absolute.
1994-07-21 00:44:00 +00:00
briggs
8fc0b8b26e
Add a field for cpu-dependent structure to flag if SONIC is on-board.
1994-07-21 00:33:54 +00:00
briggs
5ec3485979
Be somewhat better at machine dependence, clean up a hair, and get rid
...
of addupc.
1994-07-10 16:58:05 +00:00
briggs
f8d560f187
Be somewhat better at machine dependence.
1994-07-10 16:55:53 +00:00
briggs
cacf1a1b0a
Cleanup a printf, raise the probe timeout, and notice if the probe
...
does time out.
1994-07-09 17:21:13 +00:00
briggs
a933ab5ed1
Some cleanup and get rid of some compiler warnings. Needs more work.
1994-07-09 07:28:22 +00:00
briggs
2ff5938343
Minor hacks to get this to compile for now. ite.c now uses the proper
...
consdev structure to keep itself from crashing...
1994-07-09 06:49:34 +00:00
briggs
6cd891192f
Move a function here from the old console.c.
1994-07-09 06:38:55 +00:00