coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <types.h>
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) |
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().
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().
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().