1 /*
2  *  Routines to access hardware
3  *
4  *  Copyright (c) 2013 Realtek Semiconductor Corp.
5  *
6  *  This module is a confidential and proprietary property of RealTek and
7  *  possession or use of this module requires written permission of RealTek.
8  */
9 
10  #ifndef _RTL_PRINTF_H_
11 #define _RTL_PRINTF_H_
12 
13 #define LONGFLAG       0x00000001
14 #define LONGLONGFLAG   0x00000002
15 #define HALFFLAG       0x00000004
16 #define HALFHALFFLAG   0x00000008
17 #define SIZETFLAG      0x00000010
18 #define INTMAXFLAG     0x00000020
19 #define PTRDIFFFLAG    0x00000040
20 #define ALTFLAG        0x00000080
21 #define CAPSFLAG       0x00000100
22 #define SHOWSIGNFLAG   0x00000200
23 #define SIGNEDFLAG     0x00000400
24 #define LEFTFORMATFLAG 0x00000800
25 #define LEADZEROFLAG   0x00001000
26 #define BLANKPOSFLAG   0x00002000
27 
28 
29 unsigned int printf_engine(const char *fmt, va_list args);
30 int _rtl_printf(const char * fmt,...);
31 
32 
33 #endif