nios2_ksyms.c (1136B)
1/* 2 * Copyright (C) 2004 Microtronix Datacom Ltd 3 * 4 * This file is subject to the terms and conditions of the GNU General 5 * Public License. See the file COPYING in the main directory of this 6 * archive for more details. 7 */ 8 9#include <linux/export.h> 10#include <linux/string.h> 11#include <linux/pgtable.h> 12 13#include <asm/cacheflush.h> 14 15/* string functions */ 16 17EXPORT_SYMBOL(memcpy); 18EXPORT_SYMBOL(memset); 19EXPORT_SYMBOL(memmove); 20 21/* memory management */ 22 23EXPORT_SYMBOL(empty_zero_page); 24EXPORT_SYMBOL(flush_icache_range); 25 26/* 27 * libgcc functions - functions that are used internally by the 28 * compiler... (prototypes are not correct though, but that 29 * doesn't really matter since they're not versioned). 30 */ 31#define DECLARE_EXPORT(name) extern void name(void); EXPORT_SYMBOL(name) 32 33DECLARE_EXPORT(__gcc_bcmp); 34DECLARE_EXPORT(__divsi3); 35DECLARE_EXPORT(__moddi3); 36DECLARE_EXPORT(__modsi3); 37DECLARE_EXPORT(__udivmoddi4); 38DECLARE_EXPORT(__udivsi3); 39DECLARE_EXPORT(__umoddi3); 40DECLARE_EXPORT(__umodsi3); 41DECLARE_EXPORT(__muldi3); 42DECLARE_EXPORT(__ucmpdi2); 43DECLARE_EXPORT(__lshrdi3); 44DECLARE_EXPORT(__ashldi3); 45DECLARE_EXPORT(__ashrdi3);