]> git.proxmox.com Git - mirror_qemu.git/blame - hw/apm.h
exec: move include files to include/exec/
[mirror_qemu.git] / hw / apm.h
CommitLineData
04762841
IY
1#ifndef APM_H
2#define APM_H
3
4#include <stdint.h>
5#include "qemu-common.h"
6#include "hw.h"
022c62cb 7#include "exec/memory.h"
04762841
IY
8
9typedef void (*apm_ctrl_changed_t)(uint32_t val, void *arg);
10
11typedef struct APMState {
12 uint8_t apmc;
13 uint8_t apms;
14
15 apm_ctrl_changed_t callback;
16 void *arg;
42d8a3cf 17 MemoryRegion io;
04762841
IY
18} APMState;
19
42d8a3cf
JG
20void apm_init(PCIDevice *dev, APMState *s, apm_ctrl_changed_t callback,
21 void *arg);
04762841
IY
22
23extern const VMStateDescription vmstate_apm;
24
25#endif /* APM_H */