#
dbbfd4d6 |
| 16-Nov-2016 |
macallan <macallan@NetBSD.org> |
switch to common MIPS bus_space and bus_dma tested by flxd@
|
#
3cd44b66 |
| 20-Feb-2011 |
matt <matt@NetBSD.org> |
Merge forward from matt-nb5-mips64. New interrupt code. mips64 support for DS5000/260.
|
#
02cdf4d2 |
| 14-Mar-2009 |
dsl <dsl@NetBSD.org> |
Remove all the __P() from sys (excluding sys/dist) Diff checked with grep and MK1 eyeball. i386 and amd64 GENERIC and sys still build.
|
#
ce099b40 |
| 28-Apr-2008 |
martin <martin@NetBSD.org> |
Remove clause 3 and 4 from TNF licenses
|
#
53524e44 |
| 04-Mar-2007 |
christos <christos@NetBSD.org> |
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
#
4410329b |
| 21-Feb-2007 |
mrg <mrg@NetBSD.org> |
add a pair of new bus_dma(9) functions: int _bus_dmatag_subregion(bus_dma_tag_t tag, bus_addr_t min_addr, bus_addr_t max_addr, bus_dma_tag_t *newtag, int flags) void _bus_dm
add a pair of new bus_dma(9) functions: int _bus_dmatag_subregion(bus_dma_tag_t tag, bus_addr_t min_addr, bus_addr_t max_addr, bus_dma_tag_t *newtag, int flags) void _bus_dmatag_destroy(bus_dma_tag_t tag)
that allow a (normally broken/limited) device to restrict the bus address range it can talk to. this is used by bce(4) to limit DMA addresses to 1GB range, the maximum the chip can address.
all this is from Yorick Hardy <yhardy@uj.ac.za> with input from several people on tech-kern.
XXX: bus_dma(9) needs an update still.
show more ...
|
#
a465c6b8 |
| 26-May-2006 |
tsutsui <tsutsui@NetBSD.org> |
Tweak bus_space_barrier(9) macro to appease "left-hand operand of comma expression has no effect" warnings by gcc4.
|
#
ec5a9318 |
| 01-Mar-2006 |
yamt <yamt@NetBSD.org> |
merge yamt-uio_vmspace branch.
- use vmspace rather than proc or lwp where appropriate. the latter is more natural to specify an address space. (and less likely to be abused for random purposes.
merge yamt-uio_vmspace branch.
- use vmspace rather than proc or lwp where appropriate. the latter is more natural to specify an address space. (and less likely to be abused for random purposes.) - fix a swdmover race.
show more ...
|
#
fbae48b9 |
| 16-Feb-2006 |
perry <perry@NetBSD.org> |
Change "inline" back to "__inline" in .h files -- C99 is still too new, and some apps compile things in C89 mode. C89 keywords stay.
As per core@.
|
#
5f1c88d7 |
| 24-Dec-2005 |
perry <perry@NetBSD.org> |
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
|
#
95e1ffb1 |
| 11-Dec-2005 |
christos <christos@NetBSD.org> |
merge ktrace-lwp.
|
#
a6db24a4 |
| 09-Mar-2005 |
matt <matt@NetBSD.org> |
Add a dm_maxsegsz public member to bus_dmamap_t. This allows a user of the API to select the maximum segment size for each bus_dmamap_load (up to the maxsegsz supplied to bus_dmamap_create). dm_max
Add a dm_maxsegsz public member to bus_dmamap_t. This allows a user of the API to select the maximum segment size for each bus_dmamap_load (up to the maxsegsz supplied to bus_dmamap_create). dm_maxsegsz is reset to the value supplied to bus_dmamap_create when the dmamap is unloaded.
show more ...
|
#
7dd7f8ba |
| 15-Jun-2003 |
fvdl <fvdl@NetBSD.org> |
Handle 64bit DMA addresses on PCI for platforms that can (currently only enabled on amd64). Add a dmat64 field to various PCI attach structures, and pass it down where needed. Implement a simple new
Handle 64bit DMA addresses on PCI for platforms that can (currently only enabled on amd64). Add a dmat64 field to various PCI attach structures, and pass it down where needed. Implement a simple new function called pci_dma64_available(pa) to test if 64bit DMA addresses may be used. This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>, and there is more than 4G of memory.
show more ...
|
#
cd7d9fae |
| 28-Jan-2003 |
kent <kent@NetBSD.org> |
Introduce BUS_DMA_NOCACHE, and bus_dmamem_map() of i386 supports it.
|
#
a85e214b |
| 17-Mar-2002 |
simonb <simonb@NetBSD.org> |
Make sure that private DMA flags don't overlap with standard DMA flags; start these at 0x10000 to leave room for an increase in the latter.
|
#
af66038f |
| 14-Nov-2001 |
thorpej <thorpej@NetBSD.org> |
Merge the thorpej-mips-cache branch onto the trunk. This is an overhaul of how caches are handled for NetBSD's MIPS ports.
|
#
babefc53 |
| 19-Jul-2001 |
thorpej <thorpej@NetBSD.org> |
Add BUS_DMA_READ and BUS_DMA_WRITE flags, that hint the back-end at dmamap load time that the mapping will be used for a unidirectional transfer of the specified direction.
|
#
2c4c690f |
| 07-Mar-2001 |
thorpej <thorpej@NetBSD.org> |
Add the BUS_DMA_STREAMING flag.
|
#
889c658b |
| 26-Jun-2000 |
simonb <simonb@NetBSD.org> |
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 ch
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.
show more ...
|
#
13c9f8d3 |
| 17-Apr-2000 |
drochner <drochner@NetBSD.org> |
implement bus_space_vaddr()
|
#
8eb798e6 |
| 25-Jan-2000 |
drochner <drochner@NetBSD.org> |
define a "BUS_SPACE_MAP_PREFETCHABLE" flag which basically means that device accesses are idempotent (but should not be cached by the CPU)
|
#
838b5e08 |
| 09-Jan-2000 |
ad <ad@NetBSD.org> |
- Fix RCS Ids. - Spacing. - Protect from multiple inclusion in a consistant way (except on headers that do nothing except function as mips header wrappers).
|
#
dd8e585c |
| 08-Apr-1999 |
nisimura <nisimura@NetBSD.org> |
- MIPS processors do not require to have memory barrier prior to read ops.
|
#
76fa1751 |
| 23-Mar-1999 |
drochner <drochner@NetBSD.org> |
Add a macro to check for sufficient pointer alignment in bus.h context, "BUS_SPACE_ALIGNED_POINTER()". Equal to the param.h "ALIGNED_POINTER()" normally, but obeys additional requirements of the bus_
Add a macro to check for sufficient pointer alignment in bus.h context, "BUS_SPACE_ALIGNED_POINTER()". Equal to the param.h "ALIGNED_POINTER()" normally, but obeys additional requirements of the bus_space_xxx_n() macros. (BUS_SPACE_DEBUG)
show more ...
|
#
9df51b1b |
| 06-Jan-1999 |
nisimura <nisimura@NetBSD.org> |
- Complete vm_offset_t purge for DECstation.
|