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
briggs
bedc2847a2
Add MDP_STACKADJ for compat_sunos.
1994-02-27 16:41:41 +00:00
briggs
5026219abb
Basic changes for compat_sunos--copied from amiga.
1994-02-27 16:40:38 +00:00
briggs
902fef1bad
Add files for compat_sunos. Shouldn't these be in sys/conf/files.newconf?
1994-02-27 16:39:54 +00:00
briggs
ad15753d94
Make FPCOPROC an options option and remove it from the Makefile defines.
...
Also add a configuration that doesn't have it.
1994-02-27 03:44:24 +00:00
briggs
82a0604c37
A little clean-up.
1994-02-27 03:40:26 +00:00
briggs
3a18d3b2a5
Cleaned up the probe a little by actually using data from the decl. ROMs.
1994-02-26 03:01:22 +00:00
briggs
bdc66bf703
Add a new configuration for testing NFS. Same options as GENERIC, with
...
the addition of NFSSERVER and NFSCLIENT.
1994-02-23 04:42:24 +00:00
briggs
ce7ad57129
Add Id string and disable NFSSERVER and NFSCLIENT until I can get to
...
the bottom of some panics I've seen.
1994-02-23 04:41:04 +00:00
briggs
bd54362375
Bail out in the probe since it's not safe at the moment (hangs on my
...
DaynaPort card). Will fix when I get docs for the card.
1994-02-23 04:39:49 +00:00
briggs
ffe153db27
Do a cleaner probe. This still needs lots of work, but will work on
...
reasonable cards...
1994-02-23 04:38:24 +00:00
briggs
c680a85d1d
Add fpu.c and alphabetize a bunch.
1994-02-22 01:35:55 +00:00
briggs
a59f38907a
Enable several more options.
1994-02-22 01:34:31 +00:00
briggs
2064299d52
Numerous changes by lkestel and grantham to match those in machdep.c.
1994-02-22 01:32:26 +00:00
briggs
5a7bb220b3
Numerous changes from grantham and lkestel--including:
...
* A method to interpret passed environment variables in from the
booter.
* MACHINE_NONCONTIG stuff.
* Debugging aids.
1994-02-22 01:30:55 +00:00
briggs
3960884078
Changes by lkestel for MACHINE_NONCONTIG. I haven't tested them, but
...
they'll come in handy for the IIci and friends.
1994-02-22 01:25:27 +00:00
briggs
22c116cc4e
Comment out stacknquit() so we actually get to the panic on a fault.
1994-02-22 01:23:37 +00:00
briggs
8f42469b7c
Changes by grantham for RBV support.
1994-02-22 01:20:15 +00:00
briggs
90db065cbf
Some modifications by grantham to handle the RBV chip which emulates some
...
VIA2 functinos.
1994-02-22 01:19:21 +00:00
briggs
b4bf0c73ff
Rudimentary, experimental fpu emulator. Needs lots o' work before it can
...
move to m68k or even be useful for more than testing purposes...
1994-02-22 01:17:53 +00:00
briggs
7e6b2cfa8a
/sbin/disklabel will print out disklabels, so don't be verbose when
...
doing readdisklabel.
1994-02-22 01:16:33 +00:00
briggs
bb20b67105
Get rid of if_init assignment.
1994-02-22 01:15:00 +00:00
briggs
42ad9a0be4
Minor tweaks to prevent hangs and other bad behavior... Needs much more
...
work now that we have more info (Designing Cards and Drivers for the
Macintosh Family Hardware.
1994-02-22 01:11:33 +00:00
briggs
2fbb727cb3
Various fixes, changes and so forth by lkestel. Among them should be
...
support for > 1-bit modes (slow...)...
1994-02-22 01:07:40 +00:00
briggs
b9fe737afd
Add a few new defined machine type constants and a few new globals.
1994-02-22 01:00:44 +00:00
briggs
4795851aeb
Moved PTBASE from 60000000 to 60100000 for PowerBooks. From grantham.
1994-02-22 00:59:34 +00:00
briggs
c76cc12799
Make include paths reference arch/mac68k/scsi instead of just scsi.
1994-02-22 00:57:23 +00:00
mycroft
4a5c858157
PARANOID --> DIAGNOSTIC for inexpensive tests.
1994-02-14 21:49:08 +00:00
briggs
9593f1ef8f
The booter can finally deal with ld's executables.
1994-02-12 18:03:12 +00:00
briggs
ecfa08e11e
ioctl now takes struct proc *.
1994-02-10 04:30:27 +00:00
briggs
011f63af43
New disklabelling from finchm@cray-ymp.acm.stuorg.vt.edu. Cleaned up and
...
modified somewhat by yours truly. Still need setdisklabel and
writedisklabel at some point--for now, though, it's easier to let MacOS
programs like SilverLining handle this...
1994-02-10 04:29:11 +00:00
briggs
4a88f971b4
Get rid of local FS_* definitions and add a few more partition strings to
...
keep from labelling the driver and partition map partitions with new
disklabelling code.
1994-02-10 04:26:47 +00:00
briggs
0323c54f9d
Make whole disk partition c.
...
Assign it FS_OTHER to mark it as used.
Don't assign a type to partition a so that we can use it later if there
is no root partition. This wouldn't be necessary with more partitions
available. Perhaps in the future...
1994-02-10 04:23:45 +00:00
briggs
d220a8bafd
Update to use b_actf instead of av_forw(?) per Charles Hannum's changes.
1994-02-08 03:54:08 +00:00
briggs
a09eafbddd
Fixup calls to profclock and softclock.
1994-02-06 22:06:25 +00:00
briggs
a02867d2fe
Devices were a mess. They're a little more cleaned-up, now, but there's
...
more work to be done later to make sure that the devices match up with
critical ones in compat stuff...
1994-02-03 21:46:51 +00:00
briggs
f0d32487ed
Call hardclock w/ clockframe * instead of clockframe.
1994-02-03 21:25:57 +00:00
briggs
0c7e77e4b2
Get rid of dk_establish and extra "struct device."
1994-02-03 05:34:44 +00:00
briggs
275267397f
Modify st.c to use current mtio.h.
1994-02-03 05:28:07 +00:00
briggs
48e53d4b79
ifdef out code that relies on changes to struct buf. This breaks the
...
"user" scsi device. Oh, well.
1994-02-03 05:11:09 +00:00
briggs
7612acee32
Fixup include references.
1994-02-03 05:09:31 +00:00
briggs
9e16bc846f
Cleanup include refs.
1994-02-03 05:08:26 +00:00
briggs
068983678e
Get rid of dkhead/dktail schtuff and add a scheme based on the sparc's.
...
Umm. Also be smart and don't clobber swapdev so swapping works.
1994-02-02 01:06:23 +00:00
briggs
404b8fce6b
Update to magnum scsi system. Also added a function to sd.c to map a
...
scsi target to a disk unit for setroot(). If anyone knows a better way
to do this, please let me know. The only other way I could think of
would be to add a field in disk.h:struct dkdevice to reference the scsi
target. Ideally, the correct boot device would be passed in from the
booter. As we only have one scsi bus (until we support NuBUS scsi
cards), it makes sense to be backward-compatible (especially since mac
weenies seem to need help tying their shoes).
1994-01-30 01:21:12 +00:00
briggs
de456b165a
Include-cop.
1994-01-30 01:15:31 +00:00
briggs
c86a4eb235
Include-cop strikes again.
1994-01-30 01:14:49 +00:00
briggs
d110378226
Just playing include-cop.
1994-01-30 01:11:36 +00:00
briggs
eb7f152ad2
Fixup includes and prototype stuff. Still need to go back and put in
...
old-style function headers to be pedantic.
1994-01-30 01:10:33 +00:00
briggs
df5f6080ef
Change to support config.new and magnum-esque scsi code. Works much
...
more nicely.
1994-01-30 01:08:50 +00:00
mycroft
8b09474e2e
Clean up deleted files.
1994-01-30 01:07:03 +00:00
briggs
a829ad4c4b
Nuke final references to chars.h. It wasn't being used.
1994-01-30 01:07:01 +00:00
briggs
031cee34c2
Use a real swapgeneric.c instead of a place filler. This works with the
...
changes to autoconf.c...
1994-01-30 01:05:52 +00:00
briggs
e845737b08
Switch from DELAY to delay.
1994-01-30 01:04:35 +00:00
briggs
4b756ee088
Add a stupid delay() that is little more than a place-holder for a real
...
implementation.
1994-01-30 01:03:51 +00:00
briggs
ad4ee3bfe4
DTRT w.r.t. root and boot disk devices. This could still use some work,
...
but it's a lot better than depending on root being on sd0 (and swapping
if it isn't).
1994-01-30 01:01:08 +00:00
briggs
ec1d50fc52
Fixup scsi references and add ISOFS and PROCFS options. Clean up swap/root
...
definitions, too.
1994-01-30 00:58:52 +00:00
briggs
d1cb647349
Use LD=ld.dist instead of LD=ld until we get around to fixing the
...
bleeding booter.
1994-01-30 00:57:20 +00:00
briggs
ecc982a417
Fix for magnum's scsi system, but referenced through arch/mac68k/scsi
...
as was the old stuff.
1994-01-30 00:56:39 +00:00
briggs
4d3096f778
Get rid of DELAY defines. These are bogus. There has to be a better
...
way. And there will be.
1994-01-30 00:53:07 +00:00
mycroft
6a50b26e15
Pointer to common version.
1994-01-27 15:26:31 +00:00
cgd
c9c3b2abbe
HP300 -> MACHINE
1994-01-27 02:12:44 +00:00
briggs
71d0f0a1ee
Apply patch as suggested by Theo.
1994-01-24 22:29:40 +00:00
cgd
36a23c4ad8
stub
1994-01-23 00:23:02 +00:00
briggs
bf7f4476c9
Ditch ENTRY/ALTENTRY defines and include "m68k/asm.h" instead.
1994-01-22 13:39:32 +00:00
briggs
27a2300de5
ifdef out copyinstr/copyoutstr/... functions that are now defined in copy.s.
1994-01-22 03:47:48 +00:00
briggs
29b900df29
cpu_*disklabel => *disklabel. This will all be revamped soon, anyway...
1994-01-21 00:20:57 +00:00
briggs
7bed222bc4
A field name in a structure changed. So we did, too.
1994-01-20 23:58:47 +00:00
briggs
a0bbe77f60
Take out coninit and clean up some warnings.
1994-01-20 23:57:09 +00:00
briggs
8a9e97410c
Be friendly and only compile this stuff if NUK > 0.
1994-01-20 23:56:08 +00:00
briggs
64be0b1f3a
Make uk and su look like devices. Haven't tried compiling uk. su is still
...
nothing.
1994-01-20 23:55:16 +00:00
mycroft
0df1b00481
Clean up deleted files.
1994-01-17 01:04:42 +00:00
briggs
b05de50fc1
We aren't a VAX.
1994-01-17 01:04:08 +00:00
briggs
7ea239d333
Put lun in CDB. Is there be a way to determine when this is really
...
necessary? (It is for some drives).
1994-01-15 03:26:20 +00:00
briggs
363cc5e5be
Basic cleanup. Get rid of my_frame for frame.
1994-01-13 12:59:30 +00:00
briggs
626f129c93
Allocate exec_map.
1994-01-13 12:56:16 +00:00
briggs
197d195eb4
TRAP_TYPES macro to trap_types variable.
...
Yank some VIA initialization. Seemed to cause some problems.
1994-01-11 00:25:30 +00:00
briggs
0602c3467a
Yank a reference to a variable that bit the dust.
1994-01-11 00:20:10 +00:00
briggs
ed87cbfebd
Some generic clean-up. Get rid of old debugging code. Fix exec to work
...
with new changes by cgd. Fixup includes. Get rid of initcpu(). Change
code using struct myframe to use struct frame. Some gratuitous
reformatting and get rid of C version of copyinstr().
1994-01-11 00:18:54 +00:00
briggs
33e189e2da
Clean up isr stuff.
1994-01-11 00:16:13 +00:00
mycroft
09e9a743f5
Clean up deleted files.
1994-01-11 00:03:43 +00:00
briggs
558be1794a
Makefile: Added -T 0 to link for kernel.
...
files.mac68k.newconf: Removed ddb entries.
1994-01-10 23:58:37 +00:00
briggs
af6d2f067d
Fixup to use m68k headers, now. Thanks, Chris.
1994-01-10 23:55:20 +00:00
briggs
dfe9897dba
Update grf.h to increment a number of devices when it configures.
...
Fix a small bug in serial.
Both from Brad, Lawrence, and/or Mike.
1994-01-10 23:52:01 +00:00
mycroft
f5d2568734
Clean up deleted files.
1994-01-08 18:36:06 +00:00
cgd
ab38f02a26
kill entries duplicated in files.m68k.newconf
1994-01-08 18:31:53 +00:00
cgd
f7b271f349
specify that the mac is of the m68k archtecture.
1994-01-08 18:06:25 +00:00
cgd
b38fa5acf8
stubs which pint to m68k include
1994-01-08 12:41:41 +00:00
mycroft
ed95321df9
Still need old #defines for now.
1994-01-06 17:05:34 +00:00
mycroft
f76fdd7722
Implement `struct reg'.
1994-01-06 16:50:13 +00:00
briggs
cec9c395f8
Use address instead of slot for add_nubus_intr. This whole interrupt
...
scheme should probably be taken out and shot.
1993-12-21 03:19:33 +00:00
briggs
982b2aa969
Update ethernet driver to use config.new. At least, it's a first stab
...
working from mycroft's magnum changes to if_ed.c.
1993-12-21 03:18:00 +00:00
briggs
2390a5c1ee
Add basic sound support and a beeping (instead of flashing) console...
...
from Brad Grantham.
1993-12-21 03:16:01 +00:00
briggs
fded7fc070
Add Apple Ethernet to GENERIC and files. Also add asc.c to files
...
for sound support.
1993-12-21 03:14:16 +00:00
briggs
5fd9ddd438
Get rid of IFF_ALTPHYS and hence IFF_LLC0 reference. It doesn't appear
...
to have been used in this driver ;-)
1993-12-15 03:38:20 +00:00
briggs
0658adaa44
Added for ddb support. I think it's at least partially wrong. This and
...
the files in mac68k/db_* started off as the sun3 files...
1993-12-15 03:30:27 +00:00
briggs
08d8b412c1
Add files for ddb support. I know they're at least partially broken.
1993-12-15 03:28:56 +00:00
briggs
e9d1216987
Cleanup. Use mac68k_xxx macros instead of macII, etc. Cleanup via.h.
...
Add minimal support for ddb.
BIG CHANGE: Use proper offsets for new gas in locore.s!!!
1993-12-15 03:27:50 +00:00
briggs
93726fb753
Change constants and comments to reflect the current MACHINE value.
...
Define T_BRKPT and T_WATCHPOINT.
1993-12-15 03:22:56 +00:00
briggs
e369bb70b1
Add (semi-bogus?) test to scsi_gen to handle luns in test unit ready
...
commands. W/o this test, some old drives were being identified at
all luns... Also some cleanup and spelling corrections ;-)
1993-12-15 03:17:54 +00:00
mycroft
924c486826
Clean up deleted files.
1993-12-15 03:10:00 +00:00
briggs
34805358dd
Add (broken) support for DDB. Also fix a bug in console that confused the
...
scrollback. Clean up includes a tad.
1993-12-15 03:09:05 +00:00
briggs
38f1087a45
Let's try DDB...
1993-12-15 03:04:40 +00:00
mycroft
f67ccd2bf0
Move #define of NIPCREG outside #fidef.
1993-12-08 22:46:15 +00:00
briggs
168d2ddd1d
Add -Dmac68k as a COPTS so we can get cpu_disklabel.
1993-12-07 03:27:43 +00:00
briggs
99fee960e0
Fix includes to use ../mac68k instead of ../mac and add some semi-colons
...
to a couple of default: switches. gcc2 doesn't mind not having them,
but gcc1 sure does.
1993-12-06 04:27:52 +00:00
briggs
54614538ca
Dumb typo. Must be dyslexic. Changed MACHINE_MID to MID_MACHINE.
1993-12-06 04:11:47 +00:00
briggs
dcbf82a3fe
Move MID_MACHINE to param.h from exec.h and get rid of bogus includes.
1993-12-06 04:09:20 +00:00
briggs
1fd099189d
Change USRTEXT to 8192 in vmparam.h.
...
Add MACHINE_ARCH (m68k) to param.h.
1993-12-04 03:49:01 +00:00
briggs
25e937c41a
Added struct relocation_info_mac68k. Copied from hp300.
1993-12-03 22:29:48 +00:00
briggs
9c873e424c
Update MACHINE to mac68k in param.h.
...
Update MACHINE_MID to MID_M68K -- untested.
Add __LDPGSZ as 8192 -- untested.
1993-12-02 18:36:35 +00:00
mycroft
5cf6576e5d
Clean up deleted files.
1993-12-02 18:29:26 +00:00
briggs
67558220f1
Migrate to new MACHINE definition (mac -> mac68k).
1993-12-02 18:29:18 +00:00
briggs
0c925f177c
Add symbols for quads to limits and endian and protect endian from mult.
...
inclusion.
1993-12-02 15:02:50 +00:00
briggs
e8aefd0760
Get rid of CLK_TCK. Theo reminds me that the value isn't
...
machine-dependent, which is why it's defined in time.h.
1993-12-02 07:40:14 +00:00
briggs
1e2591e519
Update Makefile to not use stupid hack on assembly files.
1993-12-02 06:29:16 +00:00
briggs
9a5e37cfd0
Use /**/ instead of ## for concatenation. Other way doesn't work right.
1993-12-02 06:25:10 +00:00
briggs
32b381f69f
This is a bunch of Julian Elischer's sys/scsi (as seen in FreeBSD)
...
modified to function with the mac code. It currently doesn't map
the configured devices, but it does force the boot disk to be sd0.
The user-level stuff has been #ifdef'ed for sanity.
1993-11-29 00:45:01 +00:00
briggs
b1dd736d44
Update from 0.9-ish to -current. Including a switch to use config.new.
...
The new functions (ptrace, etc) are stubbed.
Some cleanup, too.
1993-11-29 00:40:36 +00:00
briggs
9995ea306b
Added signal.h for -current. The rest is formatting changes.
1993-11-29 00:37:54 +00:00
briggs
e99f003a7d
Update to current work in progress. This includes an update to
...
use config.new.
Numerous updates to console so it works better on the SE/30 screen.
Some nice changes from Brad Parker for handling NuBUS and an ethernet
driver that I haven't worked on, yet.
1993-11-29 00:32:22 +00:00
briggs
915b33a502
Update to current work in progress. This includes an update to
...
use config.new.
1993-11-29 00:29:28 +00:00
pk
14e6ea89aa
Put definition of __LDPGSZ and `struct relocation_info' where they belong:
...
in <machine/exec.h>.
1993-10-18 09:46:56 +00:00
cgd
b5f2079163
delete bogus kernel files/binaries, and add a .keep_me
1993-09-30 01:25:44 +00:00
briggs
8ae7f8bceb
The current MacBSD architecture sub-directory for NetBSD-0.9--more or
...
less. It needs some help to get to be -current. Support for minimal
hardware on the SE/30, II, IIx, and IIcx exists.
1993-09-29 06:08:37 +00:00
mycroft
0b3f240c49
Ditto.
1993-09-02 19:05:40 +00:00
cgd
30177b538f
add rcsids to everything and clean up headers
1993-05-22 07:56:12 +00:00
cgd
6dedb5151c
add hp300 kernel files. generic kernel files might need some help...
1993-05-13 13:56:20 +00:00