[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] set_current in Xen booting sequence


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: maheen butt <maheen_butt26@xxxxxxxxx>
  • Date: Sun, 2 Dec 2012 23:36:03 -0800 (PST)
  • Delivery-date: Mon, 03 Dec 2012 07:37:32 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=GD9WlxGeoUfvjtGtcDM6kMLoMNgE43E9YOKyQ3pQiDY9vBYxnmGr2v8KofvWq3JDVvVipO+nnh2CSC9FWXJWKMDMN2mmpXFf8aR4ypdwu+jywK96YaXPEN8zb9tif3mix+oQiLqX+9YKf05nvk0NS2CEe2tXhPwF+2WmYl6hoF0=;
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

Hi all,

I'm investigating Xen bootup sequence and I'm stuck with the function set_current((struct vcpu *)0xfffff000);
the high level idea is that it is assigning VCPU to physical CPU but I can't understand the following

1) what is the need of this hard coded address?  it is seemed that vcpu exist on this address (but no idea who put vcpu on that particular address)?
(the same address is passed both in case of ARM and X86)
2) no idea about what exactly get_cpu_info() (called by set_current) is doing..  (logically doing & and or with sp register)?
 
Thanks




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.