11 #include "xil_types.h"
12 #include "xparameters.h"
14 /*----------------------------------------------------*/
15 /* Use the following parameter passing structure to */
16 /* make xil_printf re-entrant. */
17 /*----------------------------------------------------*/
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 /*---------------------------------------------------*/
30 typedef char8* charptr;
31 typedef s32 (*func_ptr)(int c);
35 void xil_printf( const char8 *ctrl1, ...);
36 void print( const char8 *ptr);
37 extern void outbyte (char8 c);
38 extern char8 inbyte(void);
44 #endif /* end of protection macro */