aboutsummaryrefslogtreecommitdiff
path: root/machine/mtrap.h
diff options
context:
space:
mode:
authorWesley W. Terpstra <wesley@sifive.com>2017-04-05 16:27:19 -0700
committerWesley W. Terpstra <wesley@sifive.com>2017-04-05 17:25:21 -0700
commit8b4421bacba28f97da2ddeb6a6fba9e184e91bee (patch)
treed4d3cad1671503a47ae6e56821da8e69f2793da0 /machine/mtrap.h
parent91636ac4639a7993c485288d34f1c8e22b1980b4 (diff)
downloadpk-8b4421bacba28f97da2ddeb6a6fba9e184e91bee.zip
pk-8b4421bacba28f97da2ddeb6a6fba9e184e91bee.tar.gz
pk-8b4421bacba28f97da2ddeb6a6fba9e184e91bee.tar.bz2
bbl: prevent named cores from booting
Diffstat (limited to 'machine/mtrap.h')
-rw-r--r--machine/mtrap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/machine/mtrap.h b/machine/mtrap.h
index e8dfc49..1437b11 100644
--- a/machine/mtrap.h
+++ b/machine/mtrap.h
@@ -9,6 +9,9 @@
# define MAX_HARTS 1
#endif
+// These harts will be prevented from booting beyond bbl
+#define HART_MASK 0x0UL
+
#ifndef __ASSEMBLER__
#include <stdint.h>