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

Function is_sgx_locked

util/inteltool/cpu.c:185–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185static int is_sgx_locked(int cpunum)
186{
187 msr_t data;
188 data = rdmsr_from_cpu(cpunum, IA32_FEATURE_CONTROL);
189 return (data.lo & FEATURE_CONTROL_LOCKED);
190}
191
192#endif
193

Callers 1

print_sgxFunction · 0.85

Calls 1

rdmsr_from_cpuFunction · 0.70

Tested by

no test coverage detected