diff options
| author | Hamish Guthrie <hcg@openwrt.org> | 2007-06-04 17:41:40 +0000 |
|---|---|---|
| committer | Hamish Guthrie <hcg@openwrt.org> | 2007-06-04 17:41:40 +0000 |
| commit | 3266668caee8a99d497c907caccc7657e2c4b148 (patch) | |
| tree | 8cb26bddd0367fcb1c5ed000d3995d312b9c9d39 /target/linux/at91-2.6/image/dfboot/src/stdio.h | |
| parent | e970f61273c7b92cb81ecfc1890cdbbf74fe9c86 (diff) | |
| download | mtk-20170518-3266668caee8a99d497c907caccc7657e2c4b148.zip mtk-20170518-3266668caee8a99d497c907caccc7657e2c4b148.tar.gz mtk-20170518-3266668caee8a99d497c907caccc7657e2c4b148.tar.bz2 | |
add new dfboot loader - a complete revison of romboot code.
SVN-Revision: 7492
Diffstat (limited to 'target/linux/at91-2.6/image/dfboot/src/stdio.h')
| -rw-r--r-- | target/linux/at91-2.6/image/dfboot/src/stdio.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/at91-2.6/image/dfboot/src/stdio.h b/target/linux/at91-2.6/image/dfboot/src/stdio.h new file mode 100644 index 0000000..e4e35ec --- /dev/null +++ b/target/linux/at91-2.6/image/dfboot/src/stdio.h @@ -0,0 +1,18 @@ +#include <stdarg.h> +#include <stdbool.h> + +#ifndef NULL +#define NULL ((void *)0) +#endif + +void at91_init_uarts(void); +int puts(const char *str); +int putc(int c); +int putchar(int c); +int getc(); + +int strlen(const char *str); + +int hvfprintf(const char *fmt, va_list ap); + +int printf(const char *fmt, ...); |
