dma_map man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



dma_map(D3X)							  dma_map(D3X)

NAME
     dma_map - load DMA mapping registers for an imminent transfer

SYNOPSIS
     #include "sys/types.h"
     #include "sys/sema.h"
     #include "sys/dmamap.h"

     int dma_map(dmamap_t *dmamap,caddr_t kernel_vaddr, int num_bytes);

DESCRIPTION
     dma_map attempts to map num_bytes of main memory starting at the kernel
     virtual address kernel_vaddr, using the previously allocated DMA map
     dmamap.  dma_map determines the actual physical memory locations for the
     given address and range and loads them into the mapping registers
     corresponding to the map.	These mapping registers remain undisturbed
     until another call to dma_map.

   Return Values
     dma_map returns the actual number of bytes mapped.	 This number may be
     less than that requested if the number of map registers required exceeds
     the size of the given DMA map.

     0 is returned if the arguments are invalid, for instance, if a
     kernel_vaddr is not word aligned.

   See Also
     dma_mapaddr(D3X), dma_mapalloc(D3X), dma_mapfree(D3X), vme_adapter(D3X).

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net