summaryrefslogtreecommitdiffstats
path: root/src/include/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/kernel')
-rw-r--r--src/include/kernel/task.H7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/kernel/task.H b/src/include/kernel/task.H
index 0981dc3ab..c24084bf0 100644
--- a/src/include/kernel/task.H
+++ b/src/include/kernel/task.H
@@ -30,6 +30,13 @@
#include <kernel/types.h>
+
+// Stop/Nap instruction
+#define STOP_INSTRUCTION 0x4C0002E4
+// Default PSSCR value for NAP'ing
+#define PSSCR_NAP_VALUE 0x0000000000310001ull
+
+
/** @struct context_t
* @brief Defines the save-restore context for the task.
*
OpenPOWER on IntegriCloud