6 /* These are declarations of exported functions available in C code */
7 unsigned long get_version(void);
10 void putc(const char);
11 void puts(const char*);
12 int printf(const char* fmt, ...);
13 void install_hdlr(int, void (*interrupt_handler_t)(void *), void*);
17 void __udelay(unsigned long);
18 unsigned long get_timer(unsigned long);
19 int vprintf(const char *, va_list);
20 unsigned long simple_strtoul(const char *cp,char **endp,unsigned int base);
21 int strict_strtoul(const char *cp, unsigned int base, unsigned long *res);
22 char *getenv (const char *name);
23 int setenv (const char *varname, const char *varvalue);
24 long simple_strtol(const char *cp,char **endp,unsigned int base);
25 int strcmp(const char * cs,const char * ct);
26 unsigned long ustrtoul(const char *cp, char **endp, unsigned int base);
27 #if defined(CONFIG_CMD_I2C)
28 int i2c_write (uchar, uint, int , uchar* , int);
29 int i2c_read (uchar, uint, int , uchar* , int);
32 void app_startup(char * const *);
34 #endif /* ifndef __ASSEMBLY__ */
37 #define EXPORT_FUNC(x) XF_ ## x ,
46 #if defined(CONFIG_X86)
47 extern gd_t *global_data;
50 #endif /* __EXPORTS_H__ */