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 <console/console.h>
#include <console/debug.h>
#include <cpu/x86/smm.h>
#include <device/pci.h>
#include <intelpch/lockdown.h>
#include <soc/pci_devs.h>
#include <soc/pm.h>
#include <soc/util.h>
#include "chip.h"
Include dependency graph for finalize.c:

Go to the source code of this file.

Functions

static void lock_pam0123 (void)
 
static void soc_finalize (void *unused)
 
 BOOT_STATE_INIT_ENTRY (BS_PAYLOAD_LOAD, BS_ON_ENTRY, soc_finalize, NULL)
 

Function Documentation

◆ BOOT_STATE_INIT_ENTRY()

BOOT_STATE_INIT_ENTRY ( BS_PAYLOAD_LOAD  ,
BS_ON_ENTRY  ,
soc_finalize  ,
NULL   
)

◆ lock_pam0123()

static void lock_pam0123 ( void  )
static

Definition at line 15 of file finalize.c.

References CHIPSET_LOCKDOWN_COREBOOT, get_lockdown_config(), get_stack_busno(), PAM_LOCK, PCI_DEVFN, pci_or_config32(), pcidev_path_on_bus(), SAD_ALL_DEV, SAD_ALL_FUNC, and SAD_ALL_PAM0123_CSR.

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 26 of file finalize.c.

References ACPI_TIM_DIS, APM_CNT_FINALIZE, apm_control(), BIOS_DEBUG, CONFIG, lock_pam0123(), PCH_PWRM_ACPI_TMR_CTL, pmc_mmio_regs(), post_code, POST_OS_BOOT, printk, and setbits8.

Here is the call graph for this function: