]>
git.ipfire.org Git - people/ms/u-boot.git/blob - include/exports.h
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 unsigned long long ustrtoull(const char *cp
, char **endp
, unsigned int base
);
28 #if defined(CONFIG_CMD_I2C)
29 int i2c_write (uchar
, uint
, int , uchar
* , int);
30 int i2c_read (uchar
, uint
, int , uchar
* , int);
33 void app_startup(char * const *);
35 #endif /* ifndef __ASSEMBLY__ */
38 #define EXPORT_FUNC(x) XF_ ## x ,
47 #if defined(CONFIG_X86)
48 extern gd_t
*global_data
;
51 #endif /* __EXPORTS_H__ */