aboutsummaryrefslogtreecommitdiff
path: root/src/include/rules.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/rules.h')
-rw-r--r--src/include/rules.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/rules.h b/src/include/rules.h
index 160829efa4..2cc54e7942 100644
--- a/src/include/rules.h
+++ b/src/include/rules.h
@@ -3,6 +3,12 @@
#ifndef _RULES_H
#define _RULES_H
+#if defined(__TIMELESS__)
+#define ENV_TIMELESS 1
+#else
+#define ENV_TIMELESS 0
+#endif
+
/* Useful helpers to tell whether the code is executing in bootblock,
* romstage, ramstage or SMM.
*/