hwr
59acb69be1
Add (commented out) 'gre' pseudo device line. Feedback is welcome.
...
Inspired by Klaus Klein.
1998-11-25 20:30:44 +00:00
ender
15f2f5d901
Take emulated button state into account before handing off mouse events.
...
Fixes part of PR 6444. Tested by Frederick Bruckman (fb@enteract.com ).
1998-11-24 08:34:37 +00:00
thorpej
5f0577babc
Adapt to the new scsipi_adapter interface.
1998-11-19 21:43:00 +00:00
mrg
db3051d720
fix problems in many d_mmap routines:
...
- returned EOPNOTSUPP rather than -1.
- no check for negative offset.
many of these fix potential security problems in these drivers.
XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
paddr_t (*d_mmap) __P((dev_t, off_t, int));
by someone!
1998-11-19 15:38:20 +00:00
oster
cf5710c839
Added a (commented out) configuration line for the RAIDframe device driver.
1998-11-16 16:44:55 +00:00
perry
0c20c72cf9
(mostly) fix kernel tags support. from Frederick Bruckman in pr-6445.
1998-11-15 20:36:30 +00:00
briggs
0659054b8b
Make this compile _and_ link with DEBUG / ADB_DEBUG defined.
1998-11-14 03:20:47 +00:00
briggs
94125bb185
Allow this to compile with DEBUG defined.
1998-11-14 03:01:31 +00:00
oster
c74d32c5fc
Updating of bdev's and cdev's to support RAIDframe.
1998-11-13 04:47:03 +00:00
thorpej
49c62c4336
Changes to support fork_kthread():
...
- cpu_set_kpc() now takes void *arg third argument, passed to the
entry point.
- cpu_fork() allows parent to be non-curproc iff parent is proc0.
When forking non-curproc, assume its state has already been saved.
- Adjust various pieces of machine-dependent code to account of all of this.
1998-11-11 06:41:23 +00:00
scottr
610fe40379
Only allow access to physical RAM.
1998-11-10 07:29:59 +00:00
scottr
9d3eea92f4
Add DOS partition handling, from Ken Nakata in PR 4999, with
...
only slight tweaking by me.
XXX - does not currently handle NetBSD/i386 or 386BSD/FreeBSD partitions.
1998-10-30 06:48:51 +00:00
scottr
c8546bdb7b
Enforce a lower bound of (RAW_PART + 1) on the number of partitions
...
read from the Mac partition table. From Ken Nakata in PR 4999.
1998-10-30 05:27:15 +00:00
scottr
890be8e6d7
Whoops! When looking at the return value from ptest040(), be sure
...
to handle the case of a TTx register hit.
1998-10-26 23:17:54 +00:00
ender
ab941faefb
Make the kernel compile when the ALTXBUTTONS option is set.
...
Fixes PR#6363 from Frederick Bruckman (fb@enteract.com )
1998-10-26 19:20:00 +00:00
scottr
a83dff9c40
Make it compile for MRG_ADB kernels.
1998-10-26 07:09:37 +00:00
scottr
974ff0e869
Use the <machine/asm.h> macros, and don't call code that we haven't
...
included.
1998-10-26 07:07:34 +00:00
scottr
5af0d2da90
Don't hide the ADB hardware types when we're building an MRG_ADB kernel;
...
we really do need them around, anyway.
1998-10-26 07:06:41 +00:00
ender
2055d846f9
New ADB "bus" interface:
...
o Separate ms and kbd drivers
o aed device for compatibility
o debug message cleanup in hardware direct support (from scottr)
1998-10-23 01:16:22 +00:00
scottr
5cb5f44921
Defopt ALTXBUTTONS, DISABLE_EXT_CACHE, and ZS_CONSOLE_ABORT.
1998-10-22 04:36:50 +00:00
tron
b296275bb4
Defopt SYSVMSG, SYSVSEM and SYSVSHM.
1998-10-19 22:09:13 +00:00
drochner
2468738337
change handling of libkern:
...
-sys/lib/libkern builds as library per default (as it was documented all
the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
(for now; should depend on actual "option LKM" or -better- functions
included for LKM use should be pulled in by a stub)
-always link libcompat before libkern - libkern stuff can be referred to
by libcompat, but not the other way
1998-10-15 18:37:13 +00:00
chuck
8bef431273
remove unused share map code from UVM:
...
- update calls to uvm_unmap_remove/uvm_unmap (mainonly boolean arg
has been removed)
1998-10-11 23:20:59 +00:00
thorpej
908cdfe4e3
Add scsibus entry points to the cdevsw[].
1998-10-10 02:00:49 +00:00
thorpej
29d472f53d
Garbage-collect the open_target_lu and close_target_lu entry points from
...
struct scsipi_adapter; they were not used.
Add a scsipi_ioctl entry point to struct scsipi_adapter. This will be
used to issue ioctl commands to the host adapters.
Inspired by PR #6090 , from Matt Jacob.
1998-10-10 00:28:28 +00:00
thorpej
d681cf055a
configure() prototype is in <sys/device.h>
1998-10-06 20:50:15 +00:00
thorpej
c01f29bdf1
Sigh, we are going to have to burn a vector for Just Sigreturn again,
...
for now, until we have a more generic {get,set}context(). Update the
comment for trap #3 accordingly.
1998-10-04 23:38:55 +00:00
thorpej
d15a64c38b
Adapt to signal changes.
1998-10-01 02:53:53 +00:00
thorpej
8b220e1148
Define SYS_compat_13_sigreturn13.
1998-10-01 00:29:51 +00:00
thorpej
bcf14a99e2
Garbage collect trap #1 and trap #2 handlers; they're moved to
...
trap_subr.s
1998-09-30 23:47:33 +00:00
thorpej
1e62485c23
If !COMPAT_13, make trap #1 produce an illegal instruction. Fix the comment
...
for trap #2 to reflect that it's the trace trap.
1998-09-30 23:13:58 +00:00
thorpej
a11e6632a8
Pull in opt_compat_netbsd.h
1998-09-30 23:01:28 +00:00
thorpej
35d282c8d5
Make sure SYS_exit and SYS___sigreturn14 are defined. Garbage collect
...
SYS_sigreturn.
1998-09-30 22:23:13 +00:00
thorpej
38084c6615
Note that trap #1 is compat_13_sigreturn, and give trap #3 to syscalls
...
which require special handling, e.g. sigreturn on m68k.
This differs from the old sigreturn trap in that we require the syscall
number to be in register d0, just like the regular syscall entry point.
This will allow sigreturn to be versioned in the future without the need
to allocate another trap vector.
1998-09-30 22:14:11 +00:00
scottr
ce9e4beacf
Simplify the asm constraints in mrg_aline_super(), in order to
...
less thoroughly confuse the compiler when used without -O. Fixes
PR 5496.
1998-09-29 05:24:08 +00:00
scottr
a965fe73b1
Add support for the TFL LAN Inc. E410/E420 PDS cards. Based on code
...
from Ken Nakata in PR 6199, which was in turn derived from code from
Haru Maruyama <h-maru @ da2.so-net.ne.jp>.
1998-09-27 14:39:11 +00:00
scottr
7c4c19c768
First pass KNF. This probably needs more work.
1998-09-22 16:01:51 +00:00
scottr
9d640ee3ad
Make this compile again, as pointed out by Paul Goyette.
1998-09-20 19:17:38 +00:00
scottr
45c0de8e37
Interrupt handling for the MicroConversions 2124NB II, from Paul Goyette.
1998-09-18 06:08:28 +00:00
scottr
573d1d344f
Add the DrHw value for the MicroConversions 2124NB II display adapter,
...
from Paul Goyette.
1998-09-15 16:09:44 +00:00
scottr
2b636564b7
Don't add IOBase to sccA; it's an address, not an offset.
...
Pointed out by Paul Goyette.
1998-09-12 02:42:27 +00:00
scottr
9d1c9d8d38
Use correct devices for zs driver on AVs. From Dave Huang (PR 6107).
1998-09-10 21:40:42 +00:00
thorpej
70e641047c
In cpu_coredump(), use MID_MACHINE rather than MID_* (whatever it expands
...
to).
1998-09-09 11:17:24 +00:00
thorpej
8abe0d6b1c
Adjust for the new "reaper" kernel thread: do not free the vmspace and
...
u-area in machine-dependent code. Instead, call exit2() to schedule
the reaper to free them for us, once it is safe to do so (i.e. we are
no longer running on the dead proc's vmspace and stack).
1998-09-09 00:07:48 +00:00
pk
7e976967d2
Relinquish my copyright claims on this file.
1998-09-05 15:15:35 +00:00
lukem
c9db84ecc9
distclean is a synonym for cleandir
1998-09-05 15:15:14 +00:00
scottr
f8a4876874
Add on-board video information for the LC III, and a guess
...
at the LC II based on similar machines mentioned in the dev note.
1998-08-27 07:31:34 +00:00
scottr
2d981dac3b
The return value from intr_dispatch() is no longer necessary.
1998-08-25 04:03:56 +00:00
scottr
2aa56b1c61
Implement splaudio().
1998-08-25 03:59:01 +00:00
scottr
9237e1254f
Take a stab at support for the PowerBook 190/190cs, based on comparison
...
with other PowerBook hardware. They seem to be most closely related
to the PowerBook 500-series, but have an internal IDE disk instead.
NOTE: only external SCSI disks have a chance of working, at this
point. Nothing has officially changed with regard to IDE support
(yet).
1998-08-22 06:06:05 +00:00
scottr
f234add115
Add gestalt machine type for the PowerBook 190/190cs.
1998-08-22 05:47:37 +00:00
scottr
33395d926e
Remove an extraneous printf when attaching a Valkyrie.
1998-08-21 13:46:31 +00:00
scottr
b27d106197
Match grf_obio devices correctly for the 58x/63x.
1998-08-20 13:58:04 +00:00
briggs
45bcd0fe79
Update comment after cut and paste.
1998-08-17 15:04:51 +00:00
scottr
19a5912587
Remove the 'fast' return from intrhand().
1998-08-16 22:29:03 +00:00
scottr
da5ce9387c
Remove semicolons from the end of bus_space_*_multi_*(). From Ken Nakata
...
in PR 5965.
1998-08-16 05:36:17 +00:00
scottr
4b02e4134c
Initialize and enable an interrupt handler, which currently doesn't
...
actually do anything.
1998-08-15 07:42:50 +00:00
scottr
18b4602fd5
Add a comment regarding the broken behavior of the DAFB v7.
1998-08-13 13:45:33 +00:00
scottr
53907fe5a1
Support Cabletron Ethernet card, from John Marohn in PR 5762.
1998-08-12 07:19:09 +00:00
scottr
5a94869995
New framework for handling processor interrupts, derived in part from
...
the hp300 port.
- Interrupts 3-6 use this immediately. Interrupt 7 is a special case,
and the VIA interrupts (1 and 2) will be addressed when that code is
rototilled.
- Modify the zs front end to register with the appropriate interrupt
controller: through the PSC on the AV Quadras, and direct to
interrupt 4 on the rest. Arrange to have the appropriate zsc_softc
supplied to us at interrupt time.
- Modify the direct ADB driver (and its PowerManager cousin) to call
intr_dispatch(), rather than zshard(). XXX This is a kludge, but at
least limits the brokenness to the ADB drivers, now.
As a side effect, this should fix PR 5590. Thanks to Bill Studenmund for
correctly determining the cause of the problem reported there.
1998-08-12 06:58:42 +00:00
scottr
3e40b6ff15
A simple, obvious optimization, now that the loop has been
...
removed from zshard(). Pointed out by Bill Studenmund.
1998-08-12 06:55:24 +00:00
scottr
7f2ca20fd9
New framework for handling processor interrupts, derived in part from
...
the hp300 port.
- Interrupts 3-6 use this immediately. Interrupt 7 is a special case,
and the VIA interrupts (1 and 2) will be addressed when that code is
rototilled.
- Modify the zs front end to register with the appropriate interrupt
controller: through the PSC on the AV Quadras, and direct to
interrupt 4 on the rest. Arrange to have the appropriate zsc_softc
supplied to us at interrupt time.
- Modify the direct ADB driver (and its PowerManager cousin) to call
intr_dispatch(), rather than zshard(). XXX This is a kludge, but at
least limits the brokenness to the ADB drivers, now.
As a side effect, this should fix PR 5590. Thanks to Bill Studenmund for
correctly determining the cause of the problem reported there.
1998-08-12 06:52:56 +00:00
scottr
b2dc905572
The Performa/LC 58x have a Valkyrie, not the DAFB.
1998-08-12 06:50:37 +00:00
scottr
69c09f978c
Be ever so slightly more careful when determining where and what size
...
the frame buffer is.
1998-08-12 06:48:05 +00:00
scottr
7d09ad09b4
New framework for handling processor interrupts, derived in part from
...
the hp300 port.
- Interrupts 3-6 use this immediately. Interrupt 7 is a special case,
and the VIA interrupts (1 and 2) will be addressed when that code is
rototilled.
- Modify the zs front end to register with the appropriate interrupt
controller: through the PSC on the AV Quadras, and direct to
interrupt 4 on the rest. Arrange to have the appropriate zsc_softc
supplied to us at interrupt time.
- Modify the direct ADB driver (and its PowerManager cousin) to call
intr_dispatch(), rather than zshard(). XXX This is a kludge, but at
least limits the brokenness to the ADB drivers, now.
As a side effect, this should fix PR 5590. Thanks to Bill Studenmund for
correctly determining the cause of the problem reported there.
1998-08-12 05:42:44 +00:00
scottr
63526c1ff1
New and improved console framebuffer initialization and autoconfig. This
...
resolves a great many issues, including Performa 58x interrupt handling
and offset displays on some models.
Programs that depend on the old (pre-NetBSD 1.1) grf interface may break.
That's actually a separate issue uncovered by this code, not caused by it.
1998-08-12 02:36:36 +00:00
briggs
b3e5811a08
Patch from Takashi NAKAMURA <QZM00427@nifty.ne.jp> to support the
...
Contour 3-button mouse from the Contour Design Corp.
It looks like a Microspeed mouse.
1998-08-11 20:07:59 +00:00
briggs
64e4a1fa7d
Support video interrupt for GrandVimage 17iL video card.
1998-08-09 18:19:09 +00:00
thorpej
3ff8e6493a
Don't cast the null residual pointer passed to vn_rdwr().
1998-07-28 18:34:52 +00:00
veego
1b46ebe1d9
Add elf_machdep.h to the INCS list.
1998-07-12 17:53:29 +00:00
thorpej
639cc899cf
Basic elf_machdep.h for m68k; doesn't include relocations, yet.
1998-07-12 01:17:58 +00:00
scottr
7b68890c7f
Fix a problem with the reworked reboot code on the IIci: don't try to
...
reference variables after the MMU is disabled.
1998-07-09 06:02:50 +00:00
thorpej
6fb9a8addf
Define one page free list, and put all pages on it.
1998-07-08 04:39:34 +00:00
scottr
6e47b1c654
mac68k/obio/if_mc_obio.c needs hide/integrate defines, too. Moved back to
...
if_mcvar.h.
1998-07-08 04:18:53 +00:00
scottr
d5b30c1cb1
Revert last change.
1998-07-08 04:16:05 +00:00
scottr
6d4420e5b2
Fix compile errors: #if DDB -> #ifdef DDB
1998-07-07 03:04:34 +00:00
scottr
6124345626
Account for an offset frame buffer address. This change is somewhat
...
different than the one supplied by Paul Goyette in PR 5702, but
has the same effect.
1998-07-07 00:33:39 +00:00
jonathan
9bf2ba0928
Garbage-collect ``needs-flag'' from attributes ether, fddi, arc:
...
NETHER, NFDDI, NARC are not used anywhere. Remove #include "ether.h",
which had no effect.
Removes clash with "options NATM" for native-ATM network protocol stack.
1998-07-05 22:29:51 +00:00
jonathan
d275e56dee
* defopt COMPAT_{09,10,11,12,13} and COMPAT_NOMID.
...
TODO: revisit interaction between native compat and emul compat usage.
1998-07-05 08:49:30 +00:00
jonathan
011f2bda08
defopt NS, NSIP.
1998-07-05 06:49:00 +00:00
jonathan
5c0c5dd0b4
defopt ISO TPIP.
1998-07-05 04:37:35 +00:00
jonathan
fe484937cf
defopt LLC
1998-07-05 03:14:41 +00:00
jonathan
8db0fcdbf7
defopt CCITT.
1998-07-05 02:12:22 +00:00
jonathan
3751946b97
defopt INET, NETATALK.
1998-07-05 00:51:04 +00:00
jonathan
466e784ee1
defopt DDB.
1998-07-04 22:18:13 +00:00
wrstuden
29f991cc2f
Fixup last revision to zs.c. Keep a lot of the comment cleanup, and
...
keep the explicit clearing of interupts in zscnprobe.
1998-07-02 17:32:03 +00:00
wrstuden
4f500bad2e
Another printf("%:"...) bites the dust (->vprintf(...))
1998-07-02 00:47:30 +00:00
scottr
3733eac8e4
Undo a thinko in the various VIA2 isr loops: increment
...
bitnum inside the loop, not as part of the condition.
1998-07-01 18:57:36 +00:00
scottr
398759b74e
Whoops, forgot to bracket struct grfinfo with #ifdef GRF_COMPAT.
1998-07-01 14:52:21 +00:00
scottr
f170a53f0b
Add a GRF_COMPAT option so that old-style grf ioctl() code can be
...
removed from the kernel.
1998-07-01 14:49:07 +00:00
wrstuden
67b0c87dc3
Overkill patches to make serial console work again. Should also make
...
serial echo work, but not sure. Tested by Paul Goyette.
A few of these changes can probably be backed out, but I'm not sure which.
This part should work for now, and get things going again. These fixes
should also get rid of the problem of things crashing just as zstty0 gets
configured.
1998-06-30 18:13:21 +00:00
scottr
3fec37df49
Fix warnings from recent ddb_init() change: handle end and esym
...
consistently.
1998-06-30 04:16:00 +00:00
lukem
bd8d501f7e
remove options FIFO; it's now the default
1998-06-26 01:53:43 +00:00
thorpej
8aee7782f5
defopt COMPAT_SUNOS
1998-06-25 23:40:33 +00:00
thorpej
971b8956ef
defopt KTRACE
1998-06-25 21:18:11 +00:00
cgd
651b44e211
Rework the way kernel include files are installed. In the new method,
...
as with user-land programs, include files are installed by each directory
in the tree that has includes to install. (This allows more flexibility
as to what gets installed, makes 'partial installs' easier, and gives us
more options as to which machines' includes get installed at any given
time.) The old SYS_INCLUDES={symlinks,copies} behaviours are _both_
still supported, though at least one bug in the 'symlinks' case is
fixed by this change. Include files can't be build before installation,
so directories that have includes as targets (e.g. dev/pci) have to move
those targets into a different Makefile.
1998-06-12 23:22:30 +00:00
scottr
5444e91249
The Performa 58x comm slot SONIC cards behave the same way as in
...
the LC/Performa 57x. From Yasuhiro Endoh.
1998-06-09 03:39:50 +00:00
tv
00ede2160e
Change ddb_init() for a.out to provision for kernels which are not booted by
...
the current 'bootblock' method, like the Shark, which preloads and preformats
the symbol table right in the boot code.
1998-06-09 01:57:41 +00:00
scottr
52da0e26c6
Kill unused variable that resulted from the last change.
1998-06-02 03:21:42 +00:00
scottr
910666949f
An inability to map a slot's address space may be a normal condition --
...
for instance, on-board video may live here. Make the complaint about
this a DEBUG rather than a DIAGNOSTIC message.
1998-06-02 02:24:03 +00:00
scottr
da2f2cb79f
Store the PA of the framebuffer in the softc. This eliminates the need
...
for the sc_phys callback; we can just store the PA in the grfbus attach
args, rather than a function pointer, which simplifies the code nicely.
1998-06-02 02:14:20 +00:00
scottr
b8ce6ef764
Make the direct ADB driver default.
1998-06-02 00:29:29 +00:00
thorpej
9ef6fa7387
Build pmap_boostrap.o without profiling; we can't call mcount before the
...
mmu is enabled!
1998-05-31 23:28:07 +00:00
thorpej
a7f360c6c9
Specify a non-profiling C rule.
1998-05-31 23:25:41 +00:00
scottr
f2e26f6125
Handle a non-EMP Trackman the same way we handle a non-EMP Mouseman.
...
Patch from John Wittkoski.
1998-05-28 02:11:32 +00:00
scottr
f976f2297f
In pmap_check_wiring(), be careful to use uvm_map_lookup_entry() if we're
...
using UVM. Notice by Hauke Fath, no PR generated.
1998-05-27 05:47:22 +00:00
scottr
92c02d3af3
If DEBUG, make sure to pull in the prototype for cngetc(). Noticed
...
by Hauke Fath, no PR generated.
1998-05-27 04:11:51 +00:00
scottr
d5726c1096
PG_PTPAGE is only useful if !UVM. Noted by Hauke Fath in
...
PR 5462.
1998-05-27 03:58:16 +00:00
is
7a0f63f982
Back out the defopt for M680?0. As pointed out to me, this breaks ports which
...
dont use the M680?0 the way Amiga, Atari, Mac68k, and X68k do. I must have
missed this in the past discussion about this project.
1998-05-24 19:32:34 +00:00
scottr
9df06931ab
Rewrite doboot() so that it turns off the MMU, rather than relying
...
on the ROM space being mapped where it would like to be.
1998-05-24 06:15:50 +00:00
briggs
ce70d405cd
Handle video interrupts for the Radius PrecisionColor 24X card. Thanks for
...
sleuthing and testing go to Robert Oelkers <windcatcher@earthlink.net>.
1998-05-23 22:08:41 +00:00
is
6a6812fd92
Move M680[2346]0 to opt_m68kcpu.h.
...
XXX Some explicit dependencies could be removed now from the individual
arch/$ARCH/conf/Makefile.$ARCH files, but this is still to be done.
1998-05-23 20:51:06 +00:00
thorpej
6626878e7b
It is no longer necessary for pmap_pinit() and pmap_release() to be
...
pmap interface functions, as NetBSD no longer uses statically allocated
pmaps (except for the kernel pmap, which is special-cased anyhow).
1998-05-19 19:00:11 +00:00
briggs
5369da240e
Get both SCSI busses operational on the Q900 and Q950.
1998-05-09 22:47:53 +00:00
briggs
33f027f65f
Handle the interrupt for the Vimage graphics adapter. Thanks to
...
Sadamu Gohyakuda <joyhiro@joyful.gr.jp> for remote testing.
1998-05-07 23:42:59 +00:00
briggs
5917e62b18
New video card: Vimage by Interware Co., Ltd.
...
Define constants for the PLI QuickSCSI nubus board.
1998-05-07 23:41:51 +00:00
kleink
aa36ad1f55
Fix some arithmetics lossage on typeless pointers.
1998-05-07 21:01:41 +00:00
scottr
22b90adcc2
Add the remaining kgdb pieces from sun3/hp300, with some mac68k-specific
...
adjustments to initialization.
1998-05-05 06:48:51 +00:00
thorpej
fcb3331f98
Switch to UVM.
1998-05-04 05:00:12 +00:00
scottr
9dfbdab6ec
Move on-board I/O and NuBus drivers to their own directories
...
via repository copy, and make the necessary adjustments to reflect
the moved files.
1998-05-02 16:45:27 +00:00
scottr
487e3b222d
Dead, unused, kaput.
1998-05-02 06:46:45 +00:00
scottr
1b01139f4f
Dead, unused, kaput.
1998-05-02 06:32:39 +00:00
scottr
d4c74c8b59
Quiet an (imo bogus) warning from gcc 2.8.1 regarding braces and
...
if-else statements. Change suggested by Taras Ivanenko in PR 5334.
1998-05-01 03:53:47 +00:00
scottr
cb160f72a3
Missed a prototype in the NuBus interrupt handler cleanup.
...
Fixes PRs 5365, 5367, 5368, and 5373.
1998-05-01 03:42:47 +00:00
scottr
6c884e2aa8
Correct thinko in last commit
1998-04-26 21:20:26 +00:00
scottr
a57c68946c
GC the old MACHINE_NONCONTIG code.
1998-04-26 21:12:03 +00:00
scottr
06487a637a
Use VM_PSTRAT_BIGFIRST, and add a comment explaining the decision.
1998-04-26 20:06:26 +00:00
scottr
268cc1fea2
Generalize add_nubus_intr() a little more. Also, complete KNFing.
1998-04-26 18:25:58 +00:00
briggs
1ab7701474
Deal with the video interrupt for the RasterOps 8/24XLi. Thanks for the
...
information go to Tadashi Ueda <ng6t-ued@asahi-net.or.jp>.
1998-04-26 16:47:39 +00:00
scottr
fbf76298d3
GC several unused NuBus-related variable. While here, do some KNFing.
1998-04-26 03:59:18 +00:00
scottr
547ff1e300
Handle avail_start properly when setting up physical RAM segments.
...
Also, remove a KGDB-related piece that got committed prematurely.
1998-04-26 03:49:47 +00:00
scottr
c5302e839e
Attempt to clear stray NuBus interrupts in the default slot
...
interrupt handler.
1998-04-25 21:39:54 +00:00
scottr
aa1b4c6045
Garbage collect the second (slot number) parameter to NuBus interrupt
...
handlers. (Only slot_ignore() and slot_noint() need this, and we already
have a place to put this information.) Adjust add_nubus_intr() so that if
the client_data arg is specified as NULL, pass the slot number as
client_data to the interrupt handler.
1998-04-25 21:27:40 +00:00
scottr
00c8745cf0
Conditionalize some code that is only needed in the MACHINE_NONCONTIG
...
case. Eventually we'll want to GC this.
1998-04-25 18:06:44 +00:00
scottr
12e01e36dd
Missed removal of MACHINE_NONCONTIG. Pointed out by Allen.
1998-04-25 06:48:05 +00:00
scottr
e0114270c1
Replace outdated comment regarding the physical segment list in
...
mac68k_init() with something more appropriate. Also, remove an
extraneous but fortunately harmless line of code.
1998-04-24 06:12:29 +00:00
scottr
0b0a42a47d
From Allen: deal with avail_end correctly. This is simple
...
with the recent modifications to get_mapping() which caused it to
maintain a sorted segment list.
1998-04-24 05:53:29 +00:00
scottr
8bcac06284
Checkpoint of UVM work to date. This includes a fully-functioning
...
MACHINE_NEW_NONCONTIG interface implementation, which is now enabled
on all systems. Thanks to Jason Thorpe for his work on the hp300 port,
from which most of the code used here was derived.
XXX In spite of the fact that it works on the hp300, UVM does not (yet)
work well under load on mac68k.
1998-04-24 05:27:24 +00:00
scottr
0066f1fb4e
Pull in a few more kgdb-related bits. Getting there...
1998-04-24 05:15:25 +00:00
scottr
28a3c86926
Update to present reality.
1998-04-24 05:14:37 +00:00
scottr
132026d9aa
Garbage collection. (Wow, some of this stuff was _old_.)
1998-04-24 05:11:11 +00:00
scottr
72d21eb8e0
Make get_mapping() create a sorted segment list, coalescing
...
adjoining regions (except for the segment starting at the address
we loaded the kernel). This simplifies cpu_init_kcore_hdr()
considerably, but the real win will be with MACHINE_NEW_NONCONTIG.
1998-04-24 05:08:58 +00:00
briggs
fc3bdd6128
Add interrupt support for two more video cards: the Formac color card II
...
and the Radius PrecisionColor 24Xp. Thanks to <falk.stern@luene.net> and
<Mario_Magliocco@broder.com> for their remote sleuthing and testing.
1998-04-24 01:58:44 +00:00
scottr
88aa59e1cd
Correct type of 'nofault', and some whitespace KNFing.
1998-04-20 06:46:16 +00:00
scottr
ec5cc6194d
More kgdb groundwork pulled from hp300. While I'm in here,
...
correct some type-related problems and eliminate the register
qualifier.
1998-04-20 06:45:26 +00:00
scottr
a2973edb42
Lay groundwork for KGDB by pulling in the trap 15 handler from hp300.
1998-04-20 05:46:04 +00:00
scottr
b57acd6cd4
Minor adjustment for genassym.cf change.
1998-04-20 05:41:21 +00:00
scottr
a8cdbbf548
Garbage collect the constants we don't need.
1998-04-20 05:40:28 +00:00
scottr
d87f21702e
Make type explicit for egcs, from Erik Bertelsen in PR 5288.
1998-04-13 02:36:24 +00:00
scottr
9a7810a03e
Make type explicit for egcs, from Erik Bertelsen in PR 5288.
...
While we're here, kill register qualifier and other KNF.
1998-04-13 02:35:21 +00:00