mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-29 07:50:18 +00:00
OBJECTS_NAME_ALIGNMENT definition changed to use sizeof rather than
hardcoded 4 to be compatible with CPUs with 64-bit ints
This commit is contained in:
@@ -38,7 +38,7 @@ typedef void * Objects_Name;
|
||||
* NOTE: Must be a power of 2. Matches the name manipulation routines.
|
||||
*/
|
||||
|
||||
#define OBJECTS_NAME_ALIGNMENT 4
|
||||
#define OBJECTS_NAME_ALIGNMENT sizeof( unsigned32 )
|
||||
|
||||
/*
|
||||
* Functions which compare names are prototyped like this.
|
||||
@@ -365,7 +365,7 @@ Objects_Control *_Objects_Get (
|
||||
Objects_Control *_Objects_Get_next(
|
||||
Objects_Information *information,
|
||||
Objects_Id id,
|
||||
unsigned32 *location_p,
|
||||
Objects_Locations *location_p,
|
||||
Objects_Id *next_id_p
|
||||
);
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ typedef void * Objects_Name;
|
||||
* NOTE: Must be a power of 2. Matches the name manipulation routines.
|
||||
*/
|
||||
|
||||
#define OBJECTS_NAME_ALIGNMENT 4
|
||||
#define OBJECTS_NAME_ALIGNMENT sizeof( unsigned32 )
|
||||
|
||||
/*
|
||||
* Functions which compare names are prototyped like this.
|
||||
@@ -365,7 +365,7 @@ Objects_Control *_Objects_Get (
|
||||
Objects_Control *_Objects_Get_next(
|
||||
Objects_Information *information,
|
||||
Objects_Id id,
|
||||
unsigned32 *location_p,
|
||||
Objects_Locations *location_p,
|
||||
Objects_Id *next_id_p
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user