aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--machine/mtrap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/machine/mtrap.h b/machine/mtrap.h
index 16453d7..df71797 100644
--- a/machine/mtrap.h
+++ b/machine/mtrap.h
@@ -10,7 +10,9 @@
#endif
// These harts will be prevented from booting beyond bbl
+#ifndef DISABLED_HART_MASK
#define DISABLED_HART_MASK 0x0UL
+#endif
#ifndef __ASSEMBLER__