aboutsummaryrefslogtreecommitdiff
path: root/machine/mtrap.h
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2017-08-02 10:29:44 -0700
committerPalmer Dabbelt <palmer@dabbelt.com>2017-08-02 12:32:45 -0700
commit298984cbe6ffd7ab8507fa40e15199c7d5386aab (patch)
tree0f4e8b669c46c49a6f345b31b962613ebfb96026 /machine/mtrap.h
parent62effc6bfe4f1a7e8a771c49966c4ab7755d6612 (diff)
downloadriscv-pk-298984cbe6ffd7ab8507fa40e15199c7d5386aab.zip
riscv-pk-298984cbe6ffd7ab8507fa40e15199c7d5386aab.tar.gz
riscv-pk-298984cbe6ffd7ab8507fa40e15199c7d5386aab.tar.bz2
Move DISABLED_HART_MASK to the platform
Some platforms can't boot Linux on all the harts. This commit allows platforms to define the set of harts that should be prevented from booting past BBL. This is essentially just a new mechanism for defining the DISABLED_HART_MASK.
Diffstat (limited to 'machine/mtrap.h')
-rw-r--r--machine/mtrap.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/machine/mtrap.h b/machine/mtrap.h
index df71797..4ec0924 100644
--- a/machine/mtrap.h
+++ b/machine/mtrap.h
@@ -9,11 +9,6 @@
# define MAX_HARTS 1
#endif
-// These harts will be prevented from booting beyond bbl
-#ifndef DISABLED_HART_MASK
-#define DISABLED_HART_MASK 0x0UL
-#endif
-
#ifndef __ASSEMBLER__
#include <stdint.h>