|
|
@ -26,14 +26,39 @@ pub fn init() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static PROCESSORS: [Processor; MAX_CPU_NUM] = [
|
|
|
|
static PROCESSORS: [Processor; MAX_CPU_NUM] = [
|
|
|
|
Processor::new(),
|
|
|
|
// TODO: More elegant ?
|
|
|
|
Processor::new(),
|
|
|
|
Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
Processor::new(),
|
|
|
|
Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
Processor::new(),
|
|
|
|
Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
Processor::new(),
|
|
|
|
Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
Processor::new(),
|
|
|
|
Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
Processor::new(),
|
|
|
|
Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
Processor::new(),
|
|
|
|
Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
|
|
|
|
Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
|
|
|
|
Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
|
|
|
|
Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
|
|
|
|
Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
|
|
|
|
Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
|
|
|
|
Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
|
|
|
|
Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
|
|
|
|
Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
|
|
|
|
Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
|
|
|
|
// Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
|
|
|
|
// Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
|
|
|
|
// Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
|
|
|
|
// Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
|
|
|
|
// Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
|
|
|
|
// Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
|
|
|
|
// Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
|
|
|
|
// Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
|
|
|
|
// Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
|
|
|
|
// Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
|
|
|
|
// Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
|
|
|
|
// Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
|
|
|
|
// Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
|
|
|
|
// Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
|
|
|
|
// Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
|
|
|
|
// Processor::new(), Processor::new(), Processor::new(), Processor::new(),
|
|
|
|
];
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
/// Get current process
|
|
|
|
/// Get current process
|
|
|
|