aboutsummaryrefslogtreecommitdiff
path: root/include/hw/isa/apm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/isa/apm.h')
-rw-r--r--include/hw/isa/apm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hw/isa/apm.h b/include/hw/isa/apm.h
index 4839ff1..b7098bf 100644
--- a/include/hw/isa/apm.h
+++ b/include/hw/isa/apm.h
@@ -5,6 +5,9 @@
#include "hw/hw.h"
#include "exec/memory.h"
+#define APM_CNT_IOPORT 0xb2
+#define ACPI_PORT_SMI_CMD APM_CNT_IOPORT
+
typedef void (*apm_ctrl_changed_t)(uint32_t val, void *arg);
typedef struct APMState {