29 lines
655 B
C
Executable File
29 lines
655 B
C
Executable File
|
|
/*
|
|
* Copyright (c) 2008-2016 Allwinner Technology Co. Ltd.
|
|
* All rights reserved.
|
|
*
|
|
* File : ionAllocEntry.h
|
|
* Description :
|
|
* History :
|
|
* Author : xyliu <xyliu@allwinnertech.com>
|
|
* Date : 2016/04/13
|
|
* Comment :
|
|
*
|
|
*
|
|
*/
|
|
#ifndef __AW_ION_ALLOC_H
|
|
#define __AW_ION_ALLOC_H
|
|
|
|
int aw_rt_ion_alloc_open();
|
|
void aw_rt_ion_alloc_close();
|
|
void* aw_rt_ion_alloc_palloc(int size);
|
|
void* aw_rt_ion_alloc_no_cache_palloc(int size);
|
|
void aw_rt_ion_alloc_pfree(void * pbuf);
|
|
void* aw_rt_ion_alloc_vir2phy(void * pbuf);
|
|
void* aw_rt_ion_alloc_phy2vir(void * pbuf);
|
|
void aw_rt_ion_alloc_flush_cache(void* startAddr, int size);
|
|
|
|
#endif
|
|
|