Changeset 0666956f in rtems


Ignore:
Timestamp:
Jan 5, 2009, 7:57:14 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
e64a143
Parents:
a26d515
Message:

2009-01-05 Joel Sherrill <joel.sherrill@…>

  • itron/include/itronsys/types.h: ITRON types should follow native integer size.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    ra26d515 r0666956f  
     12009-01-05      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * itron/include/itronsys/types.h: ITRON types should follow native
     4        integer size.
     5
    162009-01-05      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • cpukit/itron/include/itronsys/types.h

    ra26d515 r0666956f  
    6060 */
    6161
    62 typedef int32_t     INT;    /* Signed integer (bit width of processor) */
     62typedef int32_t     INT;   /* Signed integer (bit width of processor) */
    6363typedef uint32_t   UINT;   /* Unsigned integer (bit width of processor) */
    64 typedef bool       BOOL;  /* Boolean value.  TRUE (1) or FALSE (0). */
    65 typedef int16_t     FN;     /* Function code. Signed integer. Maximum 2 bytes. */
    66 typedef Objects_Id ID;     /* Object ID number (???id) */
     64typedef bool       BOOL;   /* Boolean value.  TRUE (1) or FALSE (0). */
     65typedef int16_t     FN;    /* Function code. Signed integer. Maximum 2 bytes. */
     66typedef int         ID;    /* Object ID number (???id) */
    6767                           /*   Value range depends on the system.  Usually */
    6868                           /*   a signed integer.  Certain ID values may */
     
    7070                           /*   connection function is supported. */
    7171
    72 typedef uint32_t   BOOL_ID;/* Boolean value or ID number */
     72typedef int       BOOL_ID;/* Boolean value or ID number */
    7373
    74 typedef int32_t   HNO;      /* Handler number */
    75 typedef int32_t   RNO;      /* Rendezvous number */
    76 typedef int32_t   NODE;     /* Node Number.  Usually a signed integer. */
    77 typedef int32_t   ATR;      /* Object or handler attribute. */
     74typedef int       HNO;     /* Handler number */
     75typedef int       RNO;     /* Rendezvous number */
     76typedef int       NODE;    /* Node Number.  Usually a signed integer. */
     77typedef int       ATR;     /* Object or handler attribute. */
    7878                           /*   An unsigned integer. */
    79 typedef int32_t   ER;       /* Error code.  A signed integer. */
    80 typedef uint32_t   PRI;    /* Task priority.  A signed integer. */
    81 typedef int32_t   TMO;      /* Timeout value.  A signed integer. */
     79typedef int           ER;  /* Error code.  A signed integer. */
     80typedef unsigned int  PRI; /* Task priority.  A signed integer. */
     81typedef int32_t       TMO; /* Timeout value.  A signed integer. */
    8282                           /*   TMO_POL = 0 indicates polling, */
    8383                           /*   while TMO_FEVR = -1 indicates wait forever. */
Note: See TracChangeset for help on using the changeset viewer.