itojun
d76ae83df8
add PULLDOWN_TEST for all the platforms.
...
XXX should be moved to somewhere else when stabilized
2000-06-30 17:10:15 +00:00
pk
b7e36aabb5
When winding down a DMA transfer, don't complain about the actual
...
transfer count being smaller than the minimum transfer size for which
we would use DMA. The device may be disconnecting, to complete the
transaction at a later time. Just let the 5380 engine proceed acting
on the current SCSI bus phase.
2000-06-29 14:06:40 +00:00
mrg
8daa58f52b
remove include of <vm/vm.h> and <machine/pmap.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-29 07:40:05 +00:00
pk
054fe0cb32
Move `DIAGNOSTIC || LOCKDEBUG'-only lock counters to the end of the cpu_info
...
structure, Just In Case.
2000-06-27 16:51:44 +00:00
pk
618d3d0fde
VME/IOMMU DMA load must also relocate DVMA addresses to the start of VME space.
2000-06-27 09:05:23 +00:00
kleink
bb2ed0f487
G/c _BSD_INTPTR_T_ and _BSD_UINTPTR_T_.
2000-06-27 05:53:22 +00:00
kleink
47b5c5e3b1
Resolve some formatting nits; add __intptr_t and __uintptr_t.
2000-06-27 04:58:51 +00:00
pk
e2b1b6cd42
Split si & sw drivers.
2000-06-26 19:54:08 +00:00
kleink
e695f72a2e
Add <machine/int_types.h>, which provides namespace-pure definitions
...
of exact-width integer types.
2000-06-26 15:42:16 +00:00
mrg
2f159a1bac
remove/move more mach vm header files:
...
<vm/pglist.h> -> <uvm/uvm_pglist.h>
<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
<vm/vm_object.h> -> nothing
<vm/vm_pager.h> -> into <uvm/uvm_pager.h>
also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
2000-06-26 14:20:25 +00:00
pk
51a2c92940
The `sw' driver should not use vme bus routines.
2000-06-26 09:50:00 +00:00
simonb
889c658b5b
Change the kernel mmap interface so that the offset to map is an
...
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".
Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
2000-06-26 04:55:19 +00:00
mrg
c543a66253
remove some redundant <vm/vm_xxx.h> includes
2000-06-25 13:26:19 +00:00
pk
8b3ad4a667
Use vme_dmamap_create() instead of bus_dmamap_create().
...
Remove Sun hardware id test from si_match().
2000-06-25 13:09:52 +00:00
pk
560d1ea54c
Implement vme_dmamap_create/vme_dmamap_destroy, which allows us to
...
select the appropriate DVMA subrange for VME devices.
2000-06-25 13:07:34 +00:00
pk
0790f00e68
Maintain the DVMA map extent subregion boundaries in the bus_dma map
...
structure.
2000-06-24 22:47:45 +00:00
kleink
133ea38323
Add a WEAK_ALIAS() macro.
2000-06-23 12:18:45 +00:00
fvdl
1ee7d22c0b
Remove prefix construction for softdeps. Add SOFTDEP option to GENERIC.
2000-06-22 20:27:49 +00:00
pk
6a56e89b7a
Enable SUN4_MMU3L (sun4/400 3-level MMU support)
2000-06-21 13:46:43 +00:00
pk
5c1633af0d
Fix pastos in bus_space_read_region_*() functions.
2000-06-21 13:41:23 +00:00
pk
2bb919e39a
Update entries for VME devices ie[1-4].
2000-06-20 14:24:24 +00:00
pk
a849fa0158
region_free: use correct index to invalidate a MMU region cookie in a pmap.
...
Remove work-around in pmap_enter(); the sun4/3-level MMU now works.
2000-06-20 12:04:22 +00:00
pk
c1aec32fc0
Use `pv_pool' in non-wait mode; for now, panic if memory is exhausted.
2000-06-19 21:06:32 +00:00
fvdl
51e81216d1
Rearrange previous slightly to avoid getting values that are too low;
...
the only goal here is to leave some space for the stack.
2000-06-18 23:03:45 +00:00
pk
d982283952
vme4_dmamap_[un]load: ensure enough DVMA space is allocated to cover the
...
buffer and store that amount in the DMA map to avoid re-computation.
Also add a cache flush as the bus_dmamap_sync() don't do that yet.
2000-06-18 19:30:21 +00:00
pk
a29dc4045f
Conversion to bus_space*().
2000-06-18 19:19:53 +00:00
mrg
feddb7ad96
merge in ultrasparc changes
2000-06-18 06:54:17 +00:00
fvdl
8dde6d4336
Account for the stack when computing the base va. This makes the
...
bootblocks work again on the 4/110.
2000-06-18 02:25:17 +00:00
pk
98726268ee
Remove pointless debugging check.
2000-06-15 14:42:32 +00:00
pk
cc9163a28a
Enable DMA interrupts.
2000-06-15 14:27:07 +00:00
pk
752b4566c4
bus_dmapmap_create: boundary must be 0, not NBPG.
2000-06-15 12:12:05 +00:00
veego
223d7455c7
Remove the obsolete config fragments for kernel crypto, because the IPsec
...
crypto code is now in the kernel source tree.
2000-06-14 22:02:13 +00:00
pk
f9cf3305c3
No need to cast return value of spl0().
2000-06-09 10:47:25 +00:00
pk
9bf0d228f0
spl0() and spllowersoftclock() return void.
2000-06-09 10:43:52 +00:00
pk
1610381d13
GC unused `autoconf_nzs'.
2000-06-08 21:37:43 +00:00
pk
12db2d5991
viking_pcache_flush_page: use entire PA tag field.
2000-06-08 14:45:18 +00:00
gmcgarry
6de3467b52
- Clean up use of AUDIO_C_HANDLER.
...
- Copy bus_space handles into auio for fast handler.
2000-06-06 22:34:34 +00:00
pk
c7d426f2b5
viking_cache_flush_page: spell bitmasks in hex, not octal.
2000-06-06 20:08:29 +00:00
pk
8a0d25a707
Oops, type confusion..
2000-06-06 09:20:31 +00:00
pk
b5321a5a5c
Make the address argument of pcache_flush_page() a `paddr_t'.
2000-06-06 07:56:40 +00:00
thorpej
814826fdda
Fix typo. kern/10291.
2000-06-05 20:47:47 +00:00
pk
862a955e34
Re-arrange code to flush physically indexed caches:
...
* replace `flush by line' function with a `flush by page' funtion, which
also takes an argument to indicate that write-back caches need not
validate its backing memory.
* use this function when allocating page table memory to flush the cache
before mapping it into kernel virtual space.
* also use it in pmap_{zero,copy}_page(), so we can safely use non-cacheable
access in there.
2000-06-05 20:38:24 +00:00
nisimura
4371d91433
Have MI ncr53c9x_attach() the 2nd and 3rd arguments for scsipi_adater
...
and scsipi_device respectively, with size reduction of ncr53c9x_softc.
Specifying NULL instructs the driver to use default adapter and default
device codes. Every target port has ncr53c9x_attach(sc, NULL, NULL) anyway.
2000-06-05 07:59:50 +00:00
cgd
cffb580806
Implement the more flexiable `evcnt' interface as discussed (briefly) on
...
tech-kern and now documented in evcnt(9).
2000-06-04 19:14:14 +00:00
thorpej
0e2f894851
Provide a CPU_IS_PRIMARY() macro in the MULTIPROCESSOR case.
2000-06-03 20:43:28 +00:00
pk
630ec72e5d
Make sure to have the cache info before allocating the global cpu_info
...
virtual addresses.
2000-06-03 09:56:35 +00:00
pk
aae0ef4cc1
In pmap_cpu_alloc(), allocate memory for the PTE tables in one sweep.
2000-06-02 10:43:59 +00:00
pk
65e4bcd9df
Re-initialize `proc0.p_cpu' after allocating the global `cpu_info'
...
address for the boot cpu (XXX)
2000-06-02 08:12:29 +00:00
matt
168343c32d
Make the ramdisk space the same as the ramdisk size being built in distrib
2000-05-31 17:35:59 +00:00
pk
08d1e4928a
Initialize `ci_self' on all CPUs.
...
Check `cpuinfo' pointers in mp_pause_cpus() & mp_resume_cpus()
2000-05-31 12:26:15 +00:00