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 <device/pci_ops.h>
#include <soc/pch.h>
#include <soc/pci_devs.h>
#include <soc/systemagent.h>
Include dependency graph for finalize.c:

Go to the source code of this file.

Functions

static void broadwell_systemagent_finalize (void)
 
static void broadwell_finalize (void *unused)
 
 BOOT_STATE_INIT_ENTRY (BS_OS_RESUME, BS_ON_ENTRY, broadwell_finalize, NULL)
 
 BOOT_STATE_INIT_ENTRY (BS_PAYLOAD_LOAD, BS_ON_EXIT, broadwell_finalize, NULL)
 

Function Documentation

◆ BOOT_STATE_INIT_ENTRY() [1/2]

BOOT_STATE_INIT_ENTRY ( BS_OS_RESUME  ,
BS_ON_ENTRY  ,
broadwell_finalize  ,
NULL   
)

◆ BOOT_STATE_INIT_ENTRY() [2/2]

BOOT_STATE_INIT_ENTRY ( BS_PAYLOAD_LOAD  ,
BS_ON_EXIT  ,
broadwell_finalize  ,
NULL   
)

◆ broadwell_finalize()

static void broadwell_finalize ( void unused)
static

Definition at line 52 of file finalize.c.

References BIOS_DEBUG, broadwell_pch_finalize(), broadwell_systemagent_finalize(), post_code, POST_OS_BOOT, and printk.

Here is the call graph for this function:

◆ broadwell_systemagent_finalize()

static void broadwell_systemagent_finalize ( void  )
static

Definition at line 20 of file finalize.c.

References BDSM, BGSM, DPR, GGC, mchbar_setbits32, MESEG_LIMIT, pci_or_config16(), pci_or_config32(), pcidev_path_on_root(), REMAPBASE, REMAPLIMIT, SA_DEVFN_ROOT, TOLUD, TOM, TOUUD, and TSEG.

Referenced by broadwell_finalize().

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