generalized arch/.../cpu.c