[maemo-developers] [maemo-developers] Re: The fixes11 mmap patch doesn't respect data alignment on some architectures

From: Philip Van Hoof spam at pvanhoof.be
Date: Sat Jul 15 13:23:26 EEST 2006
On Fri, 2006-07-14 at 19:23 +0200, Philip Van Hoof wrote:
> While the x86 handles unaligned access, ARM doesn't. The patch will not
> work on architectures that don't handle unaligned access.
> 
> I will try to fix it, but I don't have a lot experience in this field.

Second attempt to introduce data alignment. It's still getting Killed on
the Nokia 770 ARM device. Regretfully I don't have a debugger for that
device.

In my hexeditor it looks like all of the summary file is now aligned to
4 bytes (or at least something is aligned to 4 bytes).

There's also no dmesg message on the device when the kill happens.

Could use some assistance from an expert in this field ;-) (I'm not)

-- 
Philip Van Hoof, software developer at x-tend 
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
work: vanhoof at x-tend dot be 
http://www.pvanhoof.be - http://www.x-tend.be
-------------- next part --------------
A non-text attachment was scrubbed...
Name: camel_folder_summary_with_mmap_fixes11_data_alignment02.diff
Type: text/x-patch
Size: 54910 bytes
Desc: not available
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20060715/598eeaae/attachment.bin 
More information about the maemo-developers mailing list