- * The second format is a single vm object. This is used
- * primarily in the pageout path. The third format is a
- * list of vm pages. An optional continuation provides
- * a hook to be called to obtain more of the memory,
- * or perform other operations. The continuation takes 3
- * arguments, a saved arg buffer, a pointer to a new vm_map_copy
- * (returned) and an abort flag (abort if TRUE).
- */
-
-#define VM_MAP_COPY_PAGE_LIST_MAX 20
-#define VM_MAP_COPY_PAGE_LIST_MAX_SIZE (VM_MAP_COPY_PAGE_LIST_MAX * PAGE_SIZE)
-
-
-/*
- * Options for vm_map_copyin_page_list.
- */
-
-#define VM_MAP_COPYIN_OPT_VM_PROT 0x7
-#define VM_MAP_COPYIN_OPT_SRC_DESTROY 0x8
-#define VM_MAP_COPYIN_OPT_STEAL_PAGES 0x10
-#define VM_MAP_COPYIN_OPT_PMAP_ENTER 0x20
-#define VM_MAP_COPYIN_OPT_NO_ZERO_FILL 0x40
-
-/*
- * Continuation structures for vm_map_copyin_page_list.
- */
-typedef struct {
- vm_map_t map;
- vm_offset_t src_addr;
- vm_size_t src_len;
- vm_offset_t destroy_addr;
- vm_size_t destroy_len;
- int options;
-} vm_map_copyin_args_data_t, *vm_map_copyin_args_t;
-
-#define VM_MAP_COPYIN_ARGS_NULL ((vm_map_copyin_args_t) 0)
-
-
-/* vm_map_copy_cont_t is a type definition/prototype
- * for the cont function pointer in vm_map_copy structure.
+ * The second format is a single vm object. This was used
+ * primarily in the pageout path - but is not currently used
+ * except for placeholder copy objects (see vm_map_copy_copy()).
+ *
+ * The third format is a kernel buffer copy object - for data
+ * small enough that physical copies were the most efficient
+ * method.