source: rtems/cpukit/libnetworking/machine/types.h @ b68e01c5

4.104.114.84.95
Last change on this file since b68e01c5 was 3e59793, checked in by Joel Sherrill <joel.sherrill@…>, on 10/31/00 at 16:37:16

2000-10-30 Joel Sherrill <joel@…>

  • POSIX include files merged into newlib. This resulted in some definitions moving to other files and thus some secondary effects in RTEMS source code.
  • machine/types.h: Added _CLOCKID_T_ and _TIMER_T_ to be in sync with newlib's <machine/types.h>.
  • rtems/rtems_bsdnet_internal.h: newlib now includes definition of struct itimerval in <sys/time.h>.
  • Property mode set to 100644
File size: 867 bytes
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/system.h>
14#include <rtems/score/cpu.h>
15#include <machine/endian.h>
16
17typedef signed64        int64_t;
18typedef signed32        int32_t;
19typedef signed16        int16_t;
20typedef signed8         int8_t;
21
22typedef unsigned64      u_int64_t;
23typedef unsigned32      u_int32_t;
24typedef unsigned16      u_int16_t;
25typedef unsigned8       u_int8_t;
26
27#define _CLOCK_T_       unsigned long
28#define _TIME_T_        long
29#define _CLOCKID_T_     unsigned long
30#define _TIMER_T_       unsigned long
31
32#ifdef _COMPILING_BSD_KERNEL_
33#include <rtems/rtems_bsdnet_internal.h>
34#include <rtems/rtems_bsdnet.h>
35#endif
36
37#endif /* _MACHINE_TYPES_H_ */
Note: See TracBrowser for help on using the repository browser.