Changeset 58823ff in rtems


Ignore:
Timestamp:
May 27, 2003, 4:30:23 PM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
fe661e4
Parents:
f4e204c
Message:

2003-05-27 Ralf Corsepius <corsepiu@…>

PR 409:

  • include/rtems/rtems/types.h: Include rtems/stdint.h. Apply c99-types to typedef rtems_[un]signed[8|16|32|64].
Location:
cpukit/rtems
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/ChangeLog

    rf4e204c r58823ff  
     12003-05-27      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        PR 409:
     4        * include/rtems/rtems/types.h: Include rtems/stdint.h.
     5        Apply c99-types to typedef rtems_[un]signed[8|16|32|64].
     6
    172003-01-10      Joel Sherrill <joel@OARcorp.com>
    28
  • cpukit/rtems/include/rtems/rtems/types.h

    rf4e204c r58823ff  
    2020#endif
    2121
     22/*
     23 *  RTEMS basic type definitions
     24 */
     25
     26#include <rtems/stdint.h>
     27
     28/* backward compatibility types */
     29typedef uint8_t        rtems_unsigned8;
     30typedef uint16_t       rtems_unsigned16;
     31typedef uint32_t       rtems_unsigned32;
     32typedef uint64_t       rtems_unsigned64;
     33
     34typedef int8_t         rtems_signed8;
     35typedef int16_t        rtems_signed16;
     36typedef int32_t        rtems_signed32;
     37typedef int64_t        rtems_signed64;
     38
    2239#include <rtems/score/heap.h>
    2340#include <rtems/score/object.h>
     
    3148#endif
    3249
    33 /*
    34  *  RTEMS basic type definitions
    35  */
    36 
    37 typedef unsigned8       rtems_unsigned8;  /* unsigned 8-bit value  */
    38 typedef unsigned16      rtems_unsigned16; /* unsigned 16-bit value */
    39 typedef unsigned32      rtems_unsigned32; /* unsigned 32-bit value */
    40 
    41 typedef signed8         rtems_signed8;    /* signed 8-bit value  */
    42 typedef signed16        rtems_signed16;   /* signed 16-bit value */
    43 typedef signed32        rtems_signed32;   /* signed 32-bit value */
    44 
    45 /*
    46  * some C++ compilers (eg: HP's) don't do 'long long'
    47  */
    48 #if defined(__GNUC__)
    49 typedef unsigned64      rtems_unsigned64; /* unsigned 64-bit value */
    50 typedef signed64        rtems_signed64;   /* signed 64-bit value */
    51 #endif
    52 
    5350typedef single_precision rtems_single;    /* single precision float */
    5451typedef double_precision rtems_double;    /* double precision float */
     
    5653typedef boolean          rtems_boolean;
    5754
    58 typedef unsigned32       rtems_name;
     55typedef uint32_t       rtems_name;
    5956typedef Objects_Id       rtems_id;
    6057
Note: See TracChangeset for help on using the changeset viewer.