briggs
591bb531bd
Fixup sc_debug parameters.
...
Simplify indexing into systab a hair (from Amiga).
1995-02-01 13:46:23 +00:00
briggs
559641938a
Pull Amiga implementation of pagemove(). Seems mo' better.
1995-02-01 13:44:31 +00:00
briggs
cbaa686772
Explicity return error value in findblkmajor().
1995-02-01 13:40:59 +00:00
mycroft
3863b50c5c
Clean up deleted files.
1995-02-01 13:40:11 +00:00
briggs
28fbb7d0dd
Add a new config and remove some old ones.
1995-02-01 13:40:10 +00:00
briggs
c3d9bdcf9d
Align sigcode.
1995-02-01 04:49:37 +00:00
cgd
b56a5f27d4
add 'maxpartitions' keyword as first 'intesting' thing in the file, to
...
facilitate the solution of config.new's hardcoded partition number
problems.
1995-01-25 20:45:33 +00:00
cgd
2ef4ca1f3d
vn -> vnd renaming, for consistency
1995-01-25 04:48:07 +00:00
briggs
c7b2ca3cf3
Add a nullcnpollc() to our constab initializor so we don't get jump to
...
zero panics when attempting to enter the debugger.
1995-01-21 05:31:17 +00:00
briggs
0379ca918b
Fix major brain damage from a while back. Old damage broke jump to zero
...
panic, leading to mass confusion.
1995-01-21 05:21:24 +00:00
briggs
cf017d6caf
sunos_sysent.c -> sunos_init_sysent.c and add a few tabs for
...
readability.
1995-01-21 00:14:11 +00:00
briggs
e2eea24235
%s/sun_/sunos_/g and grab a few comments from amiga trap.c.
1995-01-21 00:12:56 +00:00
briggs
572ad11ab2
Fixup for COMPAT_SUNOS. sun_ -> sunos_ and much from amiga folks.
1995-01-21 00:11:57 +00:00
jtc
9540190d45
This file, which will be included by <sys/cdefs.h>, will contain macros
...
such as __warn_references() and __weak_reference() which are actually
machine dependant. This will make it easier for ports that are being
bootstraped with ELF and ECOFF based toolchains.
This change also introduces a new macro, _C_LABEL(x). _C_LABEL expands
its argument, an identifier, to a character string of the identifier
name as it is represented in an object file.
For most ports, _C_LABEL(x) will expand to "_x", for ELF based ports
_C_LABEL(x) will expand to "x".
1995-01-19 01:38:36 +00:00
briggs
73c9e168bf
Fix minor compile warning.
1995-01-15 06:29:04 +00:00
briggs
ee0ad992ea
scsibus_data -> scsibus_softc in device search.
1995-01-15 06:28:36 +00:00
briggs
bc36ccab9a
Update for scsi changes. Incl. xs->resid = 0 (thanks Phil).
...
Changes compile, but are not tested.
1995-01-15 06:27:54 +00:00
briggs
a267ba6dc0
Add tun device at cdevsw[24], one up from hp300 location, but we already
...
have adb at 23.
1994-12-22 05:50:26 +00:00
cgd
e5049f4d59
make the definition of _JBLEN mach. dep. header-dependent.
1994-12-20 10:36:27 +00:00
mycroft
d42a8b725e
Remove extra arg to d_open.
1994-12-14 19:10:08 +00:00
briggs
749ca327c9
Nuke Log in if_aereg.h and remove duplicate (and benign) sc->smem_size
...
assignment from Brad Parker (brad@fcr.com ).
1994-12-04 19:40:14 +00:00
briggs
1c47e24828
Mac ROM Glue changes from grantham@tenon.com.
1994-12-03 23:33:55 +00:00
briggs
f2301680d3
Same as GENERIC but w/o FPCOPROC option.
1994-12-03 23:31:58 +00:00
briggs
d703fa05aa
At least somewhat functional ethernet driver from Brad Parker
...
(brad@fcr.com ). Requires changes to via.c which are coming with
other changes in a moment...
1994-12-03 23:30:45 +00:00
briggs
bce9e69ed0
Handle supervisor/user data differently. Status of functionality
...
still nil.
1994-12-03 23:28:37 +00:00
briggs
fae5b57ec7
int -> u_long in ioctl() prototype.
1994-12-03 23:27:40 +00:00
briggs
4e06addf8a
Nuke DEBUG.
1994-12-03 23:26:25 +00:00
mycroft
dadc0f95cf
Clean up deleted files.
1994-12-03 14:45:42 +00:00
briggs
2bef12a661
Get rid of private delay().
1994-12-03 14:17:20 +00:00
briggs
037951ec4f
Remove private delay() and clean up some odd delay times that we were
...
using...
1994-12-03 14:16:58 +00:00
briggs
f04205a867
Implement a real delay() that at least approximates a usec delay.
1994-12-03 14:03:23 +00:00
briggs
c8d7d0f2f5
Re-arrange order of a comparison and compensate for change in device
...
structure locations.
1994-11-30 02:42:47 +00:00
briggs
e054795fb3
"../scsi/*.h" -> <scsi/*.h>
1994-11-29 03:43:52 +00:00
briggs
81828a6a38
Boolean goof. (True)
1994-11-29 03:38:48 +00:00
briggs
a9262a3090
SUN_SYS_sigreturn -> SUNOS_SYS_sigreturn
1994-11-29 03:37:37 +00:00
briggs
c02010b599
Add a dk_establish null routine. Clean up some whitespace. Needs a
...
real overhaul.
1994-11-28 04:43:51 +00:00
briggs
9f994613ae
compat/sunos/sun_* -> compat/sunos/sunos_*
1994-11-27 22:10:28 +00:00
briggs
82a9bf633f
sun_syscall.h -> sunos_syscall.h
1994-11-27 21:47:36 +00:00
briggs
3938bad3ff
Attempt to use sys/scsi.
1994-11-27 20:07:38 +00:00
briggs
0656455667
Experimental method of getting a scsi unit # from scsi target.
1994-11-27 19:59:09 +00:00
briggs
38952df227
Re-enable NFSCLIENT
1994-11-27 19:53:10 +00:00
christos
40abc70ce2
changed open prototype
1994-11-14 05:55:23 +00:00
briggs
492011ffd7
Modify the serial port initialization slightly so it works on the IIsi.
1994-11-03 16:15:27 +00:00
briggs
fc3961284c
Raise MCLBYTES to 2048.
1994-11-01 03:53:28 +00:00
briggs
6db067c176
sendsig() and sun_sendsig() code to u_long.
1994-10-31 23:47:23 +00:00
briggs
65c76f071d
Fixup a couple of missed fixes when updating to hp300/amiga
...
interpretation of mmutype. Thanks to Lawrence Kesteloot for
catching the first of these.
1994-10-31 01:15:53 +00:00
briggs
815a0b9aca
Fix a buglet in computation of fbsize. Pointed out by monroe@cs.pdx.edu.
1994-10-30 13:34:31 +00:00
briggs
c184327c57
Make this work. Kludge from grantham.
1994-10-28 19:55:37 +00:00
briggs
a43a6e9bdf
Use u_int32_t and friends. Comment a tiny bit...
1994-10-26 18:05:48 +00:00
cgd
4fdae7a0ae
new RCS ID format.
1994-10-26 08:45:48 +00:00
briggs
a509897f98
Before I forget...
1994-10-20 21:21:02 +00:00
cgd
d4bf824ec2
update for new syscall args description mechanism
1994-10-20 05:17:21 +00:00
cgd
f501e4e128
make <stdarg.h> a symlink, and clean up ports' stdarg.h and varargs.h files.
1994-10-15 04:57:29 +00:00
cgd
49c34d3337
move arch dependence to archs. clean up a bit. deal with weird MAXPARTITONS.
1994-10-14 18:26:22 +00:00
briggs
93b8f0f095
Change strategy slightly so that serial console is enabled if internal
...
console is not--regardless of the value of the boot-time flag.
Suggested by a question from bit@gnu.ai.mit.edu (jim howard - bit.map).
1994-09-30 00:52:44 +00:00
briggs
49e7735666
Actually implement serial boot (console) echo (minor change to ite.c).
...
Remove some old junk in ser.c and implement serial console and serial
boot echo (if serial console's enabled, clear echo).
1994-09-29 03:33:13 +00:00
jtc
23ece5babc
asm -> __asm (PR #463 ).
1994-09-16 02:39:36 +00:00
briggs
24de5a9668
Nuke a CVS Log entry. Attribute introspection to Brad.
1994-09-12 21:56:36 +00:00
briggs
400d187c01
Remove need for "bounds.h." Brad can still use it if he wants ;-)
1994-09-12 03:54:05 +00:00
briggs
9e4e942a2f
Give vnd a major number. Didn't work on my last attempt with it, but
...
this will be needed, anyway.
1994-09-12 03:53:03 +00:00
briggs
5432aef717
Fix a scrolling bug when we have more than 64k to scroll.
1994-09-12 03:38:30 +00:00
briggs
9dc2628062
Snarf chopps changes for bus/addrerr handling.
1994-09-12 03:37:33 +00:00
briggs
e696d464eb
Use vn.h instead of forcing NVN to 0.
1994-08-30 11:04:17 +00:00
briggs
cdcb12bf54
Add USPACE.
1994-08-23 20:48:09 +00:00
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
briggs
3266a82b9f
Switch to using sys/dev/cons.? instead of old hp-derived generic console.
1994-07-09 06:36:11 +00:00
briggs
687c7563fe
Comment out macserinit and macinit until we can replace them. They're
...
for debugging before we have an initialized console, primarily.
1994-07-09 06:33:46 +00:00
briggs
0979a3d7ef
Add some macros for new adb stuff from Brad Grantham.
1994-07-09 06:32:12 +00:00
briggs
d3bc60c2c5
Add ite0.
1994-07-09 06:28:16 +00:00
briggs
eaca1c00bb
Rearrange to alphabetize some. Nuke old console, add new console and
...
ADB code from Lawrence and Brad.
1994-07-09 06:27:53 +00:00
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