Changeset 857c52f in rtems


Ignore:
Timestamp:
Sep 18, 1996, 8:49:36 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
4944b5bf
Parents:
533f89f
Message:

MP_PACKET_MINIMUN_HETERO_CONVERSION 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/mppkt.h

    r533f89f r857c52f  
    8787 */
    8888
    89 #define MP_PACKET_MINIMUN_HETERO_CONVERSION  ( sizeof( MP_packet_Prefix ) / 4 )
     89#define MP_PACKET_MINIMUN_HETERO_CONVERSION  \
     90  ( sizeof( MP_packet_Prefix ) / sizeof( unsigned32 ) )
    9091
    9192#ifndef __RTEMS_APPLICATION__
  • c/src/exec/score/include/rtems/score/mppkt.h

    r533f89f r857c52f  
    8787 */
    8888
    89 #define MP_PACKET_MINIMUN_HETERO_CONVERSION  ( sizeof( MP_packet_Prefix ) / 4 )
     89#define MP_PACKET_MINIMUN_HETERO_CONVERSION  \
     90  ( sizeof( MP_packet_Prefix ) / sizeof( unsigned32 ) )
    9091
    9192#ifndef __RTEMS_APPLICATION__
  • cpukit/score/include/rtems/score/mppkt.h

    r533f89f r857c52f  
    8787 */
    8888
    89 #define MP_PACKET_MINIMUN_HETERO_CONVERSION  ( sizeof( MP_packet_Prefix ) / 4 )
     89#define MP_PACKET_MINIMUN_HETERO_CONVERSION  \
     90  ( sizeof( MP_packet_Prefix ) / sizeof( unsigned32 ) )
    9091
    9192#ifndef __RTEMS_APPLICATION__
Note: See TracChangeset for help on using the changeset viewer.