Home    Prev Next    
Contents
Programming For ISA Hardware
Overview
Programmers Guide
Scenario
I/O Ports control
Single read/write operations
Data array read/write operations
Accessing Physical Memory Addresses
Memory Mapping
Additional Functions
Hardware interrupts handling at user level
Common Functions
OpenRapidIsa
CloseRapidIsa
IsRapidIsaOpened
GetHardwareConfiguration
Direct Port I/O
GetPortByte
GetPortWord
GetPortLong
SetPortByte
SetPortWord
SetPortLong
ReadPortBuffer
WritePortBuffer
Memory Access
MapPhysToLinear
UnmapMemory
GetMem
GetMemW
GetMemL
SetMem
SetMemW
SetMemL
Hardware Interrupts
UnmaskIsaIrq
MaskIsaIrq
GetInterruptCounter
UnmapMemory
Go to RapidDriver Main Page

Unmaps a specific physical address previously mapped with MapPhysToLinear.

Language

Description

C/C++
void UnmapMemory ( HANDLE hIsa, ULONG PhysAddr, ULONG MappedSize );
Delphi
procedure UnmapMemory ( hIsa: THandle; PhysAddr: Longword; MappedSize: Longword ); stdcall
VB
Sub UnmapMemory ( ByVal hIsa As Long, ByVal PhysAddr As Long, ByVal MappedSize As Long)


Parameters:
hIsa - the handle returned by a successful call to OpenRapidIsa
PhysAddr - 32-bit physical address of the start of the region previously mapped
MappedSize - length in bytes of the mapped region

Return Value :
None.

See also : MapPhysToLinear