From: "Furquan Shaikh" Subject: Re: assembly language use in xen Date: Wed, 24 Dec 2008 18:24:55 +0530 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1243975910==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1243975910== Content-Type: multipart/alternative; boundary="----=_Part_73744_2852430.1230123295772" ------=_Part_73744_2852430.1230123295772 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello Keir, Thanks a lot for the information. I am having a tough time understanding the interrupt handling part in Xen as AT&T syntax is new for me. Could you please give me a brief overview of the flow of control when control is transferred to Xen after interrupt? Your guidance would be a lot of help for me. Thanking you Furquan On Wed, Dec 24, 2008 at 5:16 PM, Keir Fraser wrote: > On 24/12/2008 11:29, "Furquan Shaikh" wrote: > > Is *.text 1 *the same as *.section*??? > > .text 1 occurs in entry.S > > Please tell me what it means? > > > It specifies a numeric subsection. It's still part of the text section, but > it will presumably be placed after the normal part of the text section. It's > being used here to place rarely used code out of line. It also means that > straight-line flow of control skips to the next instance of .previous, > without needing an extra JMP instruction. Tricky code. :-) > > -- Keir > ------=_Part_73744_2852430.1230123295772 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello Keir,
Thanks a lot for the information.
I am having a tough time understanding the interrupt handling part in Xen as AT&T syntax is new for me.
Could you please give me a brief overview of the flow of control when control is transferred to Xen after interrupt?
Your guidance would be a lot of help for me.

Thanking you

Furquan

On Wed, Dec 24, 2008 at 5:16 PM, Keir Fraser <keir.fraser@eu.citrix.com> wrote:
On 24/12/2008 11:29, "Furquan Shaikh" <furquan.m.shaikh@gmail.com> wrote:

Is .text 1 the same as .section???

.text 1 occurs in entry.S

Please tell me what it means?

It specifies a numeric subsection. It's still part of the text section, but it will presumably be placed after the normal part of the text section. It's being used here to place rarely used code out of line. It also means that straight-line flow of control skips to the next instance of .previous, without needing an extra JMP instruction. Tricky code. :-)

 -- Keir

------=_Part_73744_2852430.1230123295772-- --===============1243975910== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1243975910==--