diff options
Diffstat (limited to 'src/sim')
-rw-r--r-- | src/sim/process.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sim/process.cc b/src/sim/process.cc index ea6308de6..35f981d1e 100644 --- a/src/sim/process.cc +++ b/src/sim/process.cc @@ -77,6 +77,7 @@ #include "arch/mips/linux/process.hh" #elif THE_ISA == ARM_ISA #include "arch/arm/linux/process.hh" +#include "arch/arm/freebsd/process.hh" #elif THE_ISA == X86_ISA #include "arch/x86/linux/process.hh" #elif THE_ISA == POWER_ISA @@ -736,6 +737,15 @@ LiveProcess::create(LiveProcessParams * params) objFile->getArch()); } break; + case ObjectFile::FreeBSD: + if (arch == ObjectFile::Arm64) { + process = new ArmFreebsdProcess64(params, objFile, + objFile->getArch()); + } else { + process = new ArmFreebsdProcess32(params, objFile, + objFile->getArch()); + } + break; case ObjectFile::LinuxArmOABI: fatal("M5 does not support ARM OABI binaries. Please recompile with an" " EABI compiler."); |