diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2020-09-29 11:51:34 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-11-09 10:20:18 +0000 |
commit | 342802726739e95105a4a9e9425b34f03ac89db4 (patch) | |
tree | c3d8d7f0ad214e7d09b89a7cf3c80f9432a692ba /src/include/cpu | |
parent | 3967cf931b02414d4b420dcb43b4aeb5ce7d2430 (diff) |
soc/amd/*/smi.h: Move the pm_acpi_smi_cmd_port function declaration
This prototype will be used outside of soc/amd.
Change-Id: Icc69cf8a910764b27edf64f0f527b8f6a9013121
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45813
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include/cpu')
-rw-r--r-- | src/include/cpu/x86/smm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/cpu/x86/smm.h b/src/include/cpu/x86/smm.h index 1073d03e49..6cf6f8290e 100644 --- a/src/include/cpu/x86/smm.h +++ b/src/include/cpu/x86/smm.h @@ -197,5 +197,8 @@ void smm_list_regions(void); /* Return the SMM save state revision. The revision can be fetched from the smm savestate which is always at the same offset downward from the top of the save state. */ uint32_t smm_revision(void); +/* Returns the PM ACPI SMI port. On Intel systems this typically not configurable (APM_CNT, 0xb2). + On AMD systems it is sometimes configurable. */ +uint16_t pm_acpi_smi_cmd_port(void); #endif /* CPU_X86_SMM_H */ |