| 630 | } |
| 631 | |
| 632 | const struct cpu_info* get_cpu_info(const char* dev_name) |
| 633 | { |
| 634 | CPUDevice* cpu_dev = dynamic_cast<CPUDevice*>(DriverManager::GetDevice(dev_name)); |
| 635 | |
| 636 | if(cpu_dev == nullptr) |
| 637 | return NULL; |
| 638 | |
| 639 | const CPUInfo* cpu_info = cpu_dev->GetCPUInfo(); |
| 640 | |
| 641 | return &cpu_info->dev; |
| 642 | } |
| 643 | |
| 644 | static int set_default_cpu(const int* cpu_list, int cpu_number) |
| 645 | { |
nothing calls this directly
no test coverage detected