Changeset e2281af in rtems-libbsd


Ignore:
Timestamp:
Oct 24, 2013, 9:25:33 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, afaeccc05a556f6aa25ba044a7e49d6aa634a59e, freebsd-9.3, master
Children:
b3193b8
Parents:
150d4d6
git-author:
Sebastian Huber <sebastian.huber@…> (10/24/13 09:25:33)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/31/13 12:18:51)
Message:

Move integer type definitions

Location:
rtemsbsd/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • rtemsbsd/include/machine/rtems-bsd-config.h.in

    r150d4d6 re2281af  
    7474#define TCP_SIGNATURE 1
    7575
    76 /* Integer type definitions */
    77 
    78 #define __float_t float
    79 #define __double_t double
    80 
    81 #define __clock_t clock_t
    82 #define __cpumask_t unsigned int
    83 #define __critical_t intptr_t
    84 #define __ptrdiff_t ptrdiff_t
    85 #define __time_t time_t
    86 
    87 #define _CLOCKID_T_DECLARED 1
    88 #define _TIMER_T_DECLARED 1
    89 #define _TIME_T_DECLARED 1
    90 #define _USECONDS_T_DECLARED 1
    91 #define _FSBLKCNT_T_DECLARED 1
    92 #define _BLKSIZE_T_DECLARED 1
    93 #define _BLKCNT_T_DECLARED 1
    94 
    9576/* Symbol rename */
    9677
  • rtemsbsd/include/rtems/bsd/sys/_types.h

    r150d4d6 re2281af  
    129129typedef int boolean_t;
    130130
     131typedef clock_t __clock_t;
     132
     133typedef unsigned int __cpumask_t;
     134
     135typedef intptr_t __critical_t;
     136
    131137typedef struct device *device_t;
     138
     139typedef double __double_t;
     140
     141typedef float __float_t;
    132142
    133143typedef intptr_t intfptr_t;
     
    135145
    136146typedef uint32_t intrmask_t;
     147
     148typedef time_t __time_t;
     149
     150typedef ptrdiff_t __ptrdiff_t;
    137151
    138152typedef char vm_memattr_t;
  • rtemsbsd/include/rtems/bsd/sys/types.h

    r150d4d6 re2281af  
    108108#endif
    109109
    110 #ifndef __rtems__
    111110typedef __uint8_t       u_int8_t;       /* unsigned integrals (deprecated) */
    112111typedef __uint16_t      u_int16_t;
     
    119118
    120119typedef char *          caddr_t;        /* core address */
    121 #endif /* __rtems__ */
    122120typedef __const char *  c_caddr_t;      /* core address, pointer to const */
    123121typedef __volatile char *v_caddr_t;     /* core address, pointer to volatile */
     
    149147typedef __cpumask_t     cpumask_t;
    150148typedef __critical_t    critical_t;     /* Critical section value */
    151 #ifndef __rtems__
    152149typedef __int64_t       daddr_t;        /* disk address */
    153 #endif /* __rtems__ */
    154150
    155151#ifndef _DEV_T_DECLARED
     
    308304typedef struct vm_page  *vm_page_t;
    309305
    310 #ifndef __rtems__
    311306#define offsetof(type, field) __offsetof(type, field)
    312 #endif /* __rtems__ */
    313307
    314308#endif /* !_KERNEL */
Note: See TracChangeset for help on using the changeset viewer.