4.104.114.84.95
Line | |
---|
1 | /* |
---|
2 | * This file will have to be incorparated into the RTEMS source |
---|
3 | * tree (probably in the existing <machine/types.h> so that these |
---|
4 | * contents are included when an application source file includes |
---|
5 | * <sys/types.h>. |
---|
6 | * |
---|
7 | * $Id$ |
---|
8 | */ |
---|
9 | |
---|
10 | #ifndef _MACHINE_TYPES_H_ |
---|
11 | #define _MACHINE_TYPES_H_ |
---|
12 | |
---|
13 | #include <rtems.h> |
---|
14 | #include <machine/endian.h> |
---|
15 | |
---|
16 | typedef rtems_signed64 int64_t; |
---|
17 | typedef rtems_signed32 int32_t; |
---|
18 | typedef rtems_signed16 int16_t; |
---|
19 | typedef rtems_signed8 int8_t; |
---|
20 | |
---|
21 | typedef rtems_unsigned64 u_int64_t; |
---|
22 | typedef rtems_unsigned32 u_int32_t; |
---|
23 | typedef rtems_unsigned16 u_int16_t; |
---|
24 | typedef rtems_unsigned8 u_int8_t; |
---|
25 | |
---|
26 | #define _CLOCK_T_ unsigned long |
---|
27 | #define _TIME_T_ long |
---|
28 | |
---|
29 | #ifdef _COMPILING_BSD_KERNEL_ |
---|
30 | #include <rtems/rtems_bsdnet_internal.h> |
---|
31 | #include <rtems/rtems_bsdnet.h> |
---|
32 | #endif |
---|
33 | |
---|
34 | #endif /* _MACHINE_TYPES_H_ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.