[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Create new descriptor from existing descriptor
Source position: go32.pp line 96
function create_code_segment_alias_descriptor( |
seg: Word |
):Word; |
Creates a new descriptor that has the same base and limit as the specified descriptor.
Parameters:
Return values: The data selector (alias).
Notes: In effect, the function returns a copy of the descriptor. The descriptor alias returned by this function will not track changes to the original descriptor. In other words, if an alias is created with this function, and the base or limit of the original segment is then changed, the two descriptors will no longer map the same memory.
Check the int31error variable.
|
Allocate a number of descriptors |
|
|
Set descriptor limit |
|
|
Set descriptor's base address |