MCPcopy Create free account
hub / github.com/coreboot/coreboot / is_sme_hmk_enabled

Function is_sme_hmk_enabled

util/amdtool/cpu.c:170–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170static bool is_sme_hmk_enabled(int cpunum)
171{
172 msr_t data;
173 data = rdmsr_from_cpu(cpunum, 0xC0010010);
174 return !!(data.lo & (1 << 26));
175}
176
177static bool is_sev_snp_enabled(int cpunum)
178{

Callers 1

print_smeFunction · 0.85

Calls 1

rdmsr_from_cpuFunction · 0.70

Tested by

no test coverage detected