coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <soc/nvs.h>
Go to the source code of this file.
Functions | |
int | is_sgx_supported (void) |
void | prmrr_core_configure (void) |
void | sgx_configure (void *unused) |
int is_sgx_supported | ( | void | ) |
Definition at line 15 of file sgx.c.
References cpuid_ext(), cpuid_result::ebx, MTRR_CAP_MSR, MTRR_CAP_PRMRR, rdmsr(), and SGX_SUPPORTED.
Referenced by prmrr_core_configure(), sgx_configure(), and sgx_fill_ssdt().
Definition at line 25 of file sgx.c.
References BIOS_ERR, BIOS_INFO, intel_ht_sibling(), is_sgx_supported(), msr_struct::lo, MSR_PRMRR_PHYS_BASE, MSR_PRMRR_PHYS_MASK, MTRR_TYPE_WRBACK, printk, PRMRR_PHYS_MASK_LOCK, PRMRR_PHYS_MASK_VALID, rdmsr(), soc_get_uncore_prmmr_base_and_mask(), and wrmsr().
Referenced by soc_core_init().
Definition at line 183 of file sgx.c.
References activate_sgx(), BIOS_ERR, CONFIG, cpu_lt_lock_memory(), enable_sgx(), intel_ht_sibling(), intel_microcode_find(), intel_microcode_load_unlocked(), is_prmrr_approved(), is_prmrr_set(), is_sgx_supported(), lock_sgx(), microcode_patch, owner_epoch_update(), and printk.
Referenced by post_mp_init().