gwr
eff2e270bd
Merge arch/sun3x into arch/sun3
1998-02-05 04:56:24 +00:00
jonathan
bd968fbc68
Add kernel_text symbol to old Pica locore for final removal of KERNBASE.
1998-02-05 04:19:42 +00:00
sakamoto
9a3f7a093f
Use dev/isa/isadma.c.
1998-02-05 03:06:28 +00:00
jonathan
580a0a4d12
Add local `extern' declaration of ioasic_cd, as in alpha/tc/scc.c.
...
Missed here after the removal of ioasic_cd decl from ioasicvar.h.
1998-02-05 01:57:35 +00:00
thorpej
8e69ee392a
Fixup includes.
1998-02-04 23:41:45 +00:00
pk
dcf0846ffe
* Correct vme addresses in `xd' and `xy' declarations.
...
* Renamed option: MMU_3L => SUN4_MMU3L
* Enter NFS_BOOT_PARAM option.
1998-02-04 21:49:12 +00:00
pk
90be3b559d
Use vme_bus_probe() in si_attach().
1998-02-04 20:50:47 +00:00
sakamoto
a2b24d5571
Change "__BUS_SPACE_NEED_STREAM_METHODS" to "__BUS_SPACE_HAS_STREAM_METHODS".
1998-02-04 14:13:40 +00:00
thorpej
612aea038c
Use the common _bus_dmamap_sync() as the _dmamap_sync method in the
...
bus_dma_tag_t.
1998-02-04 07:37:28 +00:00
thorpej
1a2b1a18f2
The _dmamap_sync method is no longer optional.
1998-02-04 07:36:10 +00:00
thorpej
b1d8bffad8
Flush the CPU write buffer in _bus_dmamap_sync().
1998-02-04 07:35:30 +00:00
thorpej
8abe76d2f0
Add offset and length parameters to bus_dmamap_sync(), used for specifiying
...
partial syncs of a DMA mapping.
1998-02-04 05:12:46 +00:00
thorpej
99cc8482d1
Change the last argument of bus_dmamap_sync() from bus_dmasync_op_t to int,
...
and allow more than one synchronization operation to be specified in
a single call. Dissallow mixing of PRE and POST operations.
1998-02-04 01:57:27 +00:00
pk
bee3aa34cc
Account for changed vme_bus_probe() arguments.
1998-02-04 01:04:48 +00:00
pk
f060ed68ba
sparc_vme_probe(): handle callback argument.
1998-02-04 01:01:14 +00:00
thorpej
a7c5c1ef3c
Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
...
BUS_DMA_COHERENT.
1998-02-04 00:32:55 +00:00
thorpej
f35992633d
- Implement bus_dmamap_load_mbuf() (copied from i386 port).
...
- Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
BUS_DMA_COHERENT.
1998-02-04 00:32:22 +00:00
thorpej
4e7c05e588
Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
...
BUS_DMA_COHERENT.
1998-02-04 00:31:33 +00:00
thorpej
2d403996b2
Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
...
BUS_DMA_COHERENT.
1998-02-04 00:10:30 +00:00
thorpej
5fd0d10994
Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC toBUS_DMA_COHERENT.
1998-02-04 00:04:25 +00:00
thorpej
b7b27cb6e4
Back out a change that wasn't supposed to be in here.
1998-02-03 19:16:04 +00:00
mark
b280ec0268
Update copyright.
1998-02-03 19:08:27 +00:00
sakamoto
484f3e93b1
Correct copyright notice.
1998-02-03 07:00:34 +00:00
sakamoto
4cec855834
Change bebox_bus_{io,mem} to BEBOX_BUS_SPACE_{IO,MEM}
1998-02-03 04:38:53 +00:00
sakamoto
e65fe12381
Remove MD ed,wdc drivers.
1998-02-03 04:34:49 +00:00
sakamoto
e3fee92b6e
Change bebox_bus_{io,mem}.bus_base to BEBOX_BUS_SPACE_{IO,MEM}.
1998-02-03 04:32:17 +00:00
sakamoto
821174f3ba
Remove MD ed,wdc drivers and Support MI ne,wdc drivers.
...
Change assembler source suffix.
1998-02-03 03:59:53 +00:00
sakamoto
1f9630f4a8
rename {locore,setjmp}.S to {locore,setjmp}.s
1998-02-03 03:53:23 +00:00
sakamoto
cf5d09dc82
Add bus_space_{read,write,set}_{,multi,region}_stream_{2,4,8}().
...
These methods would be used where "raw" data needs to
{read,write,set} unchanged.
Add define __BUS_SPACE_NEED_STREAM_METHODS.
1998-02-03 03:11:15 +00:00
sakamoto
7026df0613
remove unnecessary cast.
1998-02-03 03:10:24 +00:00
mycroft
b5c132e4d2
Prototype __flt_rounds() consistently.
1998-02-03 01:26:20 +00:00
cgd
f98d915597
remove gross temporary hacks implemented to pacify com.c. That's
...
been done in a cleaner way by cleaning up the com.c #ifdefs some.
Software tty interrupts should be implemented on NetBSD/arm32,
but these hacks are no longer necessary to work around the lack.
1998-02-02 23:05:50 +00:00
jonathan
8b8b6ca51d
garbage-collect unused MMSEG. From PR# 3898.
1998-02-02 22:21:32 +00:00
jonathan
adac7274cc
Finish bi-endian support: add code to sum odd start/end bytes
...
correctly on both big and little endian systems.
From Tsubai Masanari <tsubai@iri.co.jp> in PR# 4434.
1998-02-02 21:27:17 +00:00
thorpej
2d33c2a97c
Implement OF_getproplen().
1998-02-02 21:02:30 +00:00
jonathan
e50f17aab7
Delete incorrect private declaration of db_maxoff.
1998-02-02 12:49:15 +00:00
sakamoto
d5e690b8b7
Eliminate __BROKEN_INDIRECT_CONFIG
1998-02-02 05:54:20 +00:00
sakamoto
f94197be4a
Eliminate unnecessary define.
1998-02-02 05:17:40 +00:00
sakamoto
56620b3054
Move "read clock information from bootinfo" to initppc() from cpu_initclocks()
...
for delay() before cpu_initclocks().
Sync with powerpc/powerpc/machdep.c.
1998-02-02 04:59:19 +00:00
thorpej
172b242837
Rearrange slightly the way the debugger exception vectors are initialized.
1998-02-02 03:01:28 +00:00
is
b3fa451227
Amiga uses the common m68k/sig_machdep.c now. Also moved its definition from
...
the other 68k ports' files.${port} to arch/m68k/conf/files.m68k.
1998-02-01 21:23:24 +00:00
thorpej
cfa47dfc11
Add support for installing boot blocks into ISO-9660 file system images.
1998-02-01 06:59:30 +00:00
thorpej
fea34a1cf2
Bump the ramdisk size to 3M.
1998-02-01 02:55:42 +00:00
jonathan
5ca978e981
Use correct name ("ioasic") when checking parent bus.
1998-02-01 02:25:34 +00:00
jonathan
696b21e65f
Change VM_WAIT --> vm_wait() in mips pmap code, where waiting after
...
vm_page_alloc1() fails to return a page for use as a segtab.
XXX there must be a better way to do this.
1998-02-01 01:55:15 +00:00
thorpej
4efe4fc0da
le* at isa? isn't ready for prime-time yet.
1998-02-01 00:24:26 +00:00
ragge
a355d0bc1b
Re-implement page reference bit emulation by using the (otherwise unused)
...
valid bit. This is faster than the "unmap all" solution that were described
in that Mach paper _and_ it eliminates the need for checking the wired bit.
As a result of this; swapping started working again on vax :-)
1998-01-31 12:17:34 +00:00
ross
d0cce6d144
Take Jason's most excellent advice on platform.model.
1998-01-31 10:55:42 +00:00
ross
1e62e0ffd9
Remove the #include of rpb.h from clock.c and set hz from the hwrpb
...
in alpha_init() instead of from a hardwired 1024 in cpu_initclocks().
1998-01-31 10:32:47 +00:00
cgd
58fb6574f9
valloclim() was unused; kill it. #undef valloc() at the end of
...
allocsys().
1998-01-31 02:20:44 +00:00
ross
6270ed1711
Add the A12 fast ethernet controller, an if_de.c hacked (prior to
...
bus_dma's appearance in the tree) to support sram bounce buffers.
When a busified if_de.c appears, this module can join awd.c at the
end of that long walk on a short pier.
1998-01-31 01:43:40 +00:00
ross
3a83745247
In some hp300-derived pmaps, in pmap_page_protect(), don't walk off the
...
end of the list of physical->virtual entires into NULL space if the last
entry is (mysteriously) wired in the pmap. Add a DEBUG printf on alpha.
1998-01-31 01:32:55 +00:00
ross
1559f49cd1
Correct a number of apparent errors in a few reboot paramemter block fields.
1998-01-29 22:28:52 +00:00
ross
ccafd3dcb9
Define the A12 names.
1998-01-29 22:26:24 +00:00
ross
f2d2b6bf68
defopt for AVALON_A12 and specifiers for all the platform modules.
1998-01-29 22:23:06 +00:00
ross
18beceb2f9
Recognize Avalon A12 cputype code.
1998-01-29 22:20:15 +00:00
ross
43a3471986
While here in alpha/stand, add a technically required imb coherency op
...
just before transferring to the kernel entry point.
1998-01-29 22:13:25 +00:00
ross
c1972a428c
Avoid VMS palcode ops by using a different technique for cpu_number(),
...
and don't execute the VMS->OSF palcode switch if the OSF palcode
is already running...which will be the case if the console is not
the venerable SRM.
1998-01-29 22:09:37 +00:00
ross
8430acf1e7
Add a12 platform support. The A12 is a scalable, distributed memory parallel
...
processor.
1998-01-29 21:46:33 +00:00
ross
12f93343cd
Add basic platform support for NetBSD on the Avalon A12. I'm running this
...
CVS commit on one right now...
1998-01-29 21:42:50 +00:00
ross
683fada0e3
Clean up duplicated code sequences and add an imb (a coherency operation)
...
whenever the console code is mapped and unmapped.
1998-01-29 21:11:58 +00:00
ross
0c4d28f49e
Fix an alpha-specific page daemon wedge...the new pmap_clear_reference()
...
may be faster, but it was supposed to _clear_ PMAP_ATTR_REF, not _set_ it.
1998-01-29 05:44:57 +00:00
tron
56ba21e271
Add option "#options IPFILTER_LOG", fixes port-i386/4858.
1998-01-29 01:53:03 +00:00
thorpej
d454388747
Fix think-o. Noted by Ian Dall.
1998-01-28 18:26:09 +00:00
bouyer
2edc21452a
The name of cyrix's CPU family 6 model 0 is 6x86MX. Also set this name
...
for the default name.
1998-01-28 17:08:05 +00:00
gwr
6b745182fc
No need for NFS_BOOT_RWSIZE here (root is always md0)
1998-01-28 16:41:10 +00:00
gwr
d2f145c059
Add NFS_BOOT_BOOTPARAM (fixes PR#4904)
1998-01-28 16:40:19 +00:00
thorpej
2538ed1062
Use offsetof() from libkern.h
1998-01-28 02:23:04 +00:00
pk
d8dc32e559
It's no longer necessary to deal with the timers early.
1998-01-28 00:15:09 +00:00
cgd
a34a81d49b
fix change made in rev 1.5: clock was moved to ioasic, but ioasic
...
_requires_ offset locator (which may be wildcarded). No offset locator
was supplied, so kernel configs using this file would fail.
1998-01-27 18:17:39 +00:00
ragge
fe52d237fd
Fix to make vfork work on machines with separated PCB/mtpr PTE registers.
1998-01-27 17:35:03 +00:00
sakamoto
a013a80854
Import DDB from OpenBSD/powerpc.
1998-01-27 15:13:09 +00:00
sakamoto
7055a6a919
Import DDB from OpenBSD/powerpc.
1998-01-27 09:15:58 +00:00
sakamoto
8c2e671594
Fix PR/4679:missing cast, from SUNAGAWA Keiki.
1998-01-27 05:46:59 +00:00
thorpej
5d3fc3e8bc
Implement bus_dmamap_load_mbuf().
1998-01-27 03:31:54 +00:00
thorpej
5ac7e550d1
Implement bus_dmamap_load_mbuf().
1998-01-27 02:35:58 +00:00
gwr
995291fbac
Deal with the fact that PROM driver descriptors are allowed to have
...
zero-length list of "standard addresses" by ignoring d_devbytes if
there are no addresses provided. In these cases, the PROM will map
the device without our help.
1998-01-26 22:02:17 +00:00
gwr
faf4390c38
Save the "bustype" from our attach args in the controller "softc"
...
and use that instead of hard-coding BUS_VME32 everywhere.
(The Sun3X needs a more specific bustype value.)
1998-01-26 21:03:43 +00:00
gwr
3ba1e07ef5
Simplify the colormap and blanking stuff a little.
1998-01-26 20:53:17 +00:00
gwr
ac930c3c4d
Moved back to sun3/sun3
1998-01-25 22:41:07 +00:00
pk
72f0ab269f
These drivers are now in dev/vme.
...
The `ie' driver has been split in a VME and OBIO front-end. The latter
lives on in this directory as `if_ie_obio.c'
1998-01-25 20:33:54 +00:00
pk
3d46658e38
disk_establish(): add xd & xy cases (XXX - need more thought).
1998-01-25 19:59:14 +00:00
pk
f937c21c08
VME device declaration changes:
...
- `vmes,vmel' => `vme'
- interrupt locator is the VME interrupt priority (`pri')
1998-01-25 19:56:30 +00:00
pk
531a4b2d77
sparc/obio bus front-end to the i82586 driver.
1998-01-25 19:50:50 +00:00
pk
8bc346d14a
All VME stuff is gone from here.
1998-01-25 19:44:43 +00:00
pk
7a39d28b24
bus_map() & bus_untmp() are only used for sun4/obio devices.
1998-01-25 16:51:16 +00:00
pk
d44f401c95
bus_tmp() => obio_bus_tmp()
1998-01-25 16:49:33 +00:00
pk
bcb062819f
The VME bus is now called `vme'.
1998-01-25 16:47:21 +00:00
pk
333b6319fc
Convert to new VME interface.
1998-01-25 16:38:01 +00:00
pk
4efb52487a
Split si & sw attach routines, and make the si part use the new VME interface.
1998-01-25 16:37:08 +00:00
pk
f8ba1e0bd9
sparc/VME bus implementation.
1998-01-25 16:06:25 +00:00
mycroft
63162f08ec
Add a svr4_setregs() (that just calls setregs() right now).
1998-01-24 18:26:09 +00:00
mycroft
15ae963bea
When dumping, print out the device number as major,minor.
1998-01-24 16:46:23 +00:00
pk
8a5023e38c
After writing to the IOMMU flush registers, read something back from
...
IOMMU control space to a flush register to drain internal write buffers (?).
This avoids utter lossage on some machines (SS4s & SS5s) where our caller
would see some of its local (`%lx') registers trashed. This is probably
caused by a silicon bug allowing interference on internal data paths..
1998-01-24 16:22:47 +00:00
mycroft
1f21545d93
Correct an oversight in the startup changes that caused the wrong exception
...
to be reported in one case.
1998-01-24 15:50:42 +00:00
mycroft
8661bee5de
Minor change.
1998-01-24 14:22:44 +00:00
ragge
eda1eecede
Remove __BROKEN_INDIRECT_CONFIG and change all drivers to use
...
config_search instead.
1998-01-24 14:16:11 +00:00
mycroft
d664bf39b8
Add some comments about what the control words do.
1998-01-24 14:00:36 +00:00
mycroft
a963fe5864
Store the initial NPX control word appropriate for the emulation in the saved
...
FPU state, and use it when initializing the FPU on demand.
1998-01-24 13:19:46 +00:00
mycroft
a9a7cc88d1
Need foo_exec.h.
1998-01-24 12:45:16 +00:00