Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ niomapin(D3DK) — Motorola System V 88k Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

niomapin(D3DK)  —  

.IX \f4niomapin\fP(D3DK)

NAME

niomapin − map an I/O address (device). 

SYNOPSIS

#include <sys/types.h>
#include <sys/buf.h>
#include <sys/iosystm.h>
caddr_t niomapin(addr_t addr, int len);

ARGUMENTS

addrVMEbus address to be mapped. 

lenAmount to be mapped in. 

DESCRIPTION

The niomapin function is used to gain access to the memory areas associated with a device.  All of the necessary virtual and physical address mappings required to access the I/O are set up, and the mapped valued of the argument I/O address is returned. 

RETURN VALUE

The address used to access the device that is mapped in.  This is a virtual address and may not be guaranteed to be mapped one-to-one with physical memory. 

LEVEL

Base. 

NOTES

This function must not be called when any driver-defined basic locks and read/write locks are held. 

SEE ALSO

nioprobe(D3DK)

DDI/DKI

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026