]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/vm/memory_object.h
xnu-3789.31.2.tar.gz
[apple/xnu.git] / osfmk / vm / memory_object.h
index 1810198791a97da29fc4311cec4541c0492ce99e..2b26870ea8cae36dad9f2bfe4caf9dcfd23fa6b7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000-2004 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2006 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  * 
 #include <mach/memory_object_types.h>
 #include <ipc/ipc_types.h>
 
+extern memory_object_default_t memory_manager_default;
+
 __private_extern__
-memory_object_default_t        memory_manager_default_reference(
-                               vm_size_t               *cluster_size);
+memory_object_default_t        memory_manager_default_reference(void);
 
 __private_extern__
 kern_return_t          memory_manager_default_check(void);
@@ -122,18 +123,34 @@ extern kern_return_t      memory_object_free_from_cache(
        memory_object_pager_ops_t       pager_ops,
        int                             *count);
 
-extern kern_return_t   memory_object_iopl_request(
-       ipc_port_t              port,
-       memory_object_offset_t  offset,
-       vm_size_t               *upl_size,
-       upl_t                   *upl_ptr,
-       upl_page_info_array_t   user_page_list,
-       unsigned int            *page_list_count,
-       int                     *flags);
-       
-
 extern kern_return_t   memory_object_pages_resident(
        memory_object_control_t         control,
        boolean_t                       *               has_pages_resident);
 
+extern kern_return_t   memory_object_signed(
+       memory_object_control_t         control,
+       boolean_t                       is_signed);
+
+extern boolean_t       memory_object_is_signed(
+       memory_object_control_t control);
+
+extern boolean_t       memory_object_is_slid(
+       memory_object_control_t         control);
+
+extern void            memory_object_mark_used(
+       memory_object_control_t         control);
+
+extern void            memory_object_mark_unused(
+       memory_object_control_t         control,
+       boolean_t                       rage);
+
+extern void            memory_object_mark_io_tracking(
+       memory_object_control_t         control);
+
+#if CONFIG_SECLUDED_MEMORY
+extern void            memory_object_mark_eligible_for_secluded(
+       memory_object_control_t         control,
+       boolean_t                       eligible_for_secluded);
+#endif /* CONFIG_SECLUDED_MEMORY */
+
 #endif /* _VM_MEMORY_OBJECT_H_ */