1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <cpu/x86/smm.h>
4 #include <cpu/intel/em64t100_save_state.h>
6 #include <intelblocks/smihandler.h>
8 #include <soc/pci_devs.h>
11 int smihandler_soc_disable_busmaster(pci_devfn_t dev
)
13 if (dev
== PCH_DEV_PMC
)
18 const struct smm_save_state_ops
*get_smm_save_state_ops(void)
20 return &em64t100_smm_ops
;
23 const smi_handler_t southbridge_smi
[32] = {
24 [SMI_ON_SLP_EN_STS_BIT
] = smihandler_southbridge_sleep
,
25 [APM_STS_BIT
] = smihandler_southbridge_apmc
,
26 [PM1_STS_BIT
] = smihandler_southbridge_pm1
,
27 [GPIO_STS_BIT
] = smihandler_southbridge_gpi
,
28 #if CONFIG(SOC_INTEL_COMMON_BLOCK_SMM_TCO_ENABLE)
29 [TCO_STS_BIT
] = smihandler_southbridge_tco
,
31 [PERIODIC_STS_BIT
] = smihandler_southbridge_periodic
,
33 [ESPI_SMI_STS_BIT
] = smihandler_southbridge_espi
,