From: Philippe Gerum <rpm@xenomai.org>
To: Patrick <kpa_info@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] Xenomai standalone
Date: Sun, 17 May 2009 12:55:46 +0200 [thread overview]
Message-ID: <1242557746.17138.43.camel@domain.hid> (raw)
In-Reply-To: <1242330281.3919.12.camel@domain.hid>
On Thu, 2009-05-14 at 21:44 +0200, Patrick wrote:
> Hello all,
>
> I would like to know if it's possible to simply "separate" Xenomai
> (nucleus) from Linux and adeos ? My goal is to have a simple RTOS based
> on Xenomai (only native skin in kernel space).
>
> I have done a quick look at the source and it's seems ok to remove adeos
> by editing hal. About linux, Xenomai seems to need only MM, timer, and
> some part of irq management. Is that right ?
>
> So do you think that it would be possible to run Xenomai nucleus as a
> standalone RTOS ?
>
It is, and has already been done actually.
You may want to track how the nucleus and skins are moved on top of the
event-driven simulator running in user-space: i.e. include/asm-sim,
__XENO_SIM__ define. The simulator is basically a C++ library providing
co-routines, and a set of building blocks to mimick typical RTOS
resources (synchs, threads, interrupts etc).
Two more hints:
- the simulator is a good analogy for your problem, because the
simulation engine cannot provide any Linux kernel services, since it is
fully based on userland resources (in this case: from the glibc).
Therefore, if you don't have Linux underneath, this applies as well to
your case.
- track the xnarch_* interface from asm-sim/ (and elsewhere), how it is
implemented, what set of services is defined here. This is key to your
problem.
> Thanks in advance for any help
>
> Patrick
>
>
>
> _______________________________________________
> Xenomai-core mailing list
> Xenomai-core@domain.hid
> https://mail.gna.org/listinfo/xenomai-core
--
Philippe.
prev parent reply other threads:[~2009-05-17 10:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-14 19:44 [Xenomai-core] Xenomai standalone Patrick
2009-05-17 10:55 ` Philippe Gerum [this message]
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=1242557746.17138.43.camel@domain.hid \
--to=rpm@xenomai.org \
--cc=kpa_info@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.