summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/kernel/cpu.H9
-rw-r--r--src/include/kernel/workitem.H11
2 files changed, 6 insertions, 14 deletions
diff --git a/src/include/kernel/cpu.H b/src/include/kernel/cpu.H
index b967c1319..f218e3e45 100644
--- a/src/include/kernel/cpu.H
+++ b/src/include/kernel/cpu.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2010,2016 */
+/* Contributors Listed Below - COPYRIGHT 2010,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -38,8 +38,11 @@
#include <util/lockfree/stack.H>
// See BookIV PIR definition.
-#define KERNEL_MAX_SUPPORTED_NODES 8
-#define KERNEL_MAX_SUPPORTED_CPUS_PER_NODE (8 * 16 * 8) // Chip, core, thread.
+#define KERNEL_MAX_SUPPORTED_NODES 4
+
+// This constant is coming from the PIR: GGGGPPPRCCCCCTT
+// 3-bits for chiP (P), 1-reserved bit, 5-Core bits (C), 2-for Thread (T)
+#define KERNEL_MAX_SUPPORTED_CPUS_PER_NODE (8 * 2 * 32 * 4) // ChipId, reserved bit, core, thread
class Scheduler;
diff --git a/src/include/kernel/workitem.H b/src/include/kernel/workitem.H
index 6d2f4b6b1..856f5b365 100644
--- a/src/include/kernel/workitem.H
+++ b/src/include/kernel/workitem.H
@@ -54,16 +54,5 @@ class CpuWakeupDoorbellWorkItem : public KernelWorkItem
};
-
-//A work item to be created/executed during an IPC scenario
-class IPCDoorbellWorkItem : public KernelWorkItem
-{
- public:
- //Implement operator() function
- void operator() (void);
-
- //No data to clean up, use default destructor
- ~IPCDoorbellWorkItem() = default;
-};
#endif
OpenPOWER on IntegriCloud