coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
txt_getsec.h File Reference
#include <types.h>
Include dependency graph for txt_getsec.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void enable_getsec_or_reset (void)
 
bool getsec_parameter (uint32_t *version_mask, uint32_t *version_numbers_supported, uint32_t *max_size_acm_area, uint32_t *memory_type_mask, uint32_t *senter_function_disable, uint32_t *txt_feature_flags)
 Get information as returned by getsec[PARAMETER]. More...
 
bool getsec_capabilities (uint32_t *eax)
 Get capabilities as returned by getsec[CAPABILITIES]. More...
 
void getsec_enteraccs (const uint32_t esi, const uint32_t acm_base, const uint32_t acm_size)
 
void getsec_sclean (const uint32_t acm_base, const uint32_t acm_size)
 

Function Documentation

◆ enable_getsec_or_reset()

void enable_getsec_or_reset ( void  )

Definition at line 56 of file getsec.c.

References BIOS_NOTICE, FEATURE_CONTROL_LOCK_BIT, full_reset(), IA32_FEATURE_CONTROL, msr_struct::lo, printk, rdmsr(), and wrmsr().

Here is the call graph for this function:

◆ getsec_capabilities()

bool getsec_capabilities ( uint32_t eax)

Get capabilities as returned by getsec[CAPABILITIES].

Returns false on error, true on success.

Definition at line 147 of file getsec.c.

References getsec_enabled(), and IA32_GETSEC_CAPABILITIES.

Referenced by intel_txt_prepare_txt_env(), and is_txt_chipset().

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

◆ getsec_enteraccs()

void getsec_enteraccs ( const uint32_t  esi,
const uint32_t  acm_base,
const uint32_t  acm_size 
)

Referenced by intel_txt_run_bios_acm().

Here is the caller graph for this function:

◆ getsec_parameter()

bool getsec_parameter ( uint32_t version_mask,
uint32_t version_numbers_supported,
uint32_t max_size_acm_area,
uint32_t memory_type_mask,
uint32_t senter_function_disable,
uint32_t txt_feature_flags 
)

Get information as returned by getsec[PARAMETER].

Arguments can be set to NULL if not needed.

Returns false on error, true on success.

Definition at line 89 of file getsec.c.

References getsec_enabled(), and IA32_GETSEC_PARAMETERS.

Referenced by intel_txt_prepare_txt_env(), lockdown_intel_txt(), txt_dump_getsec_parameters(), and validate_acm().

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

◆ getsec_sclean()

void getsec_sclean ( const uint32_t  acm_base,
const uint32_t  acm_size 
)

Referenced by intel_txt_run_sclean().

Here is the caller graph for this function: