coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
lockdown.c File Reference
#include <device/mmio.h>
#include <intelblocks/cfg.h>
#include <intelpch/lockdown.h>
#include <soc/pm.h>
Include dependency graph for lockdown.c:

Go to the source code of this file.

Functions

static void pmc_lock_pmsync (void)
 
static void pmc_lock_abase (void)
 
static void pmc_lock_smi (void)
 
static void pmc_lockdown_cfg (int chipset_lockdown)
 
void soc_lockdown_config (int chipset_lockdown)
 

Function Documentation

◆ pmc_lock_abase()

static void pmc_lock_abase ( void  )
static

Definition at line 20 of file lockdown.c.

References ACPI_BASE_LOCK, GEN_PMCON_B, pmc_mmio_regs(), read32(), SLP_STR_POL_LOCK, and write32().

Referenced by pmc_lockdown_cfg().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pmc_lock_pmsync()

static void pmc_lock_pmsync ( void  )
static

Definition at line 8 of file lockdown.c.

References PCH2CPU_TPR_CFG_LOCK, pmc_mmio_regs(), PMSYNC_TPR_CFG, read32(), and write32().

Referenced by pmc_lockdown_cfg().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pmc_lock_smi()

static void pmc_lock_smi ( void  )
static

Definition at line 32 of file lockdown.c.

References GEN_PMCON_B, pmc_mmio_regs(), read8(), SMI_LOCK, and write8().

Referenced by pmc_lockdown_cfg().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pmc_lockdown_cfg()

static void pmc_lockdown_cfg ( int  chipset_lockdown)
static

Definition at line 44 of file lockdown.c.

References CHIPSET_LOCKDOWN_COREBOOT, pmc_lock_abase(), pmc_lock_pmsync(), and pmc_lock_smi().

Referenced by soc_lockdown_config().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ soc_lockdown_config()

void soc_lockdown_config ( int  chipset_lockdown)

Definition at line 55 of file lockdown.c.

References pmc_lockdown_cfg().

Here is the call graph for this function: