1#ifndef __EXPORTS_H__
2#define __EXPORTS_H__
3
4#ifndef __ASSEMBLY__
5
6
7unsigned long get_version(void);
8int getc(void);
9int tstc(void);
10void putc(const char);
11void puts(const char*);
12int printf(const char* fmt, ...);
13void install_hdlr(int, void (*interrupt_handler_t)(void *), void*);
14void free_hdlr(int);
15void *malloc(size_t);
16void free(void*);
17void __udelay(unsigned long);
18unsigned long get_timer(unsigned long);
19int vprintf(const char *, va_list);
20unsigned long simple_strtoul(const char *cp,char **endp,unsigned int base);
21int strict_strtoul(const char *cp, unsigned int base, unsigned long *res);
22char *getenv (const char *name);
23int setenv (const char *varname, const char *varvalue);
24long simple_strtol(const char *cp,char **endp,unsigned int base);
25int strcmp(const char * cs,const char * ct);
26int ustrtoul(const char *cp, char **endp, unsigned int base);
27#if defined(CONFIG_CMD_I2C)
28int i2c_write (uchar, uint, int , uchar* , int);
29int i2c_read (uchar, uint, int , uchar* , int);
30#endif
31
32void app_startup(char * const *);
33
34#endif
35
36enum {
37#define EXPORT_FUNC(x) XF_ ## x ,
38#include <_exports.h>
39#undef EXPORT_FUNC
40
41 XF_MAX
42};
43
44#define XF_VERSION 6
45
46#if defined(CONFIG_X86)
47extern gd_t *global_data;
48#endif
49
50#endif
51