summaryrefslogtreecommitdiff
path: root/src/arch/x86/apmc_smi_port.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/apmc_smi_port.c')
-rw-r--r--src/arch/x86/apmc_smi_port.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/arch/x86/apmc_smi_port.c b/src/arch/x86/apmc_smi_port.c
new file mode 100644
index 0000000000..ac8f3364c5
--- /dev/null
+++ b/src/arch/x86/apmc_smi_port.c
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <cpu/x86/smm.h>
+
+/* default implementation of the !HAVE_CONFIGURABLE_APMC_SMI_PORT case */
+uint16_t pm_acpi_smi_cmd_port(void)
+{
+ return APM_CNT;
+}