All of lore.kernel.org
 help / color / mirror / Atom feed
From: somshekar kadam <som_kadam@domain.hid>
To: rpm@xenomai.org
Cc: xenomai@xenomai.org
Subject: [Xenomai-core] PPC context switch
Date: Fri, 11 May 2007 10:32:38 +0100 (BST)	[thread overview]
Message-ID: <707424.14519.qm@domain.hid> (raw)
In-Reply-To: <1178726712.11688.26.camel@domain.hid>

Hi, 

I was understanding the context switch code of
Xenomai-2.3.0 for PPC, I got the point that once it
enters rthal_thread_switch , xnarch_thread_trampoline
function is executed, register 15 holds this address
of this function and register 2 holds the
rthal_thread_trampoline function, 
what I am not able to understand is how does
rthal_thread_switch function is called, 

I understand from rthal_thread_trampoline
xnarch_thread_trampoline is called by jumping to
function using mtlr and in link register has the
address of xnarch_thread_trampoline stored in reg 15
and uses blr to jump to it and executes new thread. 

what I dont understand is how it excutes
rthal_thread_trampoline, may be some pointers on this,
as I am designing the MIPS context switch code for
threads port for xenomai. 

Thanks In advance 
Neelu



      Office firewalls, cyber cafes, college labs, don't allow you to download CHAT? Click here: http://in.messenger.yahoo.com/webmessengerpromo.php


  parent reply	other threads:[~2007-05-11  9:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-09  9:57 [Xenomai-core] Antwort: Re: Antwort: Re: Arguments in psos t_start() Markus Osterried
2007-05-09 16:05 ` Philippe Gerum
2007-05-10  7:09   ` [Xenomai-core] Antwort: Re: Antwort: Re: Arguments inpsos t_start() Thomas Necker (BA/EDD)
2007-05-11  9:32   ` somshekar kadam [this message]
2007-05-12 16:27     ` [Xenomai-core] PPC context switch Gilles Chanteperdrix

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=707424.14519.qm@domain.hid \
    --to=som_kadam@domain.hid \
    --cc=rpm@xenomai.org \
    --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.