This is the mail archive of the ecos-patches@sources.redhat.com 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] |
The two mentioned functions read/write program memory assuming that instructions are aligned to instruction size. On some architectures, like Xtensa, instructions can be aligned on any byte boundary. This patch changes those function to use a safer, but slower, mechanism to read and write memory, which avoids the dreaded unaligned exception. Thanks, -John
Attachment:
patch.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |