summaryrefslogtreecommitdiff
path: root/xxx/inactive/smp.h
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2015-05-14 10:44:00 +0200
committerMichal Idziorek <m.i@gmx.at>2015-05-14 10:44:00 +0200
commitdc7bf2f47d6f97407e3b50ae0b8ab59fd51079e5 (patch)
tree1ed444c804d9ff55e23a7a007275c3d5c649a455 /xxx/inactive/smp.h
parent7df4060ae807dd27f3ae0a11f243897f36053ba1 (diff)
moving unused files folder
Diffstat (limited to 'xxx/inactive/smp.h')
-rw-r--r--xxx/inactive/smp.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/xxx/inactive/smp.h b/xxx/inactive/smp.h
new file mode 100644
index 0000000..8737ffc
--- /dev/null
+++ b/xxx/inactive/smp.h
@@ -0,0 +1,20 @@
+#ifndef SMP_H
+#define SMP_H
+
+#define SMP_MAX_PROC 32
+
+typedef struct
+{
+
+ uint8_t boot; //which processor in array is bsp
+ // (boot strap processor)
+
+ uint8_t processors; // total number of usable processors
+
+ uint32_t local_apic_address;// same for every processor
+
+ uint32_t local_apic_id[SMP_MAX_PROC]; // unique for every processor
+
+}smp_processors;
+
+#endif