X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/743b15655a24ee3fe9f458f383003e011db0558f..13fec9890cf095cc781fdf7b8917cb03bf32dd4c:/osfmk/man/vm_wire.html diff --git a/osfmk/man/vm_wire.html b/osfmk/man/vm_wire.html index 5a4e25952..466aebd59 100755 --- a/osfmk/man/vm_wire.html +++ b/osfmk/man/vm_wire.html @@ -1 +1,91 @@ -
Function - Modify the target region's paging characteristics.
kern_return_t vm_wire (host_priv_t host, vm_task_t target_task, vm_address_t address, vm_size_t size, vm_prot_t wired_access);
The following value causes the region to be unwired (made pageable):
The vm_wire function sets the pageability privileges for a region within the specified task's address space. wired_access specifies the types of accesses to the memory region which must not suffer from (internal) faults of any kind after this call returns. A non-null wired_access value indicates that the page is to be "wired" into memory; a null value indicates "un-wiring". The kernel maintains for the region a count of the number of times the region is wired. A page is wired into physical memory if any task accessing it has a non-zero wired count for the page.
The region starts at the beginning of the virtual page containing address; it ends at the end of the virtual page containing address + size - 1. Because of this rounding to virtual page boundaries, the amount of memory affected may be greater than size. Use host_page_size to find the current virtual page size.
This interface is machine word length specific because of the virtual address parameter.
Functions: thread_wire. \ No newline at end of file +
+Function - Modify the target region's paging characteristics. +
+kern_return_t vm_wire + (host_priv_t host, + vm_task_t target_task, + vm_address_t address, + vm_size_t size, + vm_prot_t wired_access); ++
+
+
+
+
+
+The following value causes the region to be unwired (made pageable): +
+The vm_wire function sets the pageability privileges +for a region within the +specified task's address space. wired_access specifies the types +of accesses to +the memory region which must not suffer from (internal) faults +of any kind after +this call returns. A non-null wired_access value indicates that +the page is to be +"wired" into memory; a null value indicates "un-wiring". The kernel maintains +for the region a count of the number of times the region is wired. A page is +wired into physical memory if any task accessing it has a non-zero wired count +for the page. +
+The region starts at the beginning of the virtual page containing +address; it ends at the end of the virtual page containing +address + size - 1. Because of this +rounding to virtual page boundaries, the amount of memory affected may be +greater than size. Use host_page_size to find the current +virtual page size. +
+This interface is machine word length specific because of the virtual address +parameter. +
+
+Functions: +thread_wire.