summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/rtasm
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-10-29 14:19:12 -0600
committerBrian Paul <[email protected]>2008-10-29 14:19:12 -0600
commit3ad56968f09397a8dd417eae025b9506efaf8414 (patch)
tree296afa3e1b9dcb031da277439c015f38399dd487 /src/gallium/auxiliary/rtasm
parent09570d2e737a4c9f3f24edd78af3b897ee261733 (diff)
gallium: prefix memory manager functions with u_ to differentiate from functions in mesa/main/mm.c
Diffstat (limited to 'src/gallium/auxiliary/rtasm')
-rw-r--r--src/gallium/auxiliary/rtasm/rtasm_execmem.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/rtasm/rtasm_execmem.c b/src/gallium/auxiliary/rtasm/rtasm_execmem.c
index 864bd4d3fe2..df353633e8d 100644
--- a/src/gallium/auxiliary/rtasm/rtasm_execmem.c
+++ b/src/gallium/auxiliary/rtasm/rtasm_execmem.c
@@ -63,7 +63,7 @@ static void
init_heap(void)
{
if (!exec_heap)
- exec_heap = mmInit( 0, EXEC_HEAP_SIZE );
+ exec_heap = u_mmInit( 0, EXEC_HEAP_SIZE );
if (!exec_mem)
exec_mem = (unsigned char *) mmap(0, EXEC_HEAP_SIZE,
@@ -84,7 +84,7 @@ rtasm_exec_malloc(size_t size)
if (exec_heap) {
size = (size + 31) & ~31;
- block = mmAllocMem( exec_heap, size, 32, 0 );
+ block = u_mmAllocMem( exec_heap, size, 32, 0 );
}
if (block)
@@ -104,10 +104,10 @@ rtasm_exec_free(void *addr)
pipe_mutex_lock(exec_mutex);
if (exec_heap) {
- struct mem_block *block = mmFindBlock(exec_heap, (unsigned char *)addr - exec_mem);
+ struct mem_block *block = u_mmFindBlock(exec_heap, (unsigned char *)addr - exec_mem);
if (block)
- mmFreeMem(block);
+ u_mmFreeMem(block);
}
pipe_mutex_unlock(exec_mutex);