1da177e4c3
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
79 lines
1.9 KiB
C
79 lines
1.9 KiB
C
#include <linux/module.h>
|
|
#include <linux/linkage.h>
|
|
#include <linux/sched.h>
|
|
#include <linux/string.h>
|
|
#include <linux/mm.h>
|
|
#include <linux/user.h>
|
|
#include <linux/elfcore.h>
|
|
#include <linux/in6.h>
|
|
#include <linux/interrupt.h>
|
|
#include <linux/config.h>
|
|
|
|
#include <asm/pgalloc.h>
|
|
#include <asm/irq.h>
|
|
#include <asm/io.h>
|
|
#include <asm/semaphore.h>
|
|
#include <asm/checksum.h>
|
|
#include <asm/current.h>
|
|
|
|
|
|
extern void *trap_table;
|
|
EXPORT_SYMBOL (trap_table);
|
|
|
|
/* platform dependent support */
|
|
extern void dump_thread (struct pt_regs *, struct user *);
|
|
EXPORT_SYMBOL (dump_thread);
|
|
EXPORT_SYMBOL (kernel_thread);
|
|
EXPORT_SYMBOL (enable_irq);
|
|
EXPORT_SYMBOL (disable_irq);
|
|
EXPORT_SYMBOL (disable_irq_nosync);
|
|
EXPORT_SYMBOL (__bug);
|
|
|
|
/* Networking helper routines. */
|
|
EXPORT_SYMBOL (csum_partial_copy);
|
|
EXPORT_SYMBOL (csum_partial_copy_from_user);
|
|
EXPORT_SYMBOL (ip_compute_csum);
|
|
EXPORT_SYMBOL (ip_fast_csum);
|
|
|
|
/* string / mem functions */
|
|
EXPORT_SYMBOL (strcpy);
|
|
EXPORT_SYMBOL (strncpy);
|
|
EXPORT_SYMBOL (strcat);
|
|
EXPORT_SYMBOL (strncat);
|
|
EXPORT_SYMBOL (strcmp);
|
|
EXPORT_SYMBOL (strncmp);
|
|
EXPORT_SYMBOL (strchr);
|
|
EXPORT_SYMBOL (strlen);
|
|
EXPORT_SYMBOL (strnlen);
|
|
EXPORT_SYMBOL (strpbrk);
|
|
EXPORT_SYMBOL (strrchr);
|
|
EXPORT_SYMBOL (strstr);
|
|
EXPORT_SYMBOL (memset);
|
|
EXPORT_SYMBOL (memcpy);
|
|
EXPORT_SYMBOL (memmove);
|
|
EXPORT_SYMBOL (memcmp);
|
|
EXPORT_SYMBOL (memscan);
|
|
|
|
/* semaphores */
|
|
EXPORT_SYMBOL (__down);
|
|
EXPORT_SYMBOL (__down_interruptible);
|
|
EXPORT_SYMBOL (__down_trylock);
|
|
EXPORT_SYMBOL (__up);
|
|
|
|
/*
|
|
* libgcc functions - functions that are used internally by the
|
|
* compiler... (prototypes are not correct though, but that
|
|
* doesn't really matter since they're not versioned).
|
|
*/
|
|
extern void __ashldi3 (void);
|
|
extern void __ashrdi3 (void);
|
|
extern void __lshrdi3 (void);
|
|
extern void __muldi3 (void);
|
|
extern void __negdi2 (void);
|
|
|
|
EXPORT_SYMBOL (__ashldi3);
|
|
EXPORT_SYMBOL (__ashrdi3);
|
|
EXPORT_SYMBOL (__lshrdi3);
|
|
EXPORT_SYMBOL (__muldi3);
|
|
EXPORT_SYMBOL (__negdi2);
|