summaryrefslogtreecommitdiff
path: root/src/kern
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2009-05-17 14:34:51 -0700
committerNathan Binkert <nate@binkert.org>2009-05-17 14:34:51 -0700
commit709d859530325f28b904001f5a55dbdec2bad199 (patch)
tree986591a80f7c54fcf19d764248128624b546bad7 /src/kern
parenteef3a2e142443d94b75de333ff3ccb69644a9831 (diff)
downloadgem5-709d859530325f28b904001f5a55dbdec2bad199.tar.xz
includes: use base/types.hh not inttypes.h or stdint.h
Diffstat (limited to 'src/kern')
-rw-r--r--src/kern/linux/linux.hh3
-rw-r--r--src/kern/operatingsystem.hh3
-rw-r--r--src/kern/solaris/solaris.hh4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/kern/linux/linux.hh b/src/kern/linux/linux.hh
index ad35fa726..7c16228ea 100644
--- a/src/kern/linux/linux.hh
+++ b/src/kern/linux/linux.hh
@@ -30,6 +30,8 @@
#ifndef __LINUX_HH__
#define __LINUX_HH__
+
+#include "base/types.hh"
#include "config/full_system.hh"
#if FULL_SYSTEM
@@ -38,7 +40,6 @@ class Linux {};
#else //!FULL_SYSTEM
-#include <inttypes.h>
#include <string>
#include "kern/operatingsystem.hh"
diff --git a/src/kern/operatingsystem.hh b/src/kern/operatingsystem.hh
index 712b97c35..47e64ffd9 100644
--- a/src/kern/operatingsystem.hh
+++ b/src/kern/operatingsystem.hh
@@ -31,10 +31,9 @@
#ifndef __KERN_OPERATINGSYSTEM_HH__
#define __KERN_OPERATINGSYSTEM_HH__
+#include "base/types.hh"
#include "config/full_system.hh"
-#include <inttypes.h>
-
#if FULL_SYSTEM
class OperatingSystem {};
diff --git a/src/kern/solaris/solaris.hh b/src/kern/solaris/solaris.hh
index a55ce2c80..00eee994b 100644
--- a/src/kern/solaris/solaris.hh
+++ b/src/kern/solaris/solaris.hh
@@ -30,6 +30,8 @@
#ifndef __SOLARIS_HH__
#define __SOLARIS_HH__
+
+#include "base/types.hh"
#include "config/full_system.hh"
#if FULL_SYSTEM
@@ -38,8 +40,6 @@ class Solaris {};
#else //!FULL_SYSTEM
-#include <inttypes.h>
-
#include "kern/operatingsystem.hh"
class TranslatingPort;