Return-Path: Message-ID: <74d0deb3050921035545e2a33d@mail.gmail.com> From: pHilipp Zabel To: bluez-devel@lists.sourceforge.net Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_46948_30612908.1127300111941" Subject: [Bluez-devel] hcid: memory alignment problems on arm Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed, 21 Sep 2005 12:55:11 +0200 ------=_Part_46948_30612908.1127300111941 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi! hcid causes alignment traps on arm architecture with the dbus part enabled. I worked around this with the attached patch. Can anybody help me to do this the right way? -- Philipp ------=_Part_46948_30612908.1127300111941 Content-Type: text/x-patch; name="hcid-alignment-fix.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="hcid-alignment-fix.patch" LS0tIGJsdWV6LXV0aWxzLTIuMjAvaGNpZC9kYnVzLmMub3JpZwkyMDA1LTA5LTIxIDExOjI3OjI2 ICswMjAwCisrKyBibHVlei11dGlscy0yLjIwL2hjaWQvZGJ1cy5jCTIwMDUtMDktMjEgMTE6Mjc6 MzUgKzAyMDAKQEAgLTEyMCw2ICsxMjEsNyBAQAogCURCdXNNZXNzYWdlICptZXNzYWdlOwogI2lm ZGVmIEhBVkVfREJVU19NRVNTQUdFX0lURVJfR0VUX0JBU0lDCiAJdWludDhfdCAqYWRkciA9ICh1 aW50OF90ICopICZjaS0+YmRhZGRyOworCXVpbnQzMl90IGNpX291dCA9IGNpLT5vdXQ7CiAjZWxz ZQogCURCdXNNZXNzYWdlSXRlciBpdGVyOwogI2VuZGlmCkBAIC0xMzgsNyArMTQwLDcgQEAKIAli YWNweSgmcmVxLT5iZGEsICZjaS0+YmRhZGRyKTsKIAogI2lmZGVmIEhBVkVfREJVU19NRVNTQUdF X0lURV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948_30612908.1127300111941-- ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel