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

Go to the source code of this file.

Functions

void intel_update_microcode_from_cbfs (void)
 
const voidintel_microcode_find (void)
 
void intel_microcode_load_unlocked (const void *microcode_patch)
 
int soc_skip_ucode_update (u32 current_patch_id, u32 new_patch_id)
 
uint32_t get_current_microcode_rev (void)
 
uint32_t get_microcode_rev (const void *microcode)
 
uint32_t get_microcode_size (const void *microcode)
 
uint32_t get_microcode_checksum (const void *microcode)
 

Function Documentation

◆ get_current_microcode_rev()

uint32_t get_current_microcode_rev ( void  )

Definition at line 112 of file microcode.c.

References read_microcode_rev().

Referenced by ap_init(), and report_cpu_info().

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

◆ get_microcode_checksum()

uint32_t get_microcode_checksum ( const void microcode)

Definition at line 127 of file microcode.c.

◆ get_microcode_rev()

uint32_t get_microcode_rev ( const void microcode)

Definition at line 117 of file microcode.c.

◆ get_microcode_size()

uint32_t get_microcode_size ( const void microcode)

Definition at line 122 of file microcode.c.

Referenced by fill_fsps_cpu_params().

Here is the caller graph for this function:

◆ intel_microcode_find()

const void* intel_microcode_find ( void  )

Definition at line 223 of file microcode.c.

References find_cbfs_microcode().

Referenced by coreboot_init_cpus(), cpx_init_cpus(), fill_fsps_cpu_params(), fill_in_pattrs(), get_microcode_info(), intel_update_microcode_from_cbfs(), per_cpu_smm_trigger(), pre_mp_init(), and sgx_configure().

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

◆ intel_microcode_load_unlocked()

void intel_microcode_load_unlocked ( const void microcode_patch)

◆ intel_update_microcode_from_cbfs()

void intel_update_microcode_from_cbfs ( void  )

Definition at line 242 of file microcode.c.

References intel_microcode_find(), intel_microcode_load_unlocked(), spin_lock, and spin_unlock.

Here is the call graph for this function:

◆ soc_skip_ucode_update()

int soc_skip_ucode_update ( u32  current_patch_id,
u32  new_patch_id 
)

Definition at line 206 of file cpu.c.

References msr_struct::lo, MSR_PRMRR_PHYS_BASE, MTRR_CAP_MSR, MTRR_CAP_PRMRR, and rdmsr().

Referenced by intel_microcode_load_unlocked().

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