Skip to content

unlock_linear_region

Unlock linear memory region.

Declaration

Source position: go32.pp line 157

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
unlock_data Unlock data segment.
unlock_code Unlock code segment.
lock_linear_region Lock linear memory region.
lock_data Lock data memory range.
lock_code Lock code memory range.