Hi all,
I use in my board a specific HW, in the code I use the macros
inb/outb for 8 bits, inw/outw for 16bits and inl/outl for 32bits. When I try
to read/write in a 16bits register in this HW with inw/outw the ARM divides
the access into two of 8bits, I have checked this with a logic analyzer. My
HW only supports 16bit accesses.
What is the problem? Should I specify something within the Makefile? In
other code-application compiled using the Keil compiler the 16bit accesses
are performed with a pointer like as *(volatile unsigned short *) and works
correctly.
Thanks
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev