/* * contains various random system calls that have a non-standard * calling sequence on the Linux/Blackfin platform. * * Copyright 2004-2009 Analog Devices Inc. * * Licensed under the GPL-2 or later */ #include #include #include #include #include #include #include #include #include #include #include #include #include asmlinkage void *sys_sram_alloc(size_t size, unsigned long flags) { return sram_alloc_with_lsl(size, flags); } asmlinkage int sys_sram_free(const void *addr) { return sram_free_with_lsl(addr); } asmlinkage void *sys_dma_memcpy(void *dest, const void *src, size_t len) { return safe_dma_memcpy(dest, src, len); } #if defined(CONFIG_FB) || defined(CONFIG_FB_MODULE) #include unsigned long get_fb_unmapped_area(struct file *filp, unsigned long orig_addr, unsigned long len, unsigned long pgoff, unsigned long flags) { struct fb_info *info = filp->private_data; return (unsigned long)info->screen_base; } EXPORT_SYMBOL(get_fb_unmapped_area); #endif