Previous: 4.28.2.35. GetSelectorAccessRights To the Table of Contents Next: 4.28.2.37 RealModeInt
4.28.2.35. GetSelectorAccessRights Table of Contents 4.28.2.37 RealModeInt

- 4.28.2.36. -
Table of Contents
4. Standard Units
4.28. DPMI - DOS Protected Mode Interface support unit
4.28.2. DPMI Unit Procedures and Functions
4.28.2.36. MapPhysicalToLinear


4.28.2.36. MapPhysicalToLinear

Targets: MS-DOS only


DPMI Unit

This function can be used by device drivers to convert a physical address into a linear address. The linear address can then be used to access the device memory.

Declaration:
function MapPhysicalToLinear (PhysAddr, SizeInBytes: DWord): DWord;
Remarks:
Returns pointer to linear address that can be used to access the physical memory. Otherwise returns nil.

See also: FreePhysicalMap


Previous: 4.28.2.35. GetSelectorAccessRights To the Table of Contents Next: 4.28.2.37 RealModeInt
4.28.2.35. GetSelectorAccessRights Table of Contents 4.28.2.37 RealModeInt

- 4.28.2.36. -