| [Overview][Constants][Types][Procedures and functions][Variables][Index] | 
Convert physical to linear address
Source position: go32.pp line 97
function get_linear_addr(  | 
phys_addr: dword;  | 
size: LongInt  | 
):dword;  | 
Converts a physical address into a linear address.
Parameters:
Return value: Linear address that can be used to access the physical memory. Notes: It's the applications responsibility to allocate and set up a descriptor for access to the memory. This function shouldn't be used to map real mode addresses.
Check the int31error variable.
  | 
Allocate a number of descriptors  | 
|
  | 
Set descriptor limit  | 
|
  | 
Set descriptor's base address  |