diff options
Diffstat (limited to 'src/kern')
-rw-r--r-- | src/kern/linux/linux.cc | 3 | ||||
-rw-r--r-- | src/kern/linux/printk.cc | 3 | ||||
-rw-r--r-- | src/kern/operatingsystem.cc | 3 | ||||
-rw-r--r-- | src/kern/system_events.cc | 3 |
4 files changed, 8 insertions, 4 deletions
diff --git a/src/kern/linux/linux.cc b/src/kern/linux/linux.cc index 8214aeb97..ef5b4417f 100644 --- a/src/kern/linux/linux.cc +++ b/src/kern/linux/linux.cc @@ -28,12 +28,13 @@ * Authors: Ali Saidi */ +#include "kern/linux/linux.hh" + #include <cstdio> #include <string> #include "cpu/thread_context.hh" #include "debug/SyscallVerbose.hh" -#include "kern/linux/linux.hh" #include "sim/process.hh" #include "sim/system.hh" diff --git a/src/kern/linux/printk.cc b/src/kern/linux/printk.cc index c2cf60964..adc2009df 100644 --- a/src/kern/linux/printk.cc +++ b/src/kern/linux/printk.cc @@ -29,13 +29,14 @@ * Ali Saidi */ +#include "kern/linux/printk.hh" + #include <sys/types.h> #include <algorithm> #include "base/trace.hh" #include "cpu/thread_context.hh" -#include "kern/linux/printk.hh" #include "sim/arguments.hh" using namespace std; diff --git a/src/kern/operatingsystem.cc b/src/kern/operatingsystem.cc index ce4092c4a..1ecc94c15 100644 --- a/src/kern/operatingsystem.cc +++ b/src/kern/operatingsystem.cc @@ -29,9 +29,10 @@ */ -#include "base/misc.hh" #include "kern/operatingsystem.hh" +#include "base/misc.hh" + int OperatingSystem::openSpecialFile(std::string path, LiveProcess *process, ThreadContext *tc) diff --git a/src/kern/system_events.cc b/src/kern/system_events.cc index 3ee7a099a..7ac8b57da 100644 --- a/src/kern/system_events.cc +++ b/src/kern/system_events.cc @@ -29,13 +29,14 @@ * Nathan Binkert */ +#include "kern/system_events.hh" + #include "arch/isa_traits.hh" #include "arch/utility.hh" #include "base/trace.hh" #include "config/the_isa.hh" #include "cpu/thread_context.hh" #include "debug/PCEvent.hh" -#include "kern/system_events.hh" using namespace TheISA; |