SMM: add defines for APM_CNT register
[coreboot.git] / src / include / cpu / x86 / smm.h
index 559b1b71979d5d8a2f379f8d8000e40f550d3e68..5605453eabd6d8d29f27b01754dc8ccd3cfc7537 100644 (file)
@@ -248,6 +248,14 @@ typedef struct {
        };
 } smm_state_save_area_t;
 
+#define APM_CNT                0xb2
+#define APM_CNT_CST_CONTROL    0x85
+#define APM_CNT_PST_CONTROL    0x80
+#define APM_CNT_ACPI_DISABLE   0x1e
+#define APM_CNT_ACPI_ENABLE    0xe1
+#define APM_CNT_MBI_UPDATE     0xeb
+#define APM_CNT_GNVS_UPDATE    0xea
+#define APM_STS                0xb3
 
 /* SMI handler function prototypes */
 void smi_handler(u32 smm_revision);