mTower
tee_types.h
1 
23 #ifndef __APPS_TEE_TYPES_H_
24 #define __APPS_TEE_TYPES_H_
25 
26 /* Included Files */
27 /* All header files are included here. */
28 #include <stddef.h>
29 #include <stdint.h>
30 
31 /* Pre-processor Definitions */
32 /* All C pre-processor macros are defined here. */
33 
34 #ifndef false
35 #define false (0)
36 #endif
37 
38 #ifndef true
39 #define true (1)
40 #endif
41 
42 #ifndef NULL
43 #define NULL ((void *)0)
44 #endif
45 
46 /* Public Types */
47 /* Any types, enumerations, structures or unions are defined here. */
48 #ifndef __STDINT__
49 
50 #ifndef _INT8_T_DECLARED
51 typedef signed char int8_t;
52 #endif
53 typedef unsigned char uint8_t;
54 
55 typedef short int16_t;
56 typedef unsigned short uint16_t;
57 
58 #ifndef _INT32_T_DECLARED
59 typedef int int32_t;
60 #endif
61 #ifndef _UINT32_T_DECLARED
62 typedef unsigned int uint32_t;
63 #endif
64 
65 typedef long long int64_t;
66 typedef unsigned long long uint64_t;
67 
68 //typedef unsigned long size_t;
69 //typedef long ssize_t;
70 
71 typedef long long_t;
72 typedef unsigned long ulong_t;
73 
74 //typedef unsigned long int uintptr_t;
75 
76 #endif /* __STDINT__ */
77 
78 typedef unsigned char bool;
79 typedef uint32_t tee_stat_t;
80 
81 
82 /* Public Data */
83 /* All data declarations with global scope appear here, preceded by
84  * the definition EXTERN.
85  */
86 
87 
88 /* Inline Functions */
89 /* Any static inline functions may be defined in this grouping.
90  * Each is preceded by a function header similar to the below.
91  */
92 
106 /* Public Function Prototypes */
107 /* All global functions in the file are prototyped here. The keyword
108  * extern or the definition EXTERN are never used with function
109  * prototypes.
110  */
111 
126 #endif /* __APPS_TEE_TYPES_H_ */