From: Stelian Pop In-Reply-To: <17958.43866.983944.630780@domain.hid> References: <1176585372.15994.14.camel@domain.hid> <17958.43866.983944.630780@domain.hid> Content-Type: text/plain; charset=ISO-8859-15 Date: Thu, 19 Apr 2007 08:38:43 +0200 Message-Id: <1176964723.2508.9.camel@domain.hid> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [Xenomai-core] [PATCH] Support EABI enabled kernels on ARM List-Id: "Xenomai life and development \(bug reports, patches, discussions\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gilles Chanteperdrix Cc: xenomai@xenomai.org Le jeudi 19 avril 2007 =E0 01:35 +0200, Gilles Chanteperdrix a =E9crit : > Stelian Pop wrote: > > Hi, > >=20 > > The attached patch adds an option to make Xenomai userspace issue EA= BI > > syscalls. This is needed to make Xenomai work with kernels compiled = with > > CONFIG_EABI. > >=20 > I get a problem with this patch: I am in the no EABI case in user-space > and kernel-space, and when starting latency, I get an "Illegal > instruction" message. If I revert this patch, latency starts > correctly. Any idea ? Hmm, I might have screwed up here. A quick looking points me to this change: +#define __SYS_REG +#define __SYS_REG_LIST +#define __syscall "swi\t" __sys1(XENO_ARM_SYSCALL) "" Does replacing XENO_ARM_SYSCALL with (0x00900000 + XENO_ARM_SYSCALL) fixes it ? I may be able to mount a test platform later today if this needs further debugging... --=20 Stelian Pop