add cortex-v7a support
How To Run: see TencentOS-tiny\board\ALPHA_I.MX_emmc_256ddr\README.md TODO Next: 1. VFP support 2. fault diagnosis support 3. qemu vexpress ca9 support 4. raspberry pi support 5. SMP support
This commit is contained in:
26
board/ALPHA_I.MX_emmc_256ddr/stdio/include/printf.h
Normal file
26
board/ALPHA_I.MX_emmc_256ddr/stdio/include/printf.h
Normal file
@@ -0,0 +1,26 @@
|
||||
|
||||
#ifndef _STDIO_H
|
||||
#define _STDIO_H
|
||||
|
||||
#include "types.h"
|
||||
|
||||
#ifndef _VALIST
|
||||
#define _VALIST
|
||||
|
||||
typedef char *va_list;
|
||||
#endif /* _VALIST */
|
||||
|
||||
extern int vsnprintf(char *buf, size_t size, const char *fmt, va_list args);
|
||||
extern int snprintf(char * buf, size_t size, const char *fmt, ...);
|
||||
extern int vsprintf(char *buf, const char *fmt, va_list args);
|
||||
extern int sprintf(char * buf, const char *fmt, ...);
|
||||
extern int vsscanf(const char * buf, const char * fmt, va_list args);
|
||||
extern int sscanf(const char * buf, const char * fmt, ...);
|
||||
|
||||
extern void putc(unsigned char c);
|
||||
extern unsigned char getc(void);
|
||||
|
||||
int printf(const char *fmt, ...);
|
||||
int scanf(const char * fmt, ...);
|
||||
|
||||
#endif /* _STDIO_H */
|
Reference in New Issue
Block a user