| 160 | #ifdef __ARM_ARCH |
| 161 | |
| 162 | static char* get_target_line(FILE* fp, const char* target_prefix) |
| 163 | { |
| 164 | static char line[256]; |
| 165 | |
| 166 | while(fgets(line, 256, fp)) |
| 167 | { |
| 168 | if(!memcmp(line, target_prefix, strlen(target_prefix))) |
| 169 | return line; |
| 170 | } |
| 171 | |
| 172 | return nullptr; |
| 173 | } |
| 174 | |
| 175 | static int get_cpu_model_arch(int id, struct cpu_cluster* cluster) |
| 176 | { |
no outgoing calls
no test coverage detected