mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
Compile acpi only once
Use qemu_irqs to trigger CMOS S3 and SMI events. Avoid using kvm.h, which uses CPUState. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
5
hw/pc.h
5
hw/pc.h
@@ -73,7 +73,6 @@ typedef struct RTCState RTCState;
|
||||
RTCState *rtc_init(int base_year);
|
||||
void rtc_set_memory(RTCState *s, int addr, int val);
|
||||
void rtc_set_date(RTCState *s, const struct tm *tm);
|
||||
void cmos_set_s3_resume(void);
|
||||
|
||||
/* pc.c */
|
||||
extern int fd_bootchk;
|
||||
@@ -90,8 +89,10 @@ void acpi_bios_init(void);
|
||||
int acpi_table_add(const char *table_desc);
|
||||
|
||||
/* acpi_piix.c */
|
||||
|
||||
i2c_bus *piix4_pm_init(PCIBus *bus, int devfn, uint32_t smb_io_base,
|
||||
qemu_irq sci_irq);
|
||||
qemu_irq sci_irq, qemu_irq cmos_s3, qemu_irq smi_irq,
|
||||
int kvm_enabled);
|
||||
void piix4_smbus_register_device(SMBusDevice *dev, uint8_t addr);
|
||||
void piix4_acpi_system_hot_add_init(PCIBus *bus);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user