1/* 2 * Export MIPS64-specific functions needed for loadable modules. 3 * 4 * This file is subject to the terms and conditions of the GNU General Public 5 * License. See the file "COPYING" in the main directory of this archive 6 * for more details. 7 * 8 * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 by Ralf Baechle 9 * Copyright (C) 1999, 2000, 2001 Silicon Graphics, Inc. 10 */ 11#include <linux/config.h> 12#include <linux/module.h> 13#include <linux/string.h> 14#include <linux/mm.h> 15#include <linux/interrupt.h> 16#include <linux/in6.h> 17#include <linux/pci.h> 18#include <linux/tty.h> 19 20#include <asm/bootinfo.h> 21#include <asm/dma.h> 22#include <asm/floppy.h> 23#include <asm/io.h> 24#include <asm/page.h> 25#include <asm/pgalloc.h> 26#include <asm/semaphore.h> 27#include <asm/softirq.h> 28#include <asm/uaccess.h> 29#include <asm/checksum.h> 30 31extern void *__bzero(void *__s, size_t __count); 32extern long __strncpy_from_user_nocheck_asm(char *__to, 33 const char *__from, long __len); 34extern long __strncpy_from_user_asm(char *__to, const char *__from, 35 long __len); 36extern long __strlen_user_nocheck_asm(const char *s); 37extern long __strlen_user_asm(const char *s); 38extern long __strnlen_user_nocheck_asm(const char *s); 39extern long __strnlen_user_asm(const char *s); 40 41EXPORT_SYMBOL(mips_machtype); 42 43#ifdef CONFIG_EISA 44EXPORT_SYMBOL(EISA_bus); 45#endif 46 47/* 48 * String functions 49 */ 50EXPORT_SYMBOL_NOVERS(memcmp); 51EXPORT_SYMBOL_NOVERS(memset); 52EXPORT_SYMBOL_NOVERS(memcpy); 53EXPORT_SYMBOL_NOVERS(memmove); 54EXPORT_SYMBOL_NOVERS(strcat); 55EXPORT_SYMBOL_NOVERS(strchr); 56EXPORT_SYMBOL_NOVERS(strlen); 57EXPORT_SYMBOL_NOVERS(strncat); 58EXPORT_SYMBOL_NOVERS(strnlen); 59EXPORT_SYMBOL_NOVERS(strrchr); 60EXPORT_SYMBOL_NOVERS(strtok); 61EXPORT_SYMBOL_NOVERS(strpbrk); 62 63EXPORT_SYMBOL(_clear_page); 64EXPORT_SYMBOL(kernel_thread); 65 66/* 67 * Userspace access stuff. 68 */ 69EXPORT_SYMBOL_NOVERS(__copy_user); 70EXPORT_SYMBOL_NOVERS(__bzero); 71EXPORT_SYMBOL_NOVERS(__strncpy_from_user_nocheck_asm); 72EXPORT_SYMBOL_NOVERS(__strncpy_from_user_asm); 73EXPORT_SYMBOL_NOVERS(__strlen_user_nocheck_asm); 74EXPORT_SYMBOL_NOVERS(__strlen_user_asm); 75EXPORT_SYMBOL_NOVERS(__strnlen_user_nocheck_asm); 76EXPORT_SYMBOL_NOVERS(__strnlen_user_asm); 77 78 79/* Networking helper routines. */ 80EXPORT_SYMBOL(csum_partial_copy); 81 82/* 83 * Functions to control caches. 84 */ 85EXPORT_SYMBOL(_flush_page_to_ram); 86EXPORT_SYMBOL(_flush_cache_l1); 87 88#ifdef CONFIG_NONCOHERENT_IO 89EXPORT_SYMBOL(_dma_cache_wback_inv); 90EXPORT_SYMBOL(_dma_cache_inv); 91#endif 92 93EXPORT_SYMBOL(invalid_pte_table); 94 95/* 96 * Kernel hacking ... 97 */ 98#include <asm/branch.h> 99#include <linux/sched.h> 100 101#ifdef CONFIG_VT 102EXPORT_SYMBOL(screen_info); 103#endif 104 105EXPORT_SYMBOL(get_wchan); 106 107#if defined(CONFIG_MCOUNT) 108extern void _mcount(void); 109EXPORT_SYMBOL_NOVERS(_mcount); 110#endif 111