>>>>> "Grant" == Grant Edwards <[EMAIL PROTECTED]> writes:
Grant> In gmane.os.ecos.general, you wrote: >>> On both processors cyg_uint16 is exactly 16 bits and cyg_uint32 is >>> exactly 32 bits. Hence those data types can be used reliably for >>> describing hardware, for defining network protocols, etc. >>> >>> However cyg_ucount16 is 16 bits on the 16-bit processor and 32 >>> bits on the 32-bit processor. In both cases cyg_ucount16 is >>> the most efficient data type that provides at least the >>> specified number of bits. Grant> IOW, it's a different spelling of the C<mumble> standard types Grant> int_fastNN_t and uint_fastNN_t. >> Sounds like a good application for "int" or "unsigned int". Grant> There are (now) actually standard C types for the usage in Grant> question, but I don't think gcc implemented them back in Grant> the early days of eCos. Maybe they weren't even in the Grant> standards back them -- I forget. The _fast types were introduced in C99, which only became a standard in early 2000. eCos's cyg_type.h dates from 1997. Going through all eCos code and replacing the cyg_ types with the C standard ones would be too painful. Bart -- Bart Veer eCos Configuration Architect http://www.ecoscentric.com/ The eCos and RedBoot experts -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss