scottr
3aa6a4e333
Make the diagnostic panic message when we don't have a pcb consistent
...
with the message one normally gets when the kernel panics due to
some other unhandled trap.
1997-08-07 21:37:03 +00:00
scottr
740b91a80c
Add the Classic II to intvid_info[]
1997-08-07 21:30:20 +00:00
scottr
c03541be22
Strip down to bare essentials for these machines.
1997-08-07 19:07:08 +00:00
scottr
06ac03dd55
Fix typo found by Colin Wood, PR 3934: ga_handle should get the value of
...
the handle, not the tag.
1997-08-03 16:44:24 +00:00
scottr
6f33c6446c
Drop splsched() to spl3(), so that it no longer blocks serial interrupts.
1997-08-03 07:20:40 +00:00
scottr
741cf383d0
Adjust prototype for ga_phys field in grfbus_attach_args.
1997-08-03 07:17:31 +00:00
scottr
cd74e0d31a
Adjust grf_establish() prototype.
1997-08-03 06:52:23 +00:00
scottr
f4ef74ae32
Fix grf{i,m}v_phys() prototypes.
1997-08-03 06:42:29 +00:00
scottr
dfa83e4861
Overhaul grf drivers to correct recent problems with X and dt
...
(address error faults), as well as other reported problems:
- Simplify grfmv_phys() to work like grfiv_phys(), and eliminate the
second argument to both, as we don't use it anyway.
- Handle fbbase and fboff consistently throughout. Closes PR 3862.
- Eliminate grfaddr() by pulling it into grfmmap(), which is the
only place it was used, previously.
- grfmap() now gets the physical address of the framebuffer from
the appropriate driver, rather than try to compute it by itself.
Be careful with aligning the base to a page address and increase
the length of the mapped region appropriately. Closes PR 2867.
1997-08-03 06:25:56 +00:00
scottr
e083a60af2
KNF
1997-07-26 18:13:30 +00:00
scottr
ef8ecc05da
cli_offset should be a bus_size_t now, and cli_value is an unsigned 32-bit int.
1997-07-26 08:28:20 +00:00
scottr
f65445ce80
Add support for Macintosh Display Card, using information provided
...
by Taras Ivanenko <ivanenko@ctpa03.mit.edu> in PR 3862. (The PR
is still open, due to an unresolved issue regarding the fbbase
field.)
1997-07-26 08:21:15 +00:00
scottr
5825a3f29c
Add option-{1,2,3} as an alternative to option-{,left,right} for mouse
...
button emulation. From SUNAGAWA Keiki <kei_sun@ba2.so-net.or.jp> in
PR 3887.
1997-07-25 23:08:15 +00:00
scottr
0f06fa608f
Add NETATALK, and be pedantic with a few comments.
1997-07-25 19:53:59 +00:00
scottr
35884534c1
Remove HOSTED_* targets; define and use CPP and SIZE symbols, as inspired
...
by cgd's recent changes for the Alpha port.
1997-07-24 05:48:51 +00:00
scottr
ef7df42303
Since spltty() will not lower the spl, only raise it, we need to
...
use splx() to undo the effect of the splzs() in zstty_softint().
1997-07-23 07:20:01 +00:00
scottr
3518ffabce
The PA of the framebuffer may not be page aligned, so make sure to
...
do this before comparing against the result of pmap_extract().
1997-07-23 07:17:52 +00:00
scottr
c2362b1d29
Remove unused option MAPMEM, as suggested by Erik Bertelsen
...
<erik@erik-be.uni-c.dk> in PR 3896. Also, revert to MRG_ADB
(for now), disable NETATALK, and remove unused drivers.
1997-07-23 06:42:40 +00:00
scottr
1a5689c4af
Remove unused option MAPMEM, as suggested by Erik Bertelsen
...
<erik@erik-be.uni-c.dk> in PR 3896.
1997-07-23 06:36:59 +00:00
scottr
ec622ce63c
GC unused MMSEG definition, from Erik Bertelsen <erik@erik-be.uni-c.dk>.
...
Closes PR 3898.
1997-07-23 06:33:53 +00:00
scottr
257d26f174
New implementation of _splraise(): use word-length operands where possible
...
by implementing entirely in assembly. This saves some 6 bytes on all MPUs,
and about 8 cycles on the 030.
Now that it's optimized, define spltty() in terms of _splraise() so that
we don't inadvertantly lower the SPL.
1997-07-23 06:24:33 +00:00
jtk
d36d6d14ab
use locator defines in "locators.h" to index cf_loc[]
1997-07-17 02:01:26 +00:00
scottr
3284008cff
Add DrHw value for the Macintosh Display Card
1997-07-15 15:45:38 +00:00
scottr
ec40091111
In nubus_print(), always print the NuBus slot number. Also, refine it so
...
that when no driver matches, our output is a little more consistent with
existing practice.
1997-07-15 07:43:12 +00:00
scottr
034bf6b188
Clean up some DIAGNOSTIC messages: use %x to display the slot number.
1997-07-14 23:05:35 +00:00
leo
198bd713f2
Generate assym.h dependencies when making 'depend'.
1997-07-12 22:07:36 +00:00
thorpej
d9d9b2f705
Remove a comment that has not been applicable for some time.
1997-07-12 19:03:11 +00:00
perry
ad1710ce1e
update comment from 1981 on memory and disk prices -- pr-2754 from Curt Sampson
1997-07-12 16:18:36 +00:00
scottr
7a1c9e3d1a
Remove a stowaway that got in on the last commit.
1997-07-12 06:13:08 +00:00
scottr
0dd96574d4
Fix from Dave Huang <khym@bga.com> for my exception vector botch for
...
the '040 and '060 in initcpu(). "D'oh!"
1997-07-12 06:07:24 +00:00
scottr
a628a48bba
Cosmetic changes to intvid_info[] initialization
1997-07-11 06:02:26 +00:00
scottr
a41c255aa0
Update for vm/lock.h -> sys/lock.h change
1997-07-10 18:00:40 +00:00
veego
1450ec3f1b
Restore the define of NPTEPG.
1997-07-10 08:23:03 +00:00
is
e03fce55ed
addql does set condition codes, so we are not allowed to put it in between
...
the andl and the jeq.
Mea maxima culpa.
1997-07-04 20:52:50 +00:00
scottr
9fc7759ee2
Optimize the bus error handlers a bit; save a couple cycles by dropping
...
through a branch rather than taking it in the case of an MMU fault,
which also has the desirable side effect of possibly avoiding an
I-cache miss.
1997-07-04 04:49:15 +00:00
scottr
d00173ae5a
Add support for Portrait Video Card. From SUNAGAWA Keiki
...
<kei_sun@ba2.so-net.or.jp> in PR 3821.
1997-07-01 19:04:18 +00:00
scottr
f2bdde942a
Due to reliability problems on some models, back out the more radical of
...
the pc532/dev/ncr.c-inspired changes; in particular, wait for previous
transfer to complete before starting another, as we used to do. Retain
splbio() protection and simplified sbc_pdma_in().
1997-06-30 05:24:35 +00:00
scottr
ea99cc2796
Fix tyop in last; will link 040-enabled kernels now.
1997-06-29 19:54:57 +00:00
scottr
4428f246a1
Split up CPU-dependent bus error/address error handlers. Mostly from
...
the Amiga port, but with an extension to save the actual fault
address (in m68k_fault_addr) when we catch a bus error.
1997-06-29 19:02:07 +00:00
scottr
6eb0e7c503
Prototype DCIS().
1997-06-29 18:56:11 +00:00
scottr
0b7e64bbfa
Update for mac68k_buserr_addr -> m68k_fault_addr change.
1997-06-29 06:10:35 +00:00
scottr
7044c8fd8a
Get several cleanup chores out of the way. The code is functionally
...
identical to the previous incarnation.
- Update using m68k asm.h macros
- Move initialization towards the front of the file
- Rename mac68k_buserr_addr to m68k_fault_addr
- Reorganize trap 15 handler, similar in structure to -- though not as
complete as -- the hp300 version
- Reorganize doboot() for easier integration of external cache, and
make room for the latter (#ifdef __notyet__)
- General garbage collection of unused code/data
1997-06-29 06:07:39 +00:00
scottr
a3bfbcf80a
Remove unused (#ifdef'ed) vector 0 initalizer
1997-06-29 05:52:11 +00:00
scottr
be164c61ed
Garbage collect bad{,b,w,l}addr()
1997-06-29 00:26:12 +00:00
scottr
494cda5d27
Use <m68k/include/asm.h>.
1997-06-28 23:35:02 +00:00
scottr
b1f4ee5c2a
Identify and use the Apple Twisted Pair NB card properly, from PR 3789
...
submitted by Denny Gentry <denny1@home.com>; investigation on the hardware
done by Bob Nestor.
1997-06-26 21:08:10 +00:00
briggs
9979fcd706
Fix from camk@telecom.ksu.edu (Kelly Campbell), via Ken Nakata, for a
...
problem causing SIGSEGVs under FP emulation on the 68LC040. The size
for the type 4 exception frame was not properly defined.
1997-06-25 12:44:05 +00:00
scottr
b43dd86019
Mask off page offset when building a pte for mapping the
...
framebuffer; from Walter Ruetten, closes PR 3147.
1997-06-19 17:00:02 +00:00
scottr
9dfb9a7f87
Add support for Mouse Systems A3 mouse. From Colin Wood.
1997-06-16 06:35:26 +00:00
scottr
db9068c773
Don't call Debugger() if we don't have ddb. Fixes PR 3744.
1997-06-15 20:34:15 +00:00
scottr
36b75f2735
Update from Denny Gentry <denny1@home.com>, PR 3685:
...
Simplify the way transmit buffers are managed, remove assumptions about
NBPG, simplify sonic_get handling, update snioctl to be more like other
current drivers, and probably a few other changes I've now forgotten about.
1997-06-15 20:20:07 +00:00
mrg
1258c8d25b
remove now obsolete "swap on..." lines.
1997-06-12 18:41:58 +00:00
mrg
552af779d2
bring mrg-vm-swap2 onto mainilne.
1997-06-12 15:46:19 +00:00
mrg
dc6a98e92c
bring mrg-vm-swap2 onto mainilne.
1997-06-12 15:09:23 +00:00
kleink
c41a940888
GC obsolete MDP_AST flag.
1997-06-11 08:58:09 +00:00
veego
61e0a78f37
s/mac68k_btop/m68k_btop/
1997-06-10 20:29:10 +00:00
veego
d9f8fea042
The 'Mach derived conversion macros' are now in <m68k/param.h>
1997-06-10 19:15:03 +00:00
veego
6d72d4542c
s/mac68k_btop/m68k_btop/
1997-06-10 19:13:36 +00:00
veego
e4b7dd88ce
s/mac68k_round_page/m68k_round_page/ s/mac68k_trunc_page/m68k_trunc_page/
...
s/mac68k_btop/m68k_btop/ s/mac68k_ptob/m68k_ptob/
1997-06-10 19:11:26 +00:00
veego
ef9394e96d
s/mac68k_trunc_page/m68k_trunc_page/ s/mac68k_btop/m68k_btop/
...
s/mac68k_ptob/m68k_ptob/
1997-06-10 19:09:05 +00:00
veego
f4068b5345
s/mac68k_round_page/m68k_round_page/ s/mac68k_trunc_page/m68k_trunc_page/
1997-06-10 19:03:38 +00:00
veego
0dc0a3ca5e
s/mac68k_btop/m68k_btop/
1997-06-10 19:02:33 +00:00
veego
dd62be796a
s/mac68k_trunc_page/m68k_trunc_page/
1997-06-10 19:01:35 +00:00
veego
0cd13fe0b5
s/mac68k_round_page/m68k_round_page/ s/mac68k_trunc_page/m68k_trunc_page/
...
s/mac68k_btop/m68k_btop/
1997-06-10 19:01:00 +00:00
veego
931d90fcee
Use the MI <m68k/param.h> include.
1997-06-10 07:54:35 +00:00
veego
a204fb7981
Initialize machine from MACHINE.
1997-06-08 23:54:19 +00:00
scottr
4f74abe8b7
Remove redundant cpu_set_kpc() prototype, found by Paul Goyette.
1997-05-22 18:40:10 +00:00
scottr
a777c246ad
Adjust for previous m68k/pcb.h change
1997-05-20 03:25:07 +00:00
scottr
d93126b350
Use common m68k/pcb.h; noted by Erik Bertelsen <erik@sockdev.uni-c.dk>,
...
closes PR 3650.
1997-05-19 17:36:45 +00:00
scottr
a0d035c410
Fix some printf format inconsistencies; from SUNAGAWA Keiki
...
<kei_sun@ba2.so-net.or.jp>, fixes PR 3619.
1997-05-19 17:23:09 +00:00
veego
a078a4be55
Fix lossage from the latest vm_pmap changes.
1997-05-19 10:14:47 +00:00
gwr
a8af683eb9
Eliminate references to vmspace.vm_pmap
1997-05-13 18:00:49 +00:00
scottr
fac0bcfedb
Update a recently-added comment re: bytelanes values.
1997-05-13 13:22:56 +00:00
scottr
5b80f9077f
Tweak sbc_drq_intr() (interrupt-driven PDMA interrupt handler); it
...
now works properly on at least some disks. Further testing is
necessary.
1997-05-13 06:34:00 +00:00
scottr
3b7a1d3ab0
Convert several interrupt handlers to bus space model, removing some
...
XXX's. Also, fix a bug in grfmv_intr_generic() that I found and
confirmed with Allen.
1997-05-12 20:35:50 +00:00
scottr
61322b7b85
KNF and other cosmetics.
1997-05-12 07:53:58 +00:00
scottr
bfc4c6c42d
Whoops; here's the rest of the Deferred Task Manager changes.
1997-05-12 07:53:04 +00:00
scottr
5842491f1c
Add en implementation of the Deferred Task Manager, contributed by Paul
...
Goyette <paul@pgoyette.bdt.com>.
1997-05-12 07:29:29 +00:00
scottr
ee80f1200e
Implement new NuBus slot space mapping/probing code, utilizing bus.h (and
...
our MD bus_space_probe() extension). This has several side effects:
- NuBus drivers must map and unmap slot space, rather than relying
on this happening before they are attached.
- Functions exported to NuBus drivers from nubus.c now need to be
supplied with a bus space tag/handle pair.
- Old bus map/peek functions can be garbage collected, as can pmap
support for the same.
Because of some current limitations of the bus space specification, we
are violating the abstraction in grf_mv (NuBus grf driver). All such
violations are clearly marked /* XXX */, and must be addressed when
the specification is updated.
1997-05-11 19:11:27 +00:00
scottr
94e0a9b88d
Update to current configurations.
1997-05-08 04:09:27 +00:00
lukem
c4eb220ea5
minor whitespaco fixes
1997-05-07 00:32:44 +00:00
lukem
5352e2713a
be consistent with use of spaces and tabs.
1997-05-06 00:31:49 +00:00
briggs
5230506ca5
Support for clearing interrupts on a Rasterops Colorboard 364.
...
Thanks go to Michel Chalufour <michelc@tiac.net> for grovelling around for
me.
1997-05-03 02:29:54 +00:00
briggs
1b2e317732
Thanks to Tobias Beal <tbeal41@maine.maine.edu>, we can clear interrupts
...
on at least one Radius Precisioncolor 8 board.
1997-05-02 00:54:28 +00:00
briggs
aba671db48
Treat drhw 118 and 119 the same for Apple ethernet cards.
1997-05-01 18:17:13 +00:00
briggs
a64bc3c19c
Clear the interrupts properly on an E-Machines Futura II LX and make a wild
...
guess at clearing them on a Futura II SX/DSP and RasterOps ColorBoard 364.
Thanks to Michel Chalufour <michelc@tiac.net> for loaning me the II LX.
1997-05-01 03:34:07 +00:00
briggs
ef185efb22
Add in a couple more board types.
1997-05-01 03:31:07 +00:00
scottr
19f1b8dd3f
Remove dependency on if_aereg.h for vendor constants; these are really
...
driver-, not architecture-specific.
1997-04-30 19:47:11 +00:00
scottr
b28e1b9459
Fix typo in last change.
1997-04-30 19:32:32 +00:00
scottr
4a36cdfd19
Adjust to use16bit -> dcr_reg change in MI driver.
1997-04-30 18:10:37 +00:00
scottr
0852aa1f1a
Use the new 8390 driver back end.
1997-04-29 05:17:13 +00:00
scottr
63ac9ee6e0
Use the new MI 8390 driver, and garbage collect.
1997-04-29 04:40:22 +00:00
scottr
c69d32662f
From Mycroft: Oops; forgot to GC the last mbuf allocated when
...
out of clusters.
1997-04-28 20:31:16 +00:00
scottr
70dcf0b5f6
Undo a hack added in the last overhaul (which caused an extraneous byte
...
to be written to the target). Also, use the sc_min_dma_len field
to determine whether to use PDMA or PIO.
1997-04-28 15:59:20 +00:00
briggs
d25f63a7bf
What was I thinking?
1997-04-27 19:26:48 +00:00
briggs
e861dbf8c7
A couple of performance improvements from Denny Gentry <denny1@home.com>
1997-04-25 03:40:09 +00:00
thorpej
6a00a9aa75
Adjust for <m68k/m68k/trap_subr.s>
1997-04-25 01:35:45 +00:00
scottr
72111ae284
From Mycroft: If we fail to allocate a cluster to hold a large packet,
...
simply drop it rather than using a chain of tiny mbufs.
1997-04-24 16:52:05 +00:00
scottr
c1c244e0a3
Implement new crash dump format. Mostly taken from hp300, extended to
...
support multiple physical RAM segments by me. Garbage collect functions
obsoleted by this change.
1997-04-23 19:15:16 +00:00
briggs
ed74d8f653
On video devices, if we're loading non-default resource values, save the
...
resource ID. Thanks to Paul Goyette <paul@pgoyette.bdt.com> for spotting
this one.
1997-04-23 13:37:43 +00:00