1 <h2>vm_region_basic_info
</h2>
4 <strong>Structure
</strong> - Defines the attributes of a task's memory region.
7 <strong>struct vm_region_basic_info
</strong>
9 <strong>vm_prot_t
</strong> <var>protection
</var><strong>;
</strong>
10 <strong>vm_prot_t
</strong> <var>max_protection
</var><strong>;
</strong>
11 <strong>vm_inherit_t
</strong> <var>inheritance
</var><strong>;
</strong>
12 <strong>boolean_t
</strong> <var>shared
</var><strong>;
</strong>
13 <strong>boolean_t
</strong> <var>reserved
</var><strong>;
</strong>
14 <strong>vm_offset_t
</strong> <var>offset
</var><strong>;
</strong>
15 <strong>vm_behavior_t
</strong> <var>behavior
</var><strong>;
</strong>
16 <strong>unsigned short
</strong> <var>user_wired_count
</var><strong>;
</strong>
19 <strong>typedef struct vm_region_basic_info* vm_region_basic_info_t;
</strong>
23 <dt> <var>protection
</var>
25 The current protection for the region.
27 <dt> <var>max_protection
</var>
29 The maximum protection allowed for the region.
31 <dt> <var>inheritance
</var>
33 The inheritance attribute for the region.
35 <dt> <var>shared
</var>
37 Shared indicator. If true, the region is shared by another task. If false,
38 the region is not shared.
40 <dt> <var>reserved
</var>
42 If true the region is protected from random allocation.
44 <dt> <var>offset
</var>
46 The region's offset into the memory object. The region begins at this
49 <dt> <var>behavior
</var>
51 Expected reference pattern for the memory. Valid values are:
54 <dt> <strong>VM_BEHAVIOR_DEFAULT
</strong>
56 The system's default behavior.
58 <dt> <strong>VM_BEHAVIOR_RANDOM
</strong>
60 No particular order expected.
62 <dt> <strong>VM_BEHAVIOR_SEQUENTIAL
</strong>
64 Forward sequential order.
66 <dt> <strong>VM_BEHAVIOR_RSEQNTL
</strong>
68 Reverse sequential order.
73 The
<strong>vm_region_basic_info
</strong> structure defines the attributes
74 of a memory region returned by
<strong>vm_region
</strong>.
75 <h3>RELATED INFORMATION
</h3>
78 <a href=
"vm_region.html"><strong>vm_region
</strong></a>,
79 <a href=
"vm_inherit.html"><strong>vm_inherit
</strong></a>,
80 <a href=
"vm_protect.html"><strong>vm_protect
</strong></a>.