]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/man/vm_region_basic_info.html
xnu-792.6.76.tar.gz
[apple/xnu.git] / osfmk / man / vm_region_basic_info.html
index 85fcd3058ed1fb130aa78f81d158c8791c260f36..2522fe0e5fd95fe7624efde2afeb517c450bfa22 100755 (executable)
@@ -1 +1,80 @@
-<h2>vm_region_basic_info</h2>\r<hr>\r<p>\r<strong>Structure</strong> - Defines the attributes of a task's memory region.\r<h3>SYNOPSIS</h3>\r<pre>\r<strong>struct vm_region_basic_info</strong>\r<strong>{</strong>\r       <strong>vm_prot_t</strong>             <var>protection</var><strong>;</strong>\r       <strong>vm_prot_t</strong>         <var>max_protection</var><strong>;</strong>\r       <strong>vm_inherit_t</strong>         <var>inheritance</var><strong>;</strong>\r       <strong>boolean_t</strong>                 <var>shared</var><strong>;</strong>\r       <strong>boolean_t</strong>               <var>reserved</var><strong>;</strong>\r       <strong>vm_offset_t</strong>               <var>offset</var><strong>;</strong>\r       <strong>vm_behavior_t</strong>           <var>behavior</var><strong>;</strong>\r       <strong>unsigned short</strong>  <var>user_wired_count</var><strong>;</strong>\r<strong>};</strong>\r\r<strong>typedef struct vm_region_basic_info* vm_region_basic_info_t;</strong>\r</pre>\r<h3>FIELDS</h3>\r<dl>\r<dt> <var>protection</var>\r<dd>\rThe current protection for the region.\r<p>\r<dt> <var>max_protection</var>\r<dd>\rThe maximum protection allowed for the region.\r<p>\r<dt> <var>inheritance</var>\r<dd>\rThe inheritance attribute for the region.\r<p>\r<dt> <var>shared</var>\r<dd>\rShared indicator.  If true, the region is shared by another task.  If false, \rthe region is not shared.\r<p>\r<dt> <var>reserved</var>\r<dd>\rIf true the region is protected from random allocation.\r<p>\r<dt> <var>offset</var>\r<dd>\rThe region's offset into the memory object.  The region begins at this \roffset.\r<p>\r<dt> <var>behavior</var>\r<dd>\rExpected reference pattern for the memory.  Valid values are:\r<dl>\r<p>\r<dt> <strong>VM_BEHAVIOR_DEFAULT</strong>\r<dd>\rThe system's default behavior.\r<p>\r<dt> <strong>VM_BEHAVIOR_RANDOM</strong>\r<dd>\rNo particular order expected.\r<p>\r<dt> <strong>VM_BEHAVIOR_SEQUENTIAL</strong>\r<dd>\rForward sequential order.\r<p>\r<dt> <strong>VM_BEHAVIOR_RSEQNTL</strong>\r<dd>\rReverse sequential order.\r</dl>\r</dl>\r<h3>DESCRIPTION</h3>\r<p>\rThe <strong>vm_region_basic_info</strong> structure defines the attributes\rof a memory region returned by <strong>vm_region</strong>.\r<h3>RELATED INFORMATION</h3>\r<p>\rFunctions:\r<a href="vm_region.html"><strong>vm_region</strong></a>,\r<a href="vm_inherit.html"><strong>vm_inherit</strong></a>,\r<a href="vm_protect.html"><strong>vm_protect</strong></a>.\r
\ No newline at end of file
+<h2>vm_region_basic_info</h2>
+<hr>
+<p>
+<strong>Structure</strong> - Defines the attributes of a task's memory region.
+<h3>SYNOPSIS</h3>
+<pre>
+<strong>struct vm_region_basic_info</strong>
+<strong>{</strong>
+       <strong>vm_prot_t</strong>             <var>protection</var><strong>;</strong>
+       <strong>vm_prot_t</strong>         <var>max_protection</var><strong>;</strong>
+       <strong>vm_inherit_t</strong>         <var>inheritance</var><strong>;</strong>
+       <strong>boolean_t</strong>                 <var>shared</var><strong>;</strong>
+       <strong>boolean_t</strong>               <var>reserved</var><strong>;</strong>
+       <strong>vm_offset_t</strong>               <var>offset</var><strong>;</strong>
+       <strong>vm_behavior_t</strong>           <var>behavior</var><strong>;</strong>
+       <strong>unsigned short</strong>  <var>user_wired_count</var><strong>;</strong>
+<strong>};</strong>
+
+<strong>typedef struct vm_region_basic_info* vm_region_basic_info_t;</strong>
+</pre>
+<h3>FIELDS</h3>
+<dl>
+<dt> <var>protection</var>
+<dd>
+The current protection for the region.
+<p>
+<dt> <var>max_protection</var>
+<dd>
+The maximum protection allowed for the region.
+<p>
+<dt> <var>inheritance</var>
+<dd>
+The inheritance attribute for the region.
+<p>
+<dt> <var>shared</var>
+<dd>
+Shared indicator.  If true, the region is shared by another task.  If false, 
+the region is not shared.
+<p>
+<dt> <var>reserved</var>
+<dd>
+If true the region is protected from random allocation.
+<p>
+<dt> <var>offset</var>
+<dd>
+The region's offset into the memory object.  The region begins at this 
+offset.
+<p>
+<dt> <var>behavior</var>
+<dd>
+Expected reference pattern for the memory.  Valid values are:
+<dl>
+<p>
+<dt> <strong>VM_BEHAVIOR_DEFAULT</strong>
+<dd>
+The system's default behavior.
+<p>
+<dt> <strong>VM_BEHAVIOR_RANDOM</strong>
+<dd>
+No particular order expected.
+<p>
+<dt> <strong>VM_BEHAVIOR_SEQUENTIAL</strong>
+<dd>
+Forward sequential order.
+<p>
+<dt> <strong>VM_BEHAVIOR_RSEQNTL</strong>
+<dd>
+Reverse sequential order.
+</dl>
+</dl>
+<h3>DESCRIPTION</h3>
+<p>
+The <strong>vm_region_basic_info</strong> structure defines the attributes
+of a memory region returned by <strong>vm_region</strong>.
+<h3>RELATED INFORMATION</h3>
+<p>
+Functions:
+<a href="vm_region.html"><strong>vm_region</strong></a>,
+<a href="vm_inherit.html"><strong>vm_inherit</strong></a>,
+<a href="vm_protect.html"><strong>vm_protect</strong></a>.