WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] A question on vmx loader in xen - how and when rombiosis

To: "Hu Jia Yi" <jyhu@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] A question on vmx loader in xen - how and when rombiosis loaded into memory
From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Date: Thu, 28 Feb 2008 11:42:55 +0800
Delivery-date: Wed, 27 Feb 2008 19:44:15 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <87B402DBCFA63342B7E8CDD1D3D0DCDE983E9E@xxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <87B402DBCFA63342B7E8CDD1D3D0DCDE983E9E@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ach5uZrg+R067P7ZQX+l7RNQ9dvvJAAAUkQA
Thread-topic: [Xen-devel] A question on vmx loader in xen - how and when rombiosis loaded into memory
> how and when rombios, vgabios and vmxassist have been loaded to the memory from the disk before calling “memcpy”.
 
They are statically compiled into hvmloader in the way of C array and are loaded with hvmloader.
Please step into the directory hvmloader/ and search for "roms.h" in Makefile.
 

-- Dexuan 

 


From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Hu Jia Yi
Sent: 2008年2月28日 11:26
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] A question on vmx loader in xen - how and when rombiosis 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
<Prev in Thread] Current Thread [Next in Thread>