search for: bios_address

Displaying 4 results from an estimated 4 matches for "bios_address".

Did you mean: bind_address
2013 Aug 23
2
[PATCH] hvmloader: fix SeaBIOS interface
...SS 0x000E0000 - #endif /* __HVMLOADER_CONFIG_SEABIOS_H__ */ /* --- a/tools/firmware/hvmloader/hvmloader.c +++ b/tools/firmware/hvmloader/hvmloader.c @@ -292,8 +292,12 @@ int main(void) if ( bios->bios_load ) bios->bios_load(bios); else + { + BUG_ON(bios->bios_address + bios->image_size > + HVMLOADER_PHYSICAL_ADDRESS); memcpy((void *)bios->bios_address, bios->image, bios->image_size); + } if ( (hvm_info->nr_vcpus > 1) || hvm_info->apic_mode ) { --- a/tools/firmware/hvmloader/rombios.c...
2011 Jul 23
9
[PATCH] Replace bios_relocate hook with bios_load hook in hvmloader
...#include <stdint.h> -enum virtual_vga { VGA_none, VGA_std, VGA_cirrus, VGA_pt }; +enum virtual_vga { VGA_none, VGA_std, VGA_cirrus, VGA_pt, VGA_custom }; extern enum virtual_vga virtual_vga; struct bios_config { @@ -16,6 +16,9 @@ /* Physical address to load at */ unsigned int bios_address; + /* Custom load function. */ + void (*load)(const struct bios_config *config); + /* ROMS */ int load_roms; unsigned int optionrom_start, optionrom_end; @@ -23,8 +26,6 @@ void (*bios_info_setup)(void); void (*bios_info_finish)(void); - void (*bios_relocate)(void...
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
2012 Oct 15
1
[QEMU PATCH v4] create struct for machine initialization arguments
...CPUS390XState *env = NULL; MemoryRegion *sysmem = get_system_memory(); MemoryRegion *ram = g_new(MemoryRegion, 1); diff --git a/hw/shix.c b/hw/shix.c index dd9ce17..b56dd54 100644 --- a/hw/shix.c +++ b/hw/shix.c @@ -37,11 +37,9 @@ #define BIOS_FILENAME "shix_bios.bin" #define BIOS_ADDRESS 0xA0000000 -static void shix_init(ram_addr_t ram_size, - const char *boot_device, - const char *kernel_filename, const char *kernel_cmdline, - const char *initrd_filename, const char *cpu_model) +static void shix_init(QEMUMachineInitArgs *args) { + const char *cpu_...