forked from Imagelibrary/rtems
2004-04-13 Ralf Corsepius <ralf_corsepius@rtems.org>
* rtems/include/rtems/rtems/types.h: Include <rtems/stdint.h> instead of <stdint.h>. Conditionally typedef rtems*signed64 types. * score/include/rtems/system.h: Include <rtems/stdint.h> instead of <stdint.h>.
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2004-04-13 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||
|
||||
* rtems/include/rtems/rtems/types.h: Include <rtems/stdint.h>
|
||||
instead of <stdint.h>.
|
||||
Conditionally typedef rtems*signed64 types.
|
||||
* score/include/rtems/system.h: Include <rtems/stdint.h> instead of
|
||||
<stdint.h>.
|
||||
|
||||
2004-04-13 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||
|
||||
* configure.ac: Rework stdint.h/inttypes.h support.
|
||||
|
||||
@@ -23,18 +23,24 @@ extern "C" {
|
||||
* RTEMS basic type definitions
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <rtems/stdint.h>
|
||||
|
||||
/* backward compatibility types */
|
||||
typedef uint8_t rtems_unsigned8;
|
||||
typedef uint16_t rtems_unsigned16;
|
||||
typedef uint32_t rtems_unsigned32;
|
||||
#if defined(uint64_t)
|
||||
/* FIXME: Some targets do not have 64-bit types */
|
||||
typedef uint64_t rtems_unsigned64;
|
||||
#endif
|
||||
|
||||
typedef int8_t rtems_signed8;
|
||||
typedef int16_t rtems_signed16;
|
||||
typedef int32_t rtems_signed32;
|
||||
#if defined(int64_t)
|
||||
/* FIXME: Some targets do not have 64-bit types */
|
||||
typedef int64_t rtems_signed64;
|
||||
#endif
|
||||
|
||||
#include <rtems/score/heap.h>
|
||||
#include <rtems/score/object.h>
|
||||
|
||||
@@ -143,7 +143,7 @@ typedef void * proc_ptr;
|
||||
#define FALSE (0)
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#include <rtems/stdint.h>
|
||||
#include <rtems/score/cpu.h> /* processor specific information */
|
||||
|
||||
#define stringify( _x ) # _x
|
||||
|
||||
Reference in New Issue
Block a user