[coreboot-gerrit] New patch to review for coreboot: CPU: Move SMM prototypes under x86
Kyösti Mälkki (kyosti.malkki@gmail.com)
gerrit at coreboot.org
Tue Dec 6 15:46:50 CET 2016
Kyösti Mälkki (kyosti.malkki at gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17732
-gerrit
commit 76ea951c0c4f0975cdc56f5dd8639fbb8949c05b
Author: Kyösti Mälkki <kyosti.malkki at gmail.com>
Date: Tue Dec 6 13:58:56 2016 +0200
CPU: Move SMM prototypes under x86
Change-Id: Iefbc17dcfcf312338d94b2c2945c7fac3b23bff6
Signed-off-by: Kyösti Mälkki <kyosti.malkki at gmail.com>
---
src/arch/x86/include/arch/cpu.h | 4 ++++
src/include/cpu/cpu.h | 4 ----
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/arch/x86/include/arch/cpu.h b/src/arch/x86/include/arch/cpu.h
index faa2375..578bb07 100644
--- a/src/arch/x86/include/arch/cpu.h
+++ b/src/arch/x86/include/arch/cpu.h
@@ -163,6 +163,10 @@ int cpu_cpuid_extended_level(void);
int cpu_have_cpuid(void);
int cpu_phys_address_size(void);
+void smm_init(void);
+void smm_lock(void);
+void smm_setup_structures(void *gnvs, void *tcg, void *smi1);
+
#ifndef __SIMPLE_DEVICE__
struct device;
diff --git a/src/include/cpu/cpu.h b/src/include/cpu/cpu.h
index bf622d7..3256a83 100644
--- a/src/include/cpu/cpu.h
+++ b/src/include/cpu/cpu.h
@@ -9,10 +9,6 @@ struct bus;
void initialize_cpus(struct bus *cpu_bus);
void asmlinkage secondary_cpu_init(unsigned int cpu_index);
-void smm_init(void);
-void smm_lock(void);
-void smm_setup_structures(void *gnvs, void *tcg, void *smi1);
-
#define __cpu_driver __attribute__ ((used,__section__(".rodata.cpu_driver")))
#ifndef __SIMPLE_DEVICE__
/** start of compile time generated pci driver array */
More information about the coreboot-gerrit
mailing list