OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [newlib/] [libc/] [include/] [machine/] [types.h] - Blame information for rev 1773

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1005 ivang
#ifndef _MACHTYPES_H_
2
#define _MACHTYPES_H_
3
 
4
/*
5
 *  The following section is RTEMS specific and is needed to more
6
 *  closely match the types defined in the BSD machine/types.h.
7
 *  This is needed to let the RTEMS/BSD TCP/IP stack compile.
8
 */
9
 
10
#if defined(__rtems__)
11
typedef long long          int64_t;
12
#if defined( __h8300__)
13
typedef long               int32_t;
14
#else
15
typedef int                int32_t;
16
#endif
17
typedef short              int16_t;
18
typedef char               int8_t;
19
 
20
typedef unsigned long long u_int64_t;
21
#if defined( __h8300__)
22
typedef unsigned long      u_int32_t;
23
#else
24
typedef unsigned int       u_int32_t;
25
#endif
26
typedef unsigned short     u_int16_t;
27
typedef unsigned char      u_int8_t;
28
#endif
29
 
30
#define _CLOCK_T_       unsigned long           /* clock() */
31
#define _TIME_T_        long                    /* time() */
32
#define _CLOCKID_T_     unsigned long
33
#define _TIMER_T_       unsigned long
34
 
35
 
36
#endif  /* _MACHTYPES_H_ */
37
 
38
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.