coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
finalize.c File Reference
#include <bootstate.h>
#include <commonlib/console/post_codes.h>
#include <console/console.h>
#include <cpu/x86/smm.h>
#include <device/mmio.h>
#include <device/pci.h>
#include <intelblocks/cse.h>
#include <intelblocks/lpc_lib.h>
#include <intelblocks/pcr.h>
#include <intelblocks/pmclib.h>
#include <intelblocks/systemagent.h>
#include <intelblocks/tco.h>
#include <soc/p2sb.h>
#include <soc/pci_devs.h>
#include <soc/pcr_ids.h>
#include <soc/pm.h>
#include <soc/smbus.h>
#include <soc/soc_chip.h>
#include <soc/systemagent.h>
#include <spi-generic.h>
Include dependency graph for finalize.c:

Go to the source code of this file.

Functions

static void pch_finalize (void)
 
static void tbt_finalize (void)
 
static void soc_finalize (void *unused)
 
 BOOT_STATE_INIT_ENTRY (BS_OS_RESUME, BS_ON_ENTRY, soc_finalize, NULL)
 
 BOOT_STATE_INIT_ENTRY (BS_PAYLOAD_LOAD, BS_ON_EXIT, soc_finalize, NULL)
 

Function Documentation

◆ BOOT_STATE_INIT_ENTRY() [1/2]

BOOT_STATE_INIT_ENTRY ( BS_OS_RESUME  ,
BS_ON_ENTRY  ,
soc_finalize  ,
NULL   
)

◆ BOOT_STATE_INIT_ENTRY() [2/2]

BOOT_STATE_INIT_ENTRY ( BS_PAYLOAD_LOAD  ,
BS_ON_EXIT  ,
soc_finalize  ,
NULL   
)

◆ pch_finalize()

static void pch_finalize ( void  )
static

Definition at line 30 of file finalize.c.

References pmc_clear_pmcon_sts(), and tco_lockdown().

Referenced by soc_finalize().

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

◆ soc_finalize()

static void soc_finalize ( void unused)
static

Definition at line 53 of file finalize.c.

References APM_CNT_FINALIZE, apm_control(), BIOS_DEBUG, CONFIG, heci1_disable(), pch_finalize(), post_code, POST_OS_BOOT, printk, and tbt_finalize().

Here is the call graph for this function:

◆ tbt_finalize()

static void tbt_finalize ( void  )
static

Definition at line 40 of file finalize.c.

References NUM_TBT_FUNCTIONS, pci_dev_disable_bus_master(), pcidev_path_on_root(), and SA_DEVFN_TBT.

Referenced by soc_finalize().

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