7 messages in com.xensource.lists.xen-develRE: [Xen-devel] A question on vmx loa...| From | Sent On | Attachments |
|---|---|---|
| Hu Jia Yi | 27 Feb 2008 19:25 | |
| Cui, Dexuan | 27 Feb 2008 19:42 | |
| Hu Jia Yi | 27 Feb 2008 23:32 | |
| Keir Fraser | 28 Feb 2008 00:58 | |
| Hu Jia Yi | 28 Feb 2008 01:23 | |
| Keir Fraser | 28 Feb 2008 01:51 | |
| Hu Jia Yi | 28 Feb 2008 19:44 |
| Subject: | RE: [Xen-devel] A question on vmx loader in xen - how and when rombiosis loaded into memory![]() |
|---|---|
| From: | Hu Jia Yi (jy...@asmpt.com) |
| Date: | 02/27/2008 11:32:55 PM |
| List: | com.xensource.lists.xen-devel |
Thank you.
I notice the system then jumps to F000:FFF0 to execute. But because VMX is
turned on, switching to real-mode would incur problems?
I don’t find any clue to turn on the vm86 mode as Readme in the tools/firmware
directory puts.
Best regards,
Hu Jia Yi
Ext: 20430
Tel: 65-67510430
-----Original Message-----
From: Cui, Dexuan [mailto:dexu...@intel.com]
Sent: Thursday, February 28, 2008 11:43 AM
To: Hu Jia Yi; xen-...@lists.xensource.com
Subject: RE: [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-...@lists.xensource.com
[mailto:xen-...@lists.xensource.com] On Behalf Of Hu Jia Yi
Sent: 2008年2月28日 11:26
To: xen-...@lists.xensource.com
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




