mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 23:23:13 +00:00
2008-12-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/include/itronsys/types.h: Derive ITRON ID type from Objects_Id to avoid sizing mismatches.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2008-12-19 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
|
* itron/include/itronsys/types.h: Derive ITRON ID type from Objects_Id
|
||||||
|
to avoid sizing mismatches.
|
||||||
|
|
||||||
2008-12-19 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2008-12-19 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* rtems/src/dpmemcreate.c: Spacing.
|
* rtems/src/dpmemcreate.c: Spacing.
|
||||||
|
|||||||
@@ -16,6 +16,8 @@
|
|||||||
#ifndef _ITRONSYS_TYPES_H
|
#ifndef _ITRONSYS_TYPES_H
|
||||||
#define _ITRONSYS_TYPES_H
|
#define _ITRONSYS_TYPES_H
|
||||||
|
|
||||||
|
#include <rtems/score/object.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
@@ -61,7 +63,7 @@ typedef int32_t INT; /* Signed integer (bit width of processor) */
|
|||||||
typedef uint32_t UINT; /* Unsigned integer (bit width of processor) */
|
typedef uint32_t UINT; /* Unsigned integer (bit width of processor) */
|
||||||
typedef bool BOOL; /* Boolean value. TRUE (1) or FALSE (0). */
|
typedef bool BOOL; /* Boolean value. TRUE (1) or FALSE (0). */
|
||||||
typedef int16_t FN; /* Function code. Signed integer. Maximum 2 bytes. */
|
typedef int16_t FN; /* Function code. Signed integer. Maximum 2 bytes. */
|
||||||
typedef int ID; /* Object ID number (???id) */
|
typedef Objects_Id ID; /* Object ID number (???id) */
|
||||||
/* Value range depends on the system. Usually */
|
/* Value range depends on the system. Usually */
|
||||||
/* a signed integer. Certain ID values may */
|
/* a signed integer. Certain ID values may */
|
||||||
/* represent objects on other nodes when the */
|
/* represent objects on other nodes when the */
|
||||||
|
|||||||
Reference in New Issue
Block a user