Message ID | 20191213161753.8051-5-philmd@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | hw/i386/pc: Move PC-machine specific declarations to 'pc_internal.h' | expand |
On 13/12/19 17:17, Philippe Mathieu-Daudé wrote: > In commit f809c6051 we replaced the use of cpu_set_smm_t callbacks > by using a Notifier to modify the MemoryRegion. This prototype is > now not used anymore, we can safely remove it. > > Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> > --- > include/hw/i386/pc.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h > index bc7d855aaa..743141e107 100644 > --- a/include/hw/i386/pc.h > +++ b/include/hw/i386/pc.h > @@ -212,8 +212,6 @@ void pc_cmos_init(PCMachineState *pcms, > ISADevice *s); > void pc_nic_init(PCMachineClass *pcmc, ISABus *isa_bus, PCIBus *pci_bus); > > -typedef void (*cpu_set_smm_t)(int smm, void *arg); > - > void pc_i8259_create(ISABus *isa_bus, qemu_irq *i8259_irqs); > void ioapic_init_gsi(GSIState *gsi_state, const char *parent_name); > > Queued, thanks. Paolo
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h index bc7d855aaa..743141e107 100644 --- a/include/hw/i386/pc.h +++ b/include/hw/i386/pc.h @@ -212,8 +212,6 @@ void pc_cmos_init(PCMachineState *pcms, ISADevice *s); void pc_nic_init(PCMachineClass *pcmc, ISABus *isa_bus, PCIBus *pci_bus); -typedef void (*cpu_set_smm_t)(int smm, void *arg); - void pc_i8259_create(ISABus *isa_bus, qemu_irq *i8259_irqs); void ioapic_init_gsi(GSIState *gsi_state, const char *parent_name);
In commit f809c6051 we replaced the use of cpu_set_smm_t callbacks by using a Notifier to modify the MemoryRegion. This prototype is now not used anymore, we can safely remove it. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> --- include/hw/i386/pc.h | 2 -- 1 file changed, 2 deletions(-)