Displaying 2 results from an estimated 2 matches for "rombios_sz".
2008 Feb 28
1
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"...
2008 Feb 28
1
RE: A question on vmx loader in xen - how and when rombiosis loaded into memory
...- 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 th...