| 1 |
|
| 2 |
|
| 3 |
#include <cpu/x86/smm.h> |
| 4 |
#include <cpu/intel/em64t100_save_state.h> |
| 5 |
#include <gpio.h> |
| 6 |
#include <intelblocks/smihandler.h> |
| 7 |
#include <soc/iomap.h> |
| 8 |
#include <soc/pci_devs.h> |
| 9 |
#include <soc/pm.h> |
| 10 |
|
| 11 |
int smihandler_soc_disable_busmaster(pci_devfn_t dev) |
| 12 |
{ |
| 13 |
if (dev == PCH_DEV_PMC) |
| 14 |
return 0; |
| 15 |
return 1; |
| 16 |
} |
| 17 |
|
| 18 |
const struct smm_save_state_ops *get_smm_save_state_ops(void) |
| 19 |
{ |
| 20 |
return &em64t100_smm_ops; |
| 21 |
} |
| 22 |
|
| 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, |
| 30 |
#endif |
| 31 |
[PERIODIC_STS_BIT] = smihandler_southbridge_periodic, |
| 32 |
#if CONFIG(SOC_ESPI) |
| 33 |
[ESPI_SMI_STS_BIT] = smihandler_southbridge_espi, |
| 34 |
#endif |
| 35 |
}; |