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