xref: /openbmc/qemu/include/hw/acpi/ich9_timer.h (revision 6e3c2d58)
1 /*
2  * QEMU ICH9 Timer emulation
3  *
4  * Copyright (c) 2024 Dominic Prinz <git@dprinz.de>
5  *
6  * This work is licensed under the terms of the GNU GPL, version 2 or later.
7  * See the COPYING file in the top-level directory.
8  */
9 
10 #ifndef HW_ACPI_ICH9_TIMER_H
11 #define HW_ACPI_ICH9_TIMER_H
12 
13 #include "hw/acpi/ich9.h"
14 
15 void ich9_pm_update_swsmi_timer(ICH9LPCPMRegs *pm, bool enable);
16 
17 void ich9_pm_swsmi_timer_init(ICH9LPCPMRegs *pm);
18 
19 void ich9_pm_update_periodic_timer(ICH9LPCPMRegs *pm, bool enable);
20 
21 void ich9_pm_periodic_timer_init(ICH9LPCPMRegs *pm);
22 
23 #endif
24