vm_region_basic_info
Structure - Defines the attributes of a task's memory region.
SYNOPSIS
struct vm_region_basic_info
{
vm_prot_t protection;
vm_prot_t max_protection;
vm_inherit_t inheritance;
boolean_t shared;
boolean_t reserved;
vm_offset_t offset;
vm_behavior_t behavior;
unsigned short user_wired_count;
};
typedef struct vm_region_basic_info* vm_region_basic_info_t;
FIELDS
- protection
-
The current protection for the region.
- max_protection
-
The maximum protection allowed for the region.
- inheritance
-
The inheritance attribute for the region.
- shared
-
Shared indicator. If true, the region is shared by another task. If false,
the region is not shared.
- reserved
-
If true the region is protected from random allocation.
- offset
-
The region's offset into the memory object. The region begins at this
offset.
- behavior
-
Expected reference pattern for the memory. Valid values are:
- VM_BEHAVIOR_DEFAULT
-
The system's default behavior.
- VM_BEHAVIOR_RANDOM
-
No particular order expected.
- VM_BEHAVIOR_SEQUENTIAL
-
Forward sequential order.
- VM_BEHAVIOR_RSEQNTL
-
Reverse sequential order.
DESCRIPTION
The vm_region_basic_info structure defines the attributes
of a memory region returned by vm_region.
RELATED INFORMATION
Functions:
vm_region,
vm_inherit,
vm_protect.