mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
Remove conditional rom loading support
Commit c2039bd0ff
made rom loading
automatic for non-PC architectures. Remove now mostly unused
conditional rom loading support.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
ee0dc6d393
commit
bc798c77e5
3 changed files with 0 additions and 9 deletions
|
@ -537,7 +537,6 @@ struct Rom {
|
|||
|
||||
static FWCfgState *fw_cfg;
|
||||
static QTAILQ_HEAD(, Rom) roms = QTAILQ_HEAD_INITIALIZER(roms);
|
||||
int rom_enable_driver_roms;
|
||||
|
||||
static void rom_insert(Rom *rom)
|
||||
{
|
||||
|
@ -624,15 +623,11 @@ int rom_add_blob(const char *name, const void *blob, size_t len,
|
|||
|
||||
int rom_add_vga(const char *file)
|
||||
{
|
||||
if (!rom_enable_driver_roms)
|
||||
return 0;
|
||||
return rom_add_file(file, "vgaroms", 0);
|
||||
}
|
||||
|
||||
int rom_add_option(const char *file)
|
||||
{
|
||||
if (!rom_enable_driver_roms)
|
||||
return 0;
|
||||
return rom_add_file(file, "genroms", 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue