eeh
d395d34886
Work on 32-bit cleanup.
1998-08-23 15:52:43 +00:00
eeh
41fb08c335
Added pv_syncflags() (unused) and debug stuff.
1998-08-23 15:51:23 +00:00
eeh
a579357e66
Remove dvma_mapin() and other cruft.
1998-08-23 15:49:02 +00:00
pk
66795e62e7
Move sparc_vme_dmamem_map() outside `#ifdef SUN4M'
1998-08-23 10:40:38 +00:00
pk
4539119e83
Nuke phys_map & old dvmamap.
1998-08-23 10:08:25 +00:00
pk
4fe6cdf6ca
Nuke obsolete prototype.
1998-08-23 10:07:09 +00:00
pk
2a6be00de5
Rename DVMA constants.
1998-08-23 10:05:53 +00:00
pk
666587112f
Use bus_dmamem_{alloc,free} instead of the old VM hack.
1998-08-23 10:04:56 +00:00
pk
e68fd96987
Remove DVMA address special cases in pv_changebit().
1998-08-23 10:01:24 +00:00
pk
434a2cc972
Nuke phys_map & old dvmamap.
1998-08-23 09:59:24 +00:00
pk
9a2b941ecb
Rename DVMA constants.
1998-08-23 09:53:03 +00:00
eeh
5e1f92b621
64-bit clean cleanup of ofwboot.elf.
1998-08-23 02:48:28 +00:00
augustss
c29fdceff3
Prepare for MIDI devices.
1998-08-22 22:50:53 +00:00
eeh
edab5330c3
Fix typo in previous fix.
1998-08-22 22:45:19 +00:00
eeh
9f5435229a
64-bit-ify this. Depend on _lp64.
1998-08-22 22:16:01 +00:00
scw
592953d009
Fix tyop.
1998-08-22 18:11:25 +00:00
mrg
c54c62ad31
bsd_audioio.h is not used.
1998-08-22 15:56:46 +00:00
minoura
7f4ad4748e
Eliminated vm_offset_t and vm_size_t.
1998-08-22 14:38:36 +00:00
ragge
e727d1e031
Must #define __warn_references if not GNUC.
1998-08-22 12:12:38 +00:00
scw
a84a67440f
vm_offset -> [vp]addr_t and vm_size_t -> [vp]size_t
...
While I'm here, expunge use of 'register' storage class.
1998-08-22 10:55:33 +00:00
ragge
00475fbb1f
New times, new pagesize, use magic number in exec header.
1998-08-22 09:16:45 +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
is
9948205c5a
Prepare for support of Apollo-cpuboard-reworked A3000 mainboard SCSI.
1998-08-21 19:13:27 +00:00
is
ae8175cb09
Workaround for the incomplete fastmem loading scheme: put uptbase lots higher,
...
so that hopefully it doesn't get overwritten by the 1:1 mapped kernel copy.
See line 375 for an explanation.
1998-08-21 18:51:58 +00:00
tsubai
5a294dbb55
Add missing "-a" to mkdep line for locore_machdep.S.
1998-08-21 16:24:25 +00:00
tsubai
d4d7416198
vm_offset_t --> [pv]addr_t.
1998-08-21 16:13:28 +00:00
tsubai
f6dcf3f9c6
Change vm_offset_t to [pv]addr_t.
1998-08-21 14:52:29 +00:00
pk
79dd1e8563
Convert to [pv]addr_t & [pv]size_t.
1998-08-21 14:13:53 +00:00
pk
b8a1caac4a
Convert to [pv]addr_t & [pv]size_t.
1998-08-21 14:12:18 +00:00
pk
24255abca0
iommu_{enter,remove} moved to iommuvar.h
1998-08-21 14:10:42 +00:00
pk
ca5b5652b4
Remove vm_offset_t & vm_size_t.
1998-08-21 14:09:59 +00:00
pk
f318f15bc3
Convert to [pv]addr_t.
1998-08-21 14:07:37 +00:00
tsubai
5bcec15811
Add #ifdef DDB around Debugger();
1998-08-21 14:07:03 +00:00
ragge
6aba9c11ff
VAX logical page size increased to 4k.
1998-08-21 13:46:38 +00:00
scottr
33395d926e
Remove an extraneous printf when attaching a Valkyrie.
1998-08-21 13:46:31 +00:00
ragge
b3574d3923
VAX logical page size increased to 4k.
1998-08-21 13:41:09 +00:00
pk
7575f8fac5
Move iommu_enter/iommu_remove here from <include/cpu.h>.
1998-08-21 13:29:57 +00:00
tsubai
057ca9bfe1
No longer used.
1998-08-21 13:22:25 +00:00
tsubai
5617a263e0
Correctly initialize scb struct.
1998-08-21 13:19:43 +00:00
matt
f1a6a0936f
The VAX46 (VS4000) needs the clock stuff the VAX43 does...
1998-08-20 23:52:42 +00:00
pk
02d030ca52
Pass on `NOWAIT' and `boundary' args to extent_alloc().
1998-08-20 20:49:33 +00:00
pk
363b678b9e
Flesh out more of the sun4 busdma functions.
1998-08-20 20:46:59 +00:00
pk
02c059eefa
Pay attention to BUS_DMA_NOWAIT & boundary args where appropriate.
1998-08-20 20:45:40 +00:00
veego
ff2c3adddc
Add some braces to stop the new egcs warnings.
1998-08-20 19:55:06 +00:00
ragge
fb9171df3d
Fix write/read of memory.
1998-08-20 16:47:11 +00:00
scottr
b27d106197
Match grf_obio devices correctly for the 58x/63x.
1998-08-20 13:58:04 +00:00
pk
aee27828f9
Some machines (Voyagers) apparently have zs devices with multi-valued
...
register properties in the PROM.
1998-08-20 11:47:39 +00:00
kleink
a6d3fb3799
vm_offset_t -> {paddr_t,vaddr_t}, vm_size_t -> vsize_t
1998-08-20 08:33:41 +00:00
thorpej
f73a7043f3
ISA Game port driver, lifted from BeBox port.
1998-08-20 06:31:34 +00:00
thorpej
b176b7ba0f
Add joy driver at cdev 56.
1998-08-20 06:30:56 +00:00
thorpej
31ac3d022c
Add joy driver devsw declarations.
1998-08-20 06:28:43 +00:00
thorpej
2d282c7e70
Add joy driver glue.
1998-08-20 06:28:18 +00:00
thorpej
cc042ba0e5
Correct a function name in a panic message.
1998-08-20 05:46:20 +00:00
matt
5232b66bd5
Initial steps to getting the VAX to use the MI driver framework.
1998-08-18 23:55:00 +00:00
thorpej
ff266f0937
Add some braces to make egcs happy.
1998-08-18 18:23:07 +00:00
mycroft
a76eb95be9
Tab vs. space, and turn *off* XSERVER_DDB by default.
1998-08-18 17:03:42 +00:00
leo
2ce88694c7
Do not include files.isapnp, this file is now included from files.isa...
...
(Julian Coleman)
1998-08-18 11:51:07 +00:00
thorpej
cf3457cb9d
Add some braces to make egcs happy (ambiguous else warning).
1998-08-18 07:53:47 +00:00
leo
47cf1b0e0a
Circad Leonardo video driver by 'maximum entropy'.
1998-08-18 07:45:02 +00:00
thorpej
136e58fb9f
Internal cleanup.
1998-08-17 22:35:04 +00:00
thorpej
5e04cc8bb7
Internal bus_dma cleanup.
1998-08-17 22:33:09 +00:00
thorpej
fb0cc46daf
Internal cleanup.
1998-08-17 22:30:08 +00:00
thorpej
4396c67463
Internal cleanup.
1998-08-17 22:28:00 +00:00
augustss
cd09067eb4
* Redo the way the way the MIDI driver attaches to audio devices.
...
* Improve the midisyn layer a little.
* Add a driver for the Yamaha OPL[23] FM synths.
The opl driver is not finished yet; it sounds pretty awful.
For some strange reason I cannot get any FM sound from my SB64 cards,
but a regular SB16 works fine.
1998-08-17 21:16:09 +00:00
thorpej
0809175887
#define _CS_OFISA_MD_REG_FIXUP
1998-08-17 20:40:53 +00:00
thorpej
defb1b327e
Implement a reg fixup, needed for old OpenFirmware builds.
1998-08-17 20:38:08 +00:00
thorpej
e7a551d60e
Some internal cleanup; pass a tag around, not individual arguments.
1998-08-17 20:15:55 +00:00
briggs
45bcd0fe79
Update comment after cut and paste.
1998-08-17 15:04:51 +00:00
mycroft
a1ac68819f
Assign my copyrights to TNF.
1998-08-17 00:26:32 +00:00
eeh
9ec98c99ae
Added elf64 support (I hope).
1998-08-16 23:30:00 +00:00
scottr
19a5912587
Remove the 'fast' return from intrhand().
1998-08-16 22:29:03 +00:00
kleink
708c5f826e
Add missing wint_t (currently unused).
1998-08-16 17:16:56 +00:00
scw
201603f86e
Hopelessly out of date, esp. now that we follow the standard
...
installation procedure.
1998-08-16 15:39:58 +00:00
scw
445aefc354
Switch to using the common m68k stuff for a couple of things:
...
. cache control functions <m68k/cacheops.h>
. sigreturn code <m68k/m68k/sigreturn.s>
Also a few of other things found while scouting around for vm_offset_t
changes.
1998-08-16 15:33:48 +00:00
tsubai
573f3aee5c
Enable 115200 and (untested)230400 bps.
1998-08-16 11:24:36 +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
mark
518c6812d3
Block user space access between the cache purge and the context switch in
...
cpu_switch() as all user space addresses must be removed from the cache
prior to the context switch and interrupts are live for the purge.
1998-08-16 02:17:17 +00:00
wrstuden
0e4dc30457
As ovbcopy & bcopy are now done in terms of mem* routines, it makes
...
no sense to "#define ovbcopy bcopy".
1998-08-16 02:15:50 +00:00
mark
2ea34b589c
Enable interrupts during cache clean, purge and sync operations.
...
Instead use a flag to indicate that all user space access are blocked
during the cache op to ensure that user space virtual addresses correctly
expunged from the cache.
1998-08-16 02:14:15 +00:00
mark
decc2dde0a
Implement a mechanism to prevent fuswintr() and suswintr() from accessing
...
user space via a flag. This enables interrupts to be live during certain
critical operations where user space accesses must not be attempted.
1998-08-16 02:11:32 +00:00
mark
152c00c687
Enable interrupts as soon as possible in prefetch_abort_handler(),
...
beore any of the diagnostic checks etc.
1998-08-16 02:03:30 +00:00
mark
d83571ea08
Enabled interrupts as soon as it possible in syscall(), before any
...
of the diagnostic checks.
1998-08-16 02:01:16 +00:00
wrstuden
961641ad2d
We claim to support some mii-equiped pci ethernet drivers, so we
...
need to include dev/mii/files.mii. :-)
1998-08-16 01:40:29 +00:00
rvb
8e5a13f5f0
Avoid double fault on errors during probes
1998-08-16 00:42:51 +00:00
thorpej
c529c40718
Normalize the copyright notice on this file.
1998-08-15 20:42:25 +00:00
mycroft
d07b3639a4
Assign my copyrights to TNF.
1998-08-15 17:47:15 +00:00
mycroft
62b1bf3e2e
Assign my copyrights to TNF.
1998-08-15 10:51:16 +00:00
mycroft
228f894ea2
This code was written by Jason.
1998-08-15 10:38:03 +00:00
mycroft
530fef3c8d
Assign my copyrights to TNF.
1998-08-15 10:34:43 +00:00
mycroft
6dc903202f
Assign my copyrights to TNF.
1998-08-15 10:10:47 +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
mycroft
129cbf95ee
Minor edit.
1998-08-15 05:16:41 +00:00
mycroft
c9a799adf6
Assign my copyrights to TNF.
1998-08-15 04:57:50 +00:00
mycroft
cc8a78e783
Assign my copyrights to TNF.
1998-08-15 04:42:42 +00:00
mycroft
cdf829a998
Assign copyrights to TNF.
1998-08-15 04:22:45 +00:00
mycroft
b2827b9d36
Assign copyright to TNF.
1998-08-15 04:16:55 +00:00
eeh
239bc62b37
Add a makefile.
1998-08-15 03:57:58 +00:00
mycroft
df9baf2311
Assign copyrights to TNF.
1998-08-15 03:51:30 +00:00
mycroft
08ab3f8338
I didn't write any of this.
1998-08-15 03:36:34 +00:00
mycroft
6d3d8a1350
Make copyright notices with my name consistent.
1998-08-15 03:02:31 +00:00
thorpej
2b869a383f
Use _CS_OFISA_MD_* callbacks for old, broken OpenFirmware builds.
1998-08-15 02:59:01 +00:00
mark
2a48768678
Debug inst_unconditional_flow_transfer and next_instr_address
...
macros so that single stepping works correctly.
1998-08-15 02:57:28 +00:00
thorpej
d5df55112a
vm_offset_t -> {paddr_t,vaddr_t}, vm_size_t -> vsize_t
1998-08-14 16:50:00 +00:00
thorpej
97e83f6e0b
Change the "vm_offset_t"s to "u_long"s for now; eventually, we can make
...
them vaddr_t and paddr_t, as appropriate (after scouring the RPB docs
to know which are phys and virt addresses).
1998-08-14 16:46:09 +00:00
mark
170eadd04c
Add FILECORE filesystem.
1998-08-14 03:56:21 +00:00
rvb
4283228f33
Make message less confusing
1998-08-14 02:20:07 +00:00
thorpej
f41c00629b
Garbage-collect vm_offset_t and vm_size_t.
1998-08-13 21:36:27 +00:00
thorpej
330d142f16
vm_offset_t -> {vaddr_t,paddr_t}, vm_size_t -> vsize_t
1998-08-13 21:36:02 +00:00
rvb
e829016cba
Keep d_ncylinders correct
1998-08-13 18:18:54 +00:00
rvb
d0153a96fe
The sense of the pccons_is_console test is backwards
1998-08-13 18:00:05 +00:00
rvb
0430a2cf75
Include db_dbgregs.s for ddb
1998-08-13 17:55:41 +00:00
rvb
1ae4d7da86
Allow inb/outb and friends to be called from debugger.
...
Crude access to x86 hdw "debug" registers.
1998-08-13 17:54:15 +00:00
rvb
67390e1ee2
Make serial line debugging easier to enable and use
1998-08-13 17:41:10 +00:00
scottr
18b4602fd5
Add a comment regarding the broken behavior of the DAFB v7.
1998-08-13 13:45:33 +00:00
tsubai
0acc329dad
Remove ``#define ovbcopy bcopy''. This exists in sys/systm.h now.
1998-08-13 06:21:38 +00:00
tsubai
a750861e5d
Mask interrupt by hardware register if possible.
1998-08-13 06:18:27 +00:00
eeh
a2dd74ed79
Merge paddr_t changes into the main branch.
1998-08-13 02:10:37 +00:00
is
8b950c2a65
Get rid of AMIGA_UPTBASE.
...
Replace it by a variable, which is initialized in amiga_init.c.
This will make the kernel actually work even if we have lots of Zorro-III
(or DraCo direct bus) i/o space.
1998-08-12 19:46:12 +00:00
mycroft
f903600948
Add audio at ess.
1998-08-12 18:32:18 +00:00
augustss
8415989ddf
Add the PC speaker MIDI attachment.
1998-08-12 18:17:55 +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
3e2efa4365
Fix a prototype tyop spotted by Bill Studenmund: s/clnintr/clnlintr/
1998-08-12 06:46:57 +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
mark
3ad4ac45f9
Reworked interrupt blocking and unblocking to improve interrupt latencies
...
during context switches.
1998-08-12 01:10:29 +00:00
mjacob
5ad5bb35af
minor change to make the message less linux like
1998-08-12 00:03:23 +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
thorpej
f3dd6e430b
Pull in files.mii
1998-08-11 18:52:52 +00:00
ragge
2c639fb882
Cache and microsecond clock resolution on KA46.
1998-08-11 17:52:57 +00:00
leo
557c338959
Add CCITT & NATM interrupt handlers. (Jonathan Stone).
1998-08-11 12:22:57 +00:00
leo
6617ede128
KERNEL_RELOC -> RELOC_KERNEL (Entropy)
1998-08-11 07:05:46 +00:00
thorpej
cf231bf251
Adapt to MII changes.
1998-08-11 00:28:53 +00:00
is
f8dd65f3f5
Fix ommision in last backout.
1998-08-10 20:23:50 +00:00
is
c81476c89d
ISDN Blaster / Master: ZBus attachment / SUPIO driver.
1998-08-10 18:53:31 +00:00
is
e5439fc15b
Back out last change --- it doesn't work this way
1998-08-10 18:43:06 +00:00
mark
0a1a20bd29
Recognise STRH, STRSH and STRSB instructions as store instructions when
...
determining page protections for [u]vm_fault(). Fixes bug spotted by
Richard Earnshaw.
1998-08-10 15:15:49 +00:00
ragge
9f13823e62
Support for VS4000/60. Some needs-count -> needs-flag.
1998-08-10 14:48:53 +00:00
ragge
c355f4a0ed
Support for VS4000/60.
1998-08-10 14:47:16 +00:00
ragge
2ff84b0fe4
Kickoff xmit interrupts, needed on chip DC7201.
1998-08-10 14:41:16 +00:00
ragge
972b94efc4
Basic support for VS4000/60.
1998-08-10 14:31:07 +00:00
mycroft
86fe068843
Add ess at isapnp.
1998-08-10 01:54:59 +00:00
mrg
ca7ad3aff1
make this compile in a not SUN4M world.
1998-08-09 23:37:12 +00:00
is
878203d616
Cosmetics: it's a "HyperCom 3Z" on a ZBUS, no "HyperCom 3".
1998-08-09 22:25:18 +00:00
is
98f1a01dec
Actually probe the hardware.
...
This is for HyperCom 3i slaveboards (to be done soon) that might or might not
sit on top of a HyperCom 3Z or HyperCom 4 or ISDN Blaster.
1998-08-09 22:08:40 +00:00