search for: rombios_physical_address

Displaying 5 results from an estimated 5 matches for "rombios_physical_address".

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 calli...
2013 Aug 23
2
[PATCH] hvmloader: fix SeaBIOS interface
...vcpus > 1) || hvm_info->apic_mode ) { --- a/tools/firmware/hvmloader/rombios.c +++ b/tools/firmware/hvmloader/rombios.c @@ -127,6 +127,8 @@ static void rombios_load(const struct bi uint32_t bioshigh; struct rombios_info *info; + BUILD_BUG_ON(sizeof(rombios) > 0x100000 - ROMBIOS_PHYSICAL_ADDRESS); + memcpy((void *)config->bios_address, config->image, config->image_size); @@ -206,8 +208,6 @@ static void rombios_create_smbios_tables SMBIOS_PHYSICAL_END); } -//BUILD_BUG_ON(sizeof(rombios) > (0x00100000U - ROMBIOS_PHYSICAL_ADDRESS)); - struct bios_co...
2008 Feb 28
1
RE: A question on vmx loader in xen - how and when rombiosis loaded into memory
...el] 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...
2011 Jul 23
9
[PATCH] Replace bios_relocate hook with bios_load hook in hvmloader
...fig->name); + memcpy((void *)config->bios_address, config->image, + config->image_size); + bioshigh = rombios_highbios_setup(); info = (struct rombios_info *)BIOS_INFO_PHYSICAL_ADDRESS; @@ -163,6 +167,7 @@ .image_size = sizeof(rombios), .bios_address = ROMBIOS_PHYSICAL_ADDRESS, + .load = rombios_load, .load_roms = 1, @@ -172,8 +177,6 @@ .bios_info_setup = rombios_setup_bios_info, .bios_info_finish = NULL, - .bios_relocate = rombios_relocate, - .vm86_setup = rombios_init_vm86_tss, .e820_setup = rombios_setup_e820, diff -r 42edf1481c57 to...
2012 Feb 11
14
[PATCH v3 0/5] hvmloader: Make ROM dependencies optional
This patch set mainly allows the user to build a seabios or rombios only version of hvmloader. In addition, when building a seabios only hvmloader, Option ROMs like vgabios and etherboot are no longer required, and therefore can be disabled from the build. Dependency on the bcc compiler can also be avoided the same way. v2: Separate patches for separate issues Introduced config option to