| 231 | } |
| 232 | |
| 233 | void run_tests_smp() { |
| 234 | for (const auto& test : test_cases) { |
| 235 | if (test.is_smp_test) { |
| 236 | test.func(); |
| 237 | } |
| 238 | } |
| 239 | } |
| 240 | |
| 241 | auto main_smp(int argc, const char** argv) -> int { |
| 242 | per_cpu::GetCurrentCore() = per_cpu::PerCpu(cpu_io::GetCurrentCoreId()); |