|
@@ -19,7 +19,7 @@
|
19
|
19
|
|
20
|
20
|
extern size_t freemem;
|
21
|
21
|
|
22
|
|
-extern void * alloc_memblock ( size_t size, size_t align );
|
|
22
|
+extern void * __malloc alloc_memblock ( size_t size, size_t align );
|
23
|
23
|
extern void free_memblock ( void *ptr, size_t size );
|
24
|
24
|
extern void mpopulate ( void *start, size_t len );
|
25
|
25
|
extern void mdumpfree ( void );
|
|
@@ -35,7 +35,7 @@ extern void mdumpfree ( void );
|
35
|
35
|
*
|
36
|
36
|
* @c align must be a power of two. @c size may not be zero.
|
37
|
37
|
*/
|
38
|
|
-static inline void * malloc_dma ( size_t size, size_t phys_align ) {
|
|
38
|
+static inline void * __malloc malloc_dma ( size_t size, size_t phys_align ) {
|
39
|
39
|
return alloc_memblock ( size, phys_align );
|
40
|
40
|
}
|
41
|
41
|
|