diff options
Diffstat (limited to 'sim')
-rw-r--r-- | sim/process.cc | 3 | ||||
-rw-r--r-- | sim/process.hh | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sim/process.cc b/sim/process.cc index 36ba2c5ec..ee5d347a1 100644 --- a/sim/process.cc +++ b/sim/process.cc @@ -36,6 +36,7 @@ #include "base/loader/object_file.hh" #include "base/loader/symtab.hh" #include "base/statistics.hh" +#include "config/full_system.hh" #include "cpu/exec_context.hh" #include "cpu/smt.hh" #include "encumbered/cpu/full/thread.hh" @@ -58,7 +59,7 @@ using namespace std; // when there's no OS: thus there's no resone to use it in FULL_SYSTEM // mode when we do have an OS // -#ifdef FULL_SYSTEM +#if FULL_SYSTEM #error "process.cc not compatible with FULL_SYSTEM" #endif diff --git a/sim/process.hh b/sim/process.hh index 96389ff2e..ef54ced78 100644 --- a/sim/process.hh +++ b/sim/process.hh @@ -34,7 +34,9 @@ // when there's no OS: thus there's no reason to use it in FULL_SYSTEM // mode when we do have an OS. // -#ifndef FULL_SYSTEM +#include "config/full_system.hh" + +#if !FULL_SYSTEM #include <vector> |