summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/qoriq/include/bsp.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-07 12:49:18 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-12 10:00:18 +0200
commit20fc4f95aabc835e4734acbc7bb014f656640d40 (patch)
tree1156caa89d0d90e7fe35809768a890d9ef4d5863 /c/src/lib/libbsp/powerpc/qoriq/include/bsp.h
parentbsp/qoriq: Remove console stuff from bsp_start() (diff)
downloadrtems-20fc4f95aabc835e4734acbc7bb014f656640d40.tar.bz2
bsp/qoriq: Add QORIQ_IS_HYPERVISOR_GUEST
Update #3085.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/qoriq/include/bsp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/qoriq/include/bsp.h b/c/src/lib/libbsp/powerpc/qoriq/include/bsp.h
index d570504a74..049790529b 100644
--- a/c/src/lib/libbsp/powerpc/qoriq/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/qoriq/include/bsp.h
@@ -25,6 +25,12 @@
#include <bspopts.h>
+#ifdef QORIQ_IS_HYPERVISOR_GUEST
+#define QORIQ_THREAD_COUNT 1
+#else
+#define QORIQ_THREAD_COUNT QORIQ_PHYSICAL_THREAD_COUNT
+#endif
+
#ifndef ASM
#include <rtems.h>