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:
@@ -21,6 +21,7 @@
|
||||
#include <cpu/amd/msr.h>
|
||||
#include <cpu/x86/cache.h>
|
||||
#include <cpu/x86/smm.h>
|
||||
#include <cpu/x86/smi_deprecated.h>
|
||||
#include <string.h>
|
||||
|
||||
void smm_init(void)
|
||||
|
@@ -21,6 +21,7 @@
|
||||
#include <cpu/x86/cr.h>
|
||||
#include <cpu/x86/gdt.h>
|
||||
#include <cpu/x86/lapic.h>
|
||||
#include <cpu/x86/smi_deprecated.h>
|
||||
#include <arch/acpi.h>
|
||||
#include <delay.h>
|
||||
#include <halt.h>
|
||||
@@ -590,14 +591,3 @@ void initialize_cpus(struct bus *cpu_bus)
|
||||
if (is_smp_boot())
|
||||
recover_lowest_1M();
|
||||
}
|
||||
|
||||
#if !CONFIG(HAVE_SMI_HANDLER)
|
||||
/* Empty stubs for platforms without SMI handlers. */
|
||||
void smm_init(void)
|
||||
{
|
||||
}
|
||||
|
||||
void smm_init_completion(void)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user