1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#ifndef __KERNEL_CPU_H #define __KERNEL_CPU_H #include <kernel/types.h> class Scheduler; struct cpu_t { void* kernel_stack; cpuid_t cpu; Scheduler* scheduler; }; #endif