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

[Xen-devel] A question on vmx loader in xen - how and when rombios is loaded into memory


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Hu Jia Yi" <jyhu@xxxxxxxxx>
  • Date: Thu, 28 Feb 2008 11:25:45 +0800
  • Delivery-date: Wed, 27 Feb 2008 19:27:02 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Ach5uZrg+R067P7ZQX+l7RNQ9dvvJA==
  • Thread-topic: A question on vmx loader in xen - how and when rombios is loaded into memory

A “main” function is defined in Xen-3.1.0-source/tools/firmware/hvmloader/hvmloader.c.

In this main function, rombios, vgabios and vmxassist are copied to specified address,

with following commands

 

memcpy((void *)ROMBIOS_PHYSICAL_ADDRESS, rombios, rombios_sz);

memcpy((void *)ETHERBOOT_PHYSICAL_ADDRESS, etherboot, sizeof(etherboot));

….

 

But after searching the whole directory “firmware”,  I don’t know how and when rombios, vgabios and vmxassist have been loaded to the memory from the disk before calling “memcpy”.

 

Could anybody help me on this?

 

Best regards,

Hu Jia Yi

Ext: 20430

Tel: 65-67510430

 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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