summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-05-08 23:43:45 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-05-08 23:43:45 +0200
commit421779bfaef072d77d3e4534cbccb69e4db13331 (patch)
treefcf3969e8770890c74ed21082b90475e63f5ac97
parentfdb7c183bf756512064632094c9d3604b51686de (diff)
Rename vm_dma_buff_alloc RPC into vm_allocate_contiguous
-rw-r--r--libddekit/mach.defs2
-rw-r--r--libddekit/memory.c4
-rw-r--r--libmachdev/mach.defs2
3 files changed, 4 insertions, 4 deletions
diff --git a/libddekit/mach.defs b/libddekit/mach.defs
index dc616e65..1a53dfa1 100644
--- a/libddekit/mach.defs
+++ b/libddekit/mach.defs
@@ -767,7 +767,7 @@ skip; /* old host_fpa_counters_reset */
* We are going to get a contiguous physical memory
* and its physical address in addition to the virtual address.
*/
-routine vm_dma_buff_alloc(
+routine vm_allocate_contiguous(
host_priv : host_priv_t;
target_task : vm_task_t;
size : vm_size_t;
diff --git a/libddekit/memory.c b/libddekit/memory.c
index 79fe0ad3..06d20e1c 100644
--- a/libddekit/memory.c
+++ b/libddekit/memory.c
@@ -218,11 +218,11 @@ void *ddekit_large_malloc(int size)
extern mach_port_t priv_host;
/* Allocate memory. */
- err = vm_dma_buff_alloc (priv_host, mach_task_self (),
+ err = vm_allocate_contiguous (priv_host, mach_task_self (),
size, &vstart, &pstart);
if (err)
{
- error (0, err, "vm_dma_buff_alloc");
+ error (0, err, "vm_allocate_contiguous");
vstart = 0;
}
else
diff --git a/libmachdev/mach.defs b/libmachdev/mach.defs
index dc616e65..1a53dfa1 100644
--- a/libmachdev/mach.defs
+++ b/libmachdev/mach.defs
@@ -767,7 +767,7 @@ skip; /* old host_fpa_counters_reset */
* We are going to get a contiguous physical memory
* and its physical address in addition to the virtual address.
*/
-routine vm_dma_buff_alloc(
+routine vm_allocate_contiguous(
host_priv : host_priv_t;
target_task : vm_task_t;
size : vm_size_t;