]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/mach/memory_object.defs
xnu-6153.121.1.tar.gz
[apple/xnu.git] / osfmk / mach / memory_object.defs
index 6cf4f89e852c6bede92800572334bd3799efba5c..e6f93082b5f4e524b36349610fe9dfa558796918 100644 (file)
@@ -71,10 +71,6 @@ subsystem
 #endif /* KERNEL_SERVER */
                     memory_object 2200;
 
 #endif /* KERNEL_SERVER */
                     memory_object 2200;
 
-#ifdef MACH_KERNEL
-#include <advisory_pageout.h>
-#endif /* MACH_KERNEL */
-
 #include <mach/std_types.defs>
 #include <mach/mach_types.defs>
 
 #include <mach/std_types.defs>
 #include <mach/mach_types.defs>
 
@@ -123,7 +119,8 @@ routine     memory_object_data_request(
                memory_object           : memory_object_t;
                offset                  : memory_object_offset_t;
                length                  : memory_object_cluster_size_t;
                memory_object           : memory_object_t;
                offset                  : memory_object_offset_t;
                length                  : memory_object_cluster_size_t;
-               desired_access          : vm_prot_t);
+               desired_access          : vm_prot_t;
+               fault_info              : memory_object_fault_info_t);
 
 /*
  *     Return data to manager.  This call is used in place of data_write
 
 /*
  *     Return data to manager.  This call is used in place of data_write
@@ -170,7 +167,7 @@ routine     memory_object_data_initialize(
 routine        memory_object_data_unlock(
                memory_object           : memory_object_t;
                offset                  : memory_object_offset_t;
 routine        memory_object_data_unlock(
                memory_object           : memory_object_t;
                offset                  : memory_object_offset_t;
-               size                    : memory_object_cluster_size_t;
+               size                    : memory_object_size_t;
                desired_access          : vm_prot_t);
 
 
                desired_access          : vm_prot_t);
 
 
@@ -185,7 +182,7 @@ routine     memory_object_data_unlock(
 routine memory_object_synchronize(
                memory_object           : memory_object_t;
                offset                  : memory_object_offset_t;
 routine memory_object_synchronize(
                memory_object           : memory_object_t;
                offset                  : memory_object_offset_t;
-               size                    : memory_object_cluster_size_t;
+               size                    : memory_object_size_t;
                sync_flags              : vm_sync_t );
 
 /*
                sync_flags              : vm_sync_t );
 
 /*
@@ -196,7 +193,14 @@ routine memory_object_synchronize(
  *     [Response should be a release of the named reference when
  *     the pager deems that appropriate.]
  */
  *     [Response should be a release of the named reference when
  *     the pager deems that appropriate.]
  */
-routine memory_object_unmap(
+routine memory_object_map(
+               memory_object           : memory_object_t;
+               prot                    : vm_prot_t);
+routine memory_object_last_unmap(
                memory_object           : memory_object_t);
 
                memory_object           : memory_object_t);
 
+routine        memory_object_data_reclaim(
+               memory_object           : memory_object_t;
+               reclaim_backing_store   : boolean_t);
 
 
+/* vim: set ft=c : */