From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <46D2C5AF.6060308@domain.hid> Date: Mon, 27 Aug 2007 14:38:07 +0200 From: Wolfgang Grandegger MIME-Version: 1.0 References: <46D2B432.2010405@domain.hid> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Xenomai-help] rtdm driver Problems List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Axel Beierlein Cc: xenomai-help Axel Beierlein wrote: > Am 27.08.2007, 13:23 Uhr, schrieb Wolfgang Grandegger : >=20 >> Axel Beierlein wrote: >>> Hello, >>> i try to port a standard serial Driver into an RTDM one following=20 >>> Jan=C2=B4s example 16550A.c. >>> When i try to initialize the rx/tx timeouts in my set_config routine=20 >>> with: >>> if (testbits(config->config_mask, RTSER_SET_TIMEOUT_RX)) >>> ctx->config.rx_timeout =3D config->rx_timeout; >>> and call an rt_dev_open("sername",0) in my testapplikation i get an = =20 >>> "floating point used in kernel ...." on my ppc. >>> I use all the structures that Jan have defined. >>> Could it bee that the uint64_t var=C2=B4s rx_timeout / tx_timeout are= the =20 >>> reasons (especially the typedef for an ppc)? >> >> How do you compile the RTDM driver? >> >=20 > ppc_6xx-gcc -Wall -O2 -c -DMODULE -D__KERNEL__ -D__IN_XENOMAI__ includes> testdrv.c -o testdrv.o Please compile it properly either by including it into the kernel tree=20 or as shown in "examples/rtdm". Wolfgang.