[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
A question about the data type of rtems
- Date: Mon, 13 Oct 2008 20:14:15 +0800
- From: powerman1st at gmail.com (PowerMan)
- Subject: A question about the data type of rtems
1. In which file "uint32_t" is defined ?
2. Would "int" be different between xxx-rtems-gcc ?
for example, "int" in arm-rtems-gcc is 32-bit,
"int" in avr-rtems-gcc is 16-bit.
(Or
"short" is fixed 16-bit,
"int" is fixed 32-bit,
"long" is 32-bit or 64-bit
(that is in linux kernel))
3. If so, I found some driver uses "int",
Would that make some problems to portability?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rtems.rtems.org/pipermail/rtems-users/attachments/20081013/cb660f0a/attachment.html