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

Function found_system

util/msrtool/msrtool.c:90–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90static int found_system(void) {
91 if (!sys || (sys && !sys->name)) {
92 fprintf(stderr, "Unable to detect the current operating system!\n");
93 fprintf(stderr, "On Linux, please run 'modprobe msr' and try again.\n");
94 fprintf(stderr, "Please send a report or patch to coreboot@coreboot.org. Thanks for your help!\n");
95 fprintf(stderr, "\n");
96 }
97 return (sys && sys->name);
98}
99
100int do_stream(const char *streamfn, uint8_t ignoreinput) {
101 char tmpfn[20], line[256];

Callers 3

do_streamFunction · 0.85
do_diffFunction · 0.85
mainFunction · 0.85

Calls 1

fprintfFunction · 0.85

Tested by

no test coverage detected