cpu/x86: Move some SMM function declarations
Change-Id: I9a4e57f8fd032f2824eab0e5b59d635710e3e24b Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34822 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include <program_loading.h>
|
||||
#include <romstage_handoff.h>
|
||||
#include <symbols.h>
|
||||
#include <cpu/x86/smm.h>
|
||||
|
||||
#if ENV_RAMSTAGE || ENV_POSTCAR
|
||||
|
||||
|
@@ -203,12 +203,6 @@ 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_setup_structures(void *gnvs, void *tcg, void *smi1);
|
||||
|
||||
static inline bool cpu_is_amd(void)
|
||||
{
|
||||
return CONFIG(CPU_AMD_AGESA) || CONFIG(CPU_AMD_PI)
|
||||
|
Reference in New Issue
Block a user