Index Index for
Section 9
Index Alphabetical
listing for I
Bottom of page Bottom of
page

io_mem_req_t(9s)

NAME

io_mem_req_t - General: Defines the I/O port or memory resources for a resource_blk data structure

SYNOPSIS

_________________________ Member Name Data Type _________________________ baseaddr io_handle_t numbytes u_long alignment u_long bus_param caddr_t reserved void * _________________________

MEMBERS

baseaddr Specifies the I/O port or memory space base address. numbytes Specifies the number of contiguous bytes requested. alignment Specifies one of the following values for the alignment requirements: RES_NO_ALIGN No alignment requirement RES_ALIGN_BYTE Byte alignment RES_ALIGN_WORD Word alignment RES_ALIGN_LONGWORD Longword alignment RES_ALIGN_QUADWORD Quadword alignment RES_ALIGN_OCTAWORD Octaword alignment RES_ALIGN_4K 4K byte alignment RES_ALIGN_8K 8K byte alignment RES_ALIGN_16K 16K byte alignment RES_ALIGN_32K 32K byte alignment RES_ALIGN_64K 64K byte alignment RES_ALIGN_PAGE Page alignment bus_param Specifies a bus-specific parameter, if necessary. reserved Not currently used.

DESCRIPTION

The io_mem_req_t data structure defines the resource-specific portion of the resource_blk data structure for I/O space and memory resources. The req_param member of the resource_blk structure points to a data structure of this type when the resource_type member of the resource_blk specifies RES_MEM, RES_DMA, or RES_PORT.

FILES

<io/common/devdriver.h>

SEE ALSO

Data Structures: intr_req_t(9s), resource_blk(9s) Kernel Interfaces: release_resource(9r), request_resource(9r)

Index Index for
Section 9
Index Alphabetical
listing for I
Top of page Top of
page