Skip to content

unlock_linear_region

Unlock linear memory region

Declaration

Source position: go32.pp line 155

  function unlock_linear_region(linearaddr: LongInt; size: LongInt)
                                : Boolean;

Description

Unlocks a previously locked linear region range to allow it to be swapped out again if needed.

Parameters:

linearaddr
linear address of the memory to be unlocked.
size
size bytes to be unlocked.

Return values: True if successful, False otherwise.

Errors

Check the int31error variable.

See also

Name Description
lock_code Lock code memory range
lock_data Lock data memory range
lock_linear_region Lock linear memory region
unlock_code Unlock code segment
unlock_data Unlock data segment