This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Error when write a uint32 with not aligned pointer.


How so? The TCP/IP stacks should take care to never try this.

Well, actually, TCP/IP stacks are fine, I faced this problem when I use vnc_server package.
It does cause problem on my target. So I have to modify it.
See patch please.


This is a well known problem on ARM; such operations are undefined (some
chips/cores
may throw an exception, but in general they just quietly do the wrong
thing). The only
real solution is to just not try to perform unaligned operations of this
sort.

Ok, got it!


_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn/

Attachment: vnc_server.patch.gz
Description: application/gzip-compressed

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]