Changeset 4944b5bf in rtems


Ignore:
Timestamp:
09/18/96 20:50:04 (27 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
3861130
Parents:
857c52f
Message:

OBJECTS_NAME_ALIGNMENT definition changed to use sizeof rather than
hardcoded 4 to be compatible with CPUs with 64-bit ints

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/headers/object.h

    r857c52f r4944b5bf  
    3939 */
    4040
    41 #define OBJECTS_NAME_ALIGNMENT     4
     41#define OBJECTS_NAME_ALIGNMENT     sizeof( unsigned32 )
    4242
    4343/*
     
    366366    Objects_Information *information,
    367367    Objects_Id           id,
    368     unsigned32          *location_p,
     368    Objects_Locations   *location_p,
    369369    Objects_Id          *next_id_p
    370370);
  • c/src/exec/score/include/rtems/score/object.h

    r857c52f r4944b5bf  
    3939 */
    4040
    41 #define OBJECTS_NAME_ALIGNMENT     4
     41#define OBJECTS_NAME_ALIGNMENT     sizeof( unsigned32 )
    4242
    4343/*
     
    366366    Objects_Information *information,
    367367    Objects_Id           id,
    368     unsigned32          *location_p,
     368    Objects_Locations   *location_p,
    369369    Objects_Id          *next_id_p
    370370);
  • cpukit/score/include/rtems/score/object.h

    r857c52f r4944b5bf  
    3939 */
    4040
    41 #define OBJECTS_NAME_ALIGNMENT     4
     41#define OBJECTS_NAME_ALIGNMENT     sizeof( unsigned32 )
    4242
    4343/*
     
    366366    Objects_Information *information,
    367367    Objects_Id           id,
    368     unsigned32          *location_p,
     368    Objects_Locations   *location_p,
    369369    Objects_Id          *next_id_p
    370370);
Note: See TracChangeset for help on using the changeset viewer.