Does it right?
Joel Sherrill
joel.sherrill at OARcorp.com
Thu Sep 11 11:05:28 UTC 2003
Paul Whitfield wrote:
>shannon wrote:
>
>
>
>>In RTEMS:
>>
>>sizeof(unsigned32)=4
>>sizeof( void * ) =4
>>sizeof( int ) =4
>>
>> shannon
>>
>>
>>
>
>
>I think that you are asking if the listed identities are
>true for RTEMS, however, these are actually compiler /
>processor dependent.
>
>As a generally, the relationship is true for a 32-bit
>processors, however it is not guaranteed.
>
>
Most of the RTEMS ports are to 32-bit architectures and these
are true but there are exceptions.
unsigned32 will always be defined by the port such that it is
32 bits. That is a key thing in RTEMS.
There are ports to architectures where (void *) and (int) are
not 32 bits. The h8300 and mips64orion ports come to mind.
>Regards
>
>Paul
>
>
>
>
>
More information about the users
mailing list