From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4728943F.8060405@domain.hid> Date: Wed, 31 Oct 2007 15:42:07 +0100 From: Philippe Gerum MIME-Version: 1.0 References: <47285666.4080108@domain.hid> <47285858.3030204@domain.hid> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: Philippe Gerum Subject: Re: [Xenomai-help] xntbase_get_jiffies in user space? Reply-To: rpm@xenomai.org List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Necker Cc: xenomai@xenomai.org Thomas Necker wrote: >>> The other option would be to extend this skin with a >> Xenomai-specific >>> syscall returning this value, in a similar way than >> tm_getm(), which >>> returns the TSC converted to nanoseconds. >>> >> Like the attached patch does. > > Thanks for the quick patch. It seems necessary to change the call > ticks = xntbase_get_jiffies(&psos_tbase) > to > ticks = xntbase_get_jiffies(psos_tbase) Ack. > in syscall.c for the patch to work. > Will this change become part of the regular Xenomai release? > Yes, this extension makes a lot of sense in the pSOS context. -- Philippe.