X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/743b15655a24ee3fe9f458f383003e011db0558f..13fec9890cf095cc781fdf7b8917cb03bf32dd4c:/osfmk/man/vm_region_basic_info.html diff --git a/osfmk/man/vm_region_basic_info.html b/osfmk/man/vm_region_basic_info.html index 85fcd3058..2522fe0e5 100755 --- a/osfmk/man/vm_region_basic_info.html +++ b/osfmk/man/vm_region_basic_info.html @@ -1 +1,80 @@ -

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. \ No newline at end of file +

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.