21 static char *cpu_name(
int level)
38 int cpu_level, req_level;
39 const unsigned char *msg_strs;
41 check_cpu(&cpu_level, &req_level, &err_flags);
43 if (cpu_level < req_level) {
44 printf(
"This kernel requires an %s CPU, ",
46 printf(
"but only detected an %s CPU.\n",
53 puts(
"This kernel requires the following features "
54 "not present on the CPU:\n");
56 msg_strs = (
const unsigned char *)x86_cap_strs;
61 for (j = 0; j < 32; j++) {
62 if (msg_strs[0] < i ||
63 (msg_strs[0] == i && msg_strs[1] < j)) {
70 if (msg_strs[0] == i &&