| 88 | } |
| 89 | |
| 90 | static 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 | |
| 100 | int do_stream(const char *streamfn, uint8_t ignoreinput) { |
| 101 | char tmpfn[20], line[256]; |