011/7/7 Mahr, Stefan <stefan.m...@sphairon.com>:
> Øyvind Harboe wrote:
>> It is not obvious at all from the context that there is an alignment
>> guarantee.
>
> If alignment is not guaranteed, casting from uint32 to void would cause 
> problems too, wouldn't it?

Why?

> http://openocd.git.sourceforge.net/git/gitweb.cgi?p=openocd/openocd;a=blob;f=src/target/mips32_pracc.c;h=af60d321638652aad0a52a573add2aceacbfb7d9;hb=HEAD#l310


=> this is strange, why cast to uint8_t ?

return mips32_pracc_read_mem16(ejtag_info, addr, count, (uint8_t*)buf);




-- 
Øyvind Harboe - Can Zylin Consulting help on your project?
US toll free 1-866-980-3434 / International +47 51 87 40 27
http://www.zylin.com/
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to