/* This is a wrapper function for Memory allocation routine. In linux Kernel it it kmalloc function  */
void* plat_alloc_memory(u32 bytes)
/* This is a wrapper function for Memory allocation routine. In linux Kernel it it kmalloc function  */
void* plat_alloc_memory(u32 bytes)
{
    void *buf = (void *)rt_malloc((u32)bytes);
    flush_cache((unsigned long)buf, bytes);
    return buf;
}