From: Stelian Pop <stelian.pop@domain.hid>
To: Bart Jonkers <jonkersbart@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] Xenomai on PXA255
Date: Mon, 29 May 2006 16:45:33 +0200 [thread overview]
Message-ID: <1148913934.5494.15.camel@domain.hid> (raw)
In-Reply-To: <1148912044.9574.30.camel@domain.hid>
Le lundi 29 mai 2006 à 16:14 +0200, Bart Jonkers a écrit :
> > The Ipipe patch for ARM only support the integrator platform for
> > now. There exist patch for another ARM platform, but it exist only as
> > a separated patch. Looking at the patch contents it seems that the only
> > patched files specific to the integrator architecture are :
> > arch/arm/mach-integrator/core.c
> > arch/arm/mach-integrator/integrator_cp.c
> > include/asm-arm/arch-integrator/entry-macro.S
> > include/asm-arm/arch-integrator/platform.h
> > include/asm-arm/arch-integrator/timex.h
> >
> > Looking rapidly at these files, it seems that the machine specific
> > functions and variables are reduced to:
> >
> > int __ipipe_mach_timerint;
> > int __ipipe_mach_timerstolen;
> > unsigned int __ipipe_mach_ticks_per_jiffy;
> >
> > void __ipipe_mach_acktimer(void);
> > unsigned long long __ipipe_mach_get_tsc(void);
> > void __ipipe_mach_set_dec(unsigned long reload);
> > unsigned long __ipipe_mach_get_dec(void);
> >
> > If you provide the same variables and functions for the PXA platform, I
> > think there is no modification to be done at Xenomai level.
Gilles is 100% correct. All the platform specific code has to do is
provide the low level timer manipulation functions.
> I found this out already. But it would be a easier to implement this
> functions if I know what they have to do. So could somebody give an
> explanation of this variables and functions?
Well, __ipipe_mach_acktimer acks the timer, __ipipe_mach_get_tsc returns
the TSC of the platform, __ipipe_mach_set_dec sets the decrementer etc.
Should I go on ?
If you have specific questions feel free to ask. But I suggest you read
and try to understand the code first.
Stelian.
--
Stelian Pop <stelian.pop@domain.hid>
next prev parent reply other threads:[~2006-05-29 14:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-25 10:59 [Xenomai-core] Xenomai on PXA255 Bart Jonkers
2006-05-29 13:19 ` Jan Kiszka
2006-05-29 14:00 ` Gilles Chanteperdrix
2006-05-29 14:14 ` Bart Jonkers
2006-05-29 14:45 ` Stelian Pop [this message]
2006-05-29 15:45 ` Gilles Chanteperdrix
2006-05-29 19:17 ` Stelian Pop
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1148913934.5494.15.camel@domain.hid \
--to=stelian.pop@domain.hid \
--cc=jonkersbart@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.