/* SPDX-License-Identifier: GPL-2.0-only */ | |
#ifndef _AMDBLOCKS_SMM_H_ | |
#define _AMDBLOCKS_SMM_H_ | |
#include <cpu/x86/msr.h> | |
#include <types.h> | |
void *get_smi_source_handler(int source); | |
void handle_smi_gsmi(void); | |
void handle_smi_store(void); | |
void fch_apmc_smi_handler(void); | |
void clear_tvalid(void); | |
void lock_smm(void); | |
/* See SMITYPE_* for list possible of events. GEVENTS are handled with mainboard_smi_gpi. */ | |
void mainboard_handle_smi(int event); | |
#endif |