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>
This commit is contained in:
@@ -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) { }
|
||||
|
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user