coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <arch/io.h>
#include <console/console.h>
#include <cpu/x86/smm.h>
#include <intelblocks/fast_spi.h>
#include <intelblocks/pcr.h>
#include <intelblocks/smihandler.h>
#include <soc/gpio.h>
#include <soc/iomap.h>
#include <soc/nvs.h>
#include <soc/pcr_ids.h>
#include <soc/pm.h>
#include <soc/pmc.h>
Go to the source code of this file.
Macros | |
#define | PCR_PSTH_TRPST 0x1E00 |
#define | PCR_PSTH_TRPC 0x1E10 |
#define | PCR_PSTH_TRPD 0x1E18 |
#define | IOTRAP(x) (trap_sts & (1 << x)) |
Functions | |
int | southbridge_io_trap_handler (int smif) |
void | smihandler_southbridge_mc (const struct smm_save_state_ops *save_state_ops) |
void | smihandler_southbridge_monitor (const struct smm_save_state_ops *save_state_ops) |
#define PCR_PSTH_TRPC 0x1E10 |
Definition at line 20 of file smitraphandler.c.
#define PCR_PSTH_TRPD 0x1E18 |
Definition at line 22 of file smitraphandler.c.
#define PCR_PSTH_TRPST 0x1E00 |
Definition at line 18 of file smitraphandler.c.
void smihandler_southbridge_mc | ( | const struct smm_save_state_ops * | save_state_ops | ) |
Definition at line 43 of file smitraphandler.c.
References ACPI_BASE_ADDRESS, BIOS_DEBUG, inl(), MCSMI_EN, printk, and SMI_EN.
void smihandler_southbridge_monitor | ( | const struct smm_save_state_ops * | save_state_ops | ) |
Definition at line 55 of file smitraphandler.c.
References BIOS_DEBUG, gnvs, io_trap_handler(), IOTRAP, mask, PCR_PSTH_TRPC, PCR_PSTH_TRPD, PCR_PSTH_TRPST, pcr_read32(), pcr_read8(), pcr_write8(), PID_PSTH, printk, and global_nvs::smif.
int southbridge_io_trap_handler | ( | int | smif | ) |
Definition at line 25 of file smitraphandler.c.
References BIOS_DEBUG, gnvs, printk, and global_nvs::smif.