summaryrefslogtreecommitdiff
path: root/src/arch/riscv/system.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/riscv/system.cc')
-rw-r--r--src/arch/riscv/system.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/arch/riscv/system.cc b/src/arch/riscv/system.cc
index 835fc97ca..fbfd9d2f5 100644
--- a/src/arch/riscv/system.cc
+++ b/src/arch/riscv/system.cc
@@ -29,6 +29,7 @@
* Authors: Ali Saidi
* Nathan Binkert
* Jaidev Patwardhan
+ * Robert Scheffel
*/
#include "arch/riscv/system.hh"
@@ -44,7 +45,10 @@
using namespace LittleEndianGuest;
-RiscvSystem::RiscvSystem(Params *p) : System(p)
+RiscvSystem::RiscvSystem(Params *p)
+ : System(p),
+ _isBareMetal(p->bare_metal),
+ _resetVect(p->reset_vect)
{
}