Message ID | 20221221132310.1485715-1-clg@kaod.org |
---|---|
State | New |
Headers | show |
Series | hw/core/loader: Remove declarations of option_rom_has_mr/rom_file_has_mr | expand |
On 21/12/22 14:23, Cédric Le Goater wrote: > These globals were moved to MachineClass by commit 71ae9e94d9 ("pc: Move > option_rom_has_mr/rom_file_has_mr globals to MachineClass"). Finish cleanup. > > Cc: Eduardo Habkost <ehabkost@redhat.com> > Cc: Marcel Apfelbaum <marcel@redhat.com> > Signed-off-by: Cédric Le Goater <clg@kaod.org> > --- > include/hw/loader.h | 3 --- > 1 file changed, 3 deletions(-) Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Cédric Le Goater <clg@kaod.org> writes: > These globals were moved to MachineClass by commit 71ae9e94d9 ("pc: Move > option_rom_has_mr/rom_file_has_mr globals to MachineClass"). Finish cleanup. > > Cc: Eduardo Habkost <ehabkost@redhat.com> > Cc: Marcel Apfelbaum <marcel@redhat.com> > Signed-off-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
diff --git a/include/hw/loader.h b/include/hw/loader.h index 70248e0da7..1384796a4b 100644 --- a/include/hw/loader.h +++ b/include/hw/loader.h @@ -251,9 +251,6 @@ void pstrcpy_targphys(const char *name, hwaddr dest, int buf_size, const char *source); -extern bool option_rom_has_mr; -extern bool rom_file_has_mr; - ssize_t rom_add_file(const char *file, const char *fw_dir, hwaddr addr, int32_t bootindex, bool option_rom, MemoryRegion *mr, AddressSpace *as);
These globals were moved to MachineClass by commit 71ae9e94d9 ("pc: Move option_rom_has_mr/rom_file_has_mr globals to MachineClass"). Finish cleanup. Cc: Eduardo Habkost <ehabkost@redhat.com> Cc: Marcel Apfelbaum <marcel@redhat.com> Signed-off-by: Cédric Le Goater <clg@kaod.org> --- include/hw/loader.h | 3 --- 1 file changed, 3 deletions(-)