summaryrefslogtreecommitdiffstats
path: root/src/include/kernel/cpu.H
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2010-06-02 17:45:11 -0500
committerPatrick Williams <iawillia@us.ibm.com>2010-06-02 17:45:11 -0500
commit2cc0de1f136026f13ca6de363d9e57831c6ba10b (patch)
tree5653bf1244af8c97e63745536bf5ca887d06ea36 /src/include/kernel/cpu.H
parent5235cd52014205f358f1a295c5228091e1847efb (diff)
downloadblackbird-hostboot-2cc0de1f136026f13ca6de363d9e57831c6ba10b.tar.gz
blackbird-hostboot-2cc0de1f136026f13ca6de363d9e57831c6ba10b.zip
Initial cpu / task structs.
Diffstat (limited to 'src/include/kernel/cpu.H')
-rw-r--r--src/include/kernel/cpu.H16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/kernel/cpu.H b/src/include/kernel/cpu.H
new file mode 100644
index 000000000..6dd513b2c
--- /dev/null
+++ b/src/include/kernel/cpu.H
@@ -0,0 +1,16 @@
+#ifndef __KERNEL_CPU_H
+#define __KERNEL_CPU_H
+
+#include <kernel/types.h>
+
+class Scheduler;
+
+struct cpu_t
+{
+ cpuid_t cpu;
+
+ Scheduler* scheduler;
+ void* kernel_stack;
+};
+
+#endif
OpenPOWER on IntegriCloud