]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTEX_A53_64-bit_UltraScale_MPSoC/RTOSDemo_A53_bsp/psu_cortexa53_0/include/xil_printf.h
Completely re-generate the Zynq 7000 demo using the 2016.1 SDK tools.
[freertos] / FreeRTOS / Demo / CORTEX_A53_64-bit_UltraScale_MPSoC / RTOSDemo_A53_bsp / psu_cortexa53_0 / include / xil_printf.h
1  #ifndef XIL_PRINTF_H
2  #define XIL_PRINTF_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #include <ctype.h>
9 #include <string.h>
10 #include <stdarg.h>
11 #include "xil_types.h"
12 #include "xparameters.h"
13
14 /*----------------------------------------------------*/
15 /* Use the following parameter passing structure to   */
16 /* make xil_printf re-entrant.                        */
17 /*----------------------------------------------------*/
18
19 struct params_s;
20
21
22 /*---------------------------------------------------*/
23 /* The purpose of this routine is to output data the */
24 /* same as the standard printf function without the  */
25 /* overhead most run-time libraries involve. Usually */
26 /* the printf brings in many kilobytes of code and   */
27 /* that is unacceptable in most embedded systems.    */
28 /*---------------------------------------------------*/
29
30 typedef char8* charptr;
31 typedef s32 (*func_ptr)(int c);
32
33 /*                                                   */
34
35 void xil_printf( const char8 *ctrl1, ...);
36 void print( const char8 *ptr);
37 extern void outbyte (char8 c);
38 extern char8 inbyte(void);
39
40 #ifdef __cplusplus
41 }
42 #endif
43
44 #endif  /* end of protection macro */