kernel: Allow reassigning IRQs to logical processors

This commit is contained in:
Pawel Dziepak
2013-11-18 04:55:25 +01:00
parent 955c7edec2
commit d897a478d7
12 changed files with 197 additions and 31 deletions
+6 -1
View File
@@ -11,6 +11,7 @@
#include <setjmp.h>
#include <int.h>
#include <smp.h>
#include <timer.h>
#include <arch/cpu.h>
@@ -79,8 +80,12 @@ typedef struct cpu_ent {
int topology_id[CPU_TOPOLOGY_LEVELS];
int cache_id[CPU_MAX_CACHE_LEVEL];
// IRQs assigned to this CPU
struct list irqs;
spinlock irqs_lock;
// arch-specific stuff
arch_cpu_info arch;
arch_cpu_info arch;
} cpu_ent __attribute__((aligned(64)));