[En-Nut-Discussion] Defined types in sys/types.h
Ernst Stippl
ernst at stippl.org
Sun Jan 27 11:14:34 CET 2008
Hi!
1) It may has something to do with "Thumb mode"
2) It may be wrong
3) There may be another reason
Interestingly, I discovered reg_t / ureg_t definitions in nut_types.h which
I cannot explain.
Both types.h and nut_types.h seem to be "old" (1,5 years, 3 years) as can be
seen from their last modify date when extracted from the setup package.
Could that be an indication that the current contents were once added to
these files, found working, and left alone ....?
Would be interesting to see what asm code is generated for an arm program
when using theses types.
Regards
Ernst
-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] Im Auftrag von Ole Reinhardt
Gesendet: Dienstag, 22. Jänner 2008 23:14
An: Ethernut mail list
Betreff: [En-Nut-Discussion] Defined types in sys/types.h
Hi all,
I stumbled across the register type and pointer type defintions in
sys/types.h
and wondered about the reg_t / ureg_t / uptr_t etc. types for arm beeing
(only) 16bit wide?
Can anyone explain me the reason and what this means for my code? I
expect problems with pointer arithmic etc...
Best regards,
Ole Reinhardt
--
_____________________________________________________________
| |
| Embedded-IT Hard- und Softwarelösungen |
| |
| Ole Reinhardt Tel. / Fax: +49 (0)271 7420433 |
| Luisenstraße 29 Mobil: +49 (0)177 7420433 |
| 57076 Siegen eMail: ole.reinhardt at embedded-it.de |
| Germany Web: http://www.embedded-it.de |
| UstID / VAT: DE198944716 |
|_____________________________________________________________|
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.10/1240 - Release Date: 23.01.2008
17:47
More information about the En-Nut-Discussion
mailing list