summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-08-10 15:32:03 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-08-13 14:00:06 +0000
commit1ef039bb4965213c87b844ca30482853fb86b418 (patch)
tree444e9b959f2ea4afee59a4abe772963d4d6c9d5b /src/include
parentc4fdb7b923f82e31a687fc01f7176ad05ab51689 (diff)
cpu/x86: Change old-style SMI handler prototypes
Change-Id: Ic1e3cae5298997b552020b78e6ff56d60cf22036 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34821 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/cpu/x86/smi_deprecated.h6
-rw-r--r--src/include/cpu/x86/smm.h2
2 files changed, 0 insertions, 8 deletions
diff --git a/src/include/cpu/x86/smi_deprecated.h b/src/include/cpu/x86/smi_deprecated.h
index b5d69dd266..fe73d386c9 100644
--- a/src/include/cpu/x86/smi_deprecated.h
+++ b/src/include/cpu/x86/smi_deprecated.h
@@ -37,12 +37,6 @@ typedef struct {
};
} smm_state_save_area_t;
-#if !CONFIG(SMM_TSEG)
-void cpu_smi_handler(unsigned int node, smm_state_save_area_t *state_save);
-void northbridge_smi_handler(unsigned int node, smm_state_save_area_t *state_save);
-void southbridge_smi_handler(unsigned int node, smm_state_save_area_t *state_save);
-#endif
-
#if CONFIG(PARALLEL_MP) || !CONFIG(HAVE_SMI_HANDLER)
/* Empty stubs for platforms without SMI handlers. */
static inline void smm_init(void) { }
diff --git a/src/include/cpu/x86/smm.h b/src/include/cpu/x86/smm.h
index ebe6f76da4..c3387447d8 100644
--- a/src/include/cpu/x86/smm.h
+++ b/src/include/cpu/x86/smm.h
@@ -47,11 +47,9 @@ int mainboard_io_trap_handler(int smif);
void southbridge_smi_set_eos(void);
-#if CONFIG(SMM_TSEG)
void cpu_smi_handler(void);
void northbridge_smi_handler(void);
void southbridge_smi_handler(void);
-#endif
void smm_setup_structures(void *gnvs, void *tcg, void *smi1);