diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/helpers.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/helpers.h b/include/helpers.h index 60dbda2..e41d6a0 100644 --- a/include/helpers.h +++ b/include/helpers.h @@ -22,6 +22,9 @@ extern uint32_t SLOF_GetTimer(void); extern void SLOF_msleep(uint32_t time); extern void *SLOF_dma_alloc(long size); extern void SLOF_dma_free(void *virt, long size); +extern void *SLOF_alloc_mem(long size); +extern void *SLOF_alloc_mem_aligned(long align, long size); +extern void SLOF_free_mem(void *addr, long size); extern long SLOF_dma_map_in(void *virt, long size, int cacheable); extern void SLOF_dma_map_out(long phys, void *virt, long size); |