Allow multiple reset vectors.
[riscv-tests.git] / debug / targets.py
index d661d14a59a4638a3ef2924e142c75699d99ac2e..d09b5764edf51e7c2b922f6c70bf0ad8c83a42e5 100644 (file)
@@ -34,6 +34,11 @@ class Hart(object):
     # Defaults to target-<index>
     name = None
 
+    # When reset, the PC must be at one of the values listed here.
+    # This is a list because on some boards the reset vector depends on
+    # jumpers.
+    reset_vectors = []
+
     def extensionSupported(self, letter):
         # target.misa is set by testlib.ExamineTarget
         if self.misa: