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

Function print_cpu_info

util/amdtool/cpu.c:368–381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

366}
367
368int print_cpu_info(void)
369{
370 int ret;
371 char brand_string[CPU_BRAND_STRING_LEN + 1];
372
373 get_cpu_brand_string(brand_string);
374 printf("CPU brand string: %s\n", brand_string);
375
376 ret = print_cpu_features();
377 ret += print_sme();
378 ret += print_sev();
379
380 return ret;
381}
382
383static const msr_entry_t common_msrs[] = {
384 { 0x001b, "IA32_APIC_BASE" },

Callers 1

amdtool.cFile · 0.85

Calls 5

get_cpu_brand_stringFunction · 0.85
printfFunction · 0.85
print_cpu_featuresFunction · 0.85
print_smeFunction · 0.85
print_sevFunction · 0.85

Tested by

no test coverage detected