2 .\" Copyright (c) 1996, Sun Microsystems, Inc. All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH CSX_GETMAPPEDADDR 9F "Jul 19, 1996"
8 csx_GetMappedAddr \- return mapped virtual address
12 #include <sys/pccard.h>
16 \fBint32_t\fR \fBcsx_GetMappedAddr\fR(\fBacc_handle_t\fR \fIhandle\fR, \fBvoid **\fR\fIaddr\fR);
22 Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR
30 The access handle returned from \fBcsx_RequestIO\fR(9F),
31 \fBcsx_RequestWindow\fR(9F), or \fBcsx_DupHandle\fR(9F).
40 The virtual or \fBI/O \fRport number represented by the handle.
46 This function returns the mapped virtual address or the mapped \fBI/O \fRport
47 number represented by the handle, \fIhandle\fR.
52 \fB\fBCS_SUCCESS\fR \fR
55 The resulting address or \fBI/O \fRport number can be directly accessed by the
62 \fB\fBCS_FAILURE\fR \fR
65 The resulting address or \fBI/O \fRport number can not be directly accessed by
66 the caller; the caller must make all accesses to the mapped area via the common
73 \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR
76 No \fBPCMCIA \fRhardware installed.
82 This function may be called from user, kernel, or interrupt context.
86 \fBcsx_DupHandle\fR(9F), \fBcsx_Get8\fR(9F), \fBcsx_Put8\fR(9F),
87 \fBcsx_RepGet8\fR(9F), \fBcsx_RepPut8\fR(9F), \fBcsx_RequestIO\fR(9F),
88 \fBcsx_RequestWindow\fR(9F)
91 \fIPC Card 95 Standard, PCMCIA/JEIDA\fR