summaryrefslogtreecommitdiff
path: root/include/mach/mach.defs
diff options
context:
space:
mode:
Diffstat (limited to 'include/mach/mach.defs')
-rw-r--r--include/mach/mach.defs33
1 files changed, 0 insertions, 33 deletions
diff --git a/include/mach/mach.defs b/include/mach/mach.defs
index a4e23db6..c6ad0770 100644
--- a/include/mach/mach.defs
+++ b/include/mach/mach.defs
@@ -720,38 +720,5 @@ skip; /* old host_fpa_counters_reset */
#endif /* ! KERNEL_USER */
/*
- * This routine is created for allocating DMA buffers.
- * We are going to get a contiguous physical memory
- * and its physical address in addition to the virtual address.
- */
-
- /* XXX
- This RPC lacks a few additional constraints like boundaries, alignment
-and maybe phase. We may not use them now, but they're important for
-portability (e.g. if GNU Mach supports PAE, drivers that can't use
-physical memory beyond the 4 GiB limit must be able to express it).
-
-> What do you mean by "phase"?
-
-Offset from the alignment. But I don't think it's useful at all in this
-case. Minimum and maximum addresses and alignment should do. Maybe
-boundary crossing but usually, specifying the right alignment and size
-is enough.
-
-Ideally we could make the RPC should return a special
-memory object (similar to device_map() ), which can then be mapped into
-the process address space with vm_map() like any other memory object.
-But we currently do not need it, if we really do we can introduce another RPC.
-
-FIXME: use phys_address_t
- */
-routine vm_allocate_contiguous(
- host_priv : host_priv_t;
- target_task : vm_task_t;
- out vaddr : vm_address_t;
- out paddr : vm_address_t;
- size : vm_size_t);
-
-/*
* There is no more room in this interface for additional calls.
*/