summaryrefslogtreecommitdiff
path: root/src/arch/x86/include
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-07-08 23:25:05 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-07-13 13:17:21 +0000
commitd4e140dae7fb102c24ecd3165ce540c0b9b93dd0 (patch)
tree06e87512962dba81898b2a0fae94bf7451cfa250 /src/arch/x86/include
parent55b7263ed825fa668f2a21d66cec57f01eccebe5 (diff)
downloadcoreboot-d4e140dae7fb102c24ecd3165ce540c0b9b93dd0.tar.xz
cpu/x86: Move smm_lock() prototype
The function implementations are in local platform scopes. Change-Id: I7a3025398b15fe6d2c5a13cdb65f3e62a49c0bc6 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34151 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/arch/x86/include')
-rw-r--r--src/arch/x86/include/arch/cpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/x86/include/arch/cpu.h b/src/arch/x86/include/arch/cpu.h
index 32717ba5b3..293ca02158 100644
--- a/src/arch/x86/include/arch/cpu.h
+++ b/src/arch/x86/include/arch/cpu.h
@@ -203,9 +203,10 @@ static inline unsigned int cpuid_edx(unsigned int op)
unsigned int cpu_cpuid_extended_level(void);
int cpu_have_cpuid(void);
+/* Only with !PARALLEL_MP. */
void smm_init(void);
void smm_init_completion(void);
-void smm_lock(void);
+
void smm_setup_structures(void *gnvs, void *tcg, void *smi1);
static inline bool cpu_is_amd(void)