coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
romstage.c File Reference
#include <arch/cpu.h>
#include <arch/mmio.h>
#include <cf9_reset.h>
#include <console/console.h>
#include <cpu/intel/common/common.h>
#include <cpu/x86/cr.h>
#include <cpu/x86/msr.h>
#include <southbridge/intel/common/pmbase.h>
#include <timer.h>
#include <types.h>
#include <security/tpm/tis.h>
#include "txt.h"
#include "txt_register.h"
#include "txt_getsec.h"
Include dependency graph for romstage.c:

Go to the source code of this file.

Functions

static bool is_establishment_bit_asserted (void)
 
static bool is_txt_cpu (void)
 
static bool is_txt_chipset (void)
 
static void print_memory_is_locked (void)
 
void intel_txt_romstage_init (void)
 

Function Documentation

◆ intel_txt_romstage_init()

void intel_txt_romstage_init ( void  )

◆ is_establishment_bit_asserted()

static bool is_establishment_bit_asserted ( void  )
static

Definition at line 20 of file romstage.c.

References read8(), stopwatch_expired(), stopwatch_init_msecs_expire(), TPM_ACCESS_ESTABLISHMENT, TPM_ACCESS_REG, and TPM_ACCESS_VALID.

Referenced by intel_txt_romstage_init().

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

◆ is_txt_chipset()

static bool is_txt_chipset ( void  )
static

Definition at line 54 of file romstage.c.

References getsec_capabilities().

Referenced by intel_txt_romstage_init().

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

◆ is_txt_cpu()

static bool is_txt_cpu ( void  )
static

Definition at line 47 of file romstage.c.

References cpu_get_feature_flags_ecx(), CPUID_SMX, and CPUID_VMX.

Referenced by intel_txt_romstage_init().

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

◆ print_memory_is_locked()

static void print_memory_is_locked ( void  )
static

Definition at line 64 of file romstage.c.

References BIOS_EMERG, CONFIG, and printk.

Referenced by intel_txt_romstage_init().

Here is the caller graph for this function: