]> Git Repo - qemu.git/blob - include/hw/isa/apm.h
hw/acpi/aml-build: Add Unicode macro
[qemu.git] / include / hw / isa / apm.h
1 #ifndef APM_H
2 #define APM_H
3
4 #include <stdint.h>
5 #include "qemu-common.h"
6 #include "hw/hw.h"
7 #include "exec/memory.h"
8
9 typedef void (*apm_ctrl_changed_t)(uint32_t val, void *arg);
10
11 typedef struct APMState {
12     uint8_t apmc;
13     uint8_t apms;
14
15     apm_ctrl_changed_t callback;
16     void *arg;
17     MemoryRegion io;
18 } APMState;
19
20 void apm_init(PCIDevice *dev, APMState *s, apm_ctrl_changed_t callback,
21               void *arg);
22
23 extern const VMStateDescription vmstate_apm;
24
25 #endif /* APM_H */
This page took 0.028233 seconds and 4 git commands to generate.