From: maheen butt Subject: set_current in Xen booting sequence Date: Sun, 2 Dec 2012 23:36:03 -0800 (PST) Message-ID: <1354520163.12932.YahooMailNeo@web120002.mail.ne1.yahoo.com> Reply-To: maheen butt Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4258545890987973407==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --===============4258545890987973407== Content-Type: multipart/alternative; boundary="-299933220-1941740821-1354520163=:12932" ---299933220-1941740821-1354520163=:12932 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi all,=0A=0AI'm investigating Xen bootup sequence and I'm stuck with the f= unction set_current((struct vcpu *)0xfffff000);=0Athe high level idea is th= at it is assigning VCPU to physical CPU but I can't understand the followin= g =0A=0A=0A1) what is the need of this hard coded address?=A0 it is seemed = that vcpu =0Aexist on this address (but no idea who put vcpu on that partic= ular =0Aaddress)?=0A(the same address is passed both in case of ARM and X86= )=0A2) no idea about what exactly get_cpu_info() (called by set_current) is= doing..=A0 (logically doing & and or with sp register)?=0A=A0=0AThanks ---299933220-1941740821-1354520163=:12932 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hi all,

I'm inves= tigating Xen bootup sequence and I'm stuck with the function set_current((s= truct vcpu *)0xfffff000);
the high level idea is that it is assigning VC= PU to physical CPU but I can't understand the following

<= div>1) what is the need of this hard coded address?  it is seemed that= vcpu =0Aexist on this address (but no idea who put vcpu on that particular= =0Aaddress)?
(the same address is passed both in case of ARM and= X86)
=0A=0A
2) no idea about what exactly get_cpu_info() (called = by set_current) is doing..  (logically doing & and or with sp regi= ster)?
 
Thanks



=

---299933220-1941740821-1354520163=:12932-- --===============4258545890987973407== 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.xen.org http://lists.xen.org/xen-devel --===============4258545890987973407==--