includes: use base/types.hh not inttypes.h or stdint.h

This commit is contained in:
Nathan Binkert 2009-05-17 14:34:51 -07:00
parent eef3a2e142
commit 709d859530
14 changed files with 16 additions and 16 deletions

View file

@ -31,8 +31,8 @@
#ifndef __ARCH_SPARC_TYPES_HH__
#define __ARCH_SPARC_TYPES_HH__
#include <inttypes.h>
#include "base/bigint.hh"
#include "base/types.hh"
namespace SparcISA
{

View file

@ -31,7 +31,7 @@
#ifndef __ARCH_X86_CPUID_HH__
#define __ARCH_X86_CPUID_HH__
#include <inttypes.h>
#include "base/types.hh"
class ThreadContext;

View file

@ -58,11 +58,11 @@
#ifndef __ARCH_X86_TYPES_HH__
#define __ARCH_X86_TYPES_HH__
#include <inttypes.h>
#include <iostream>
#include "base/bitunion.hh"
#include "base/cprintf.hh"
#include "base/types.hh"
namespace X86ISA
{

View file

@ -32,7 +32,7 @@
#ifndef __BASE_BITFIELD_HH__
#define __BASE_BITFIELD_HH__
#include <inttypes.h>
#include "base/types.hh"
/**
* Generate a 64-bit mask of 'nbits' 1s, right justified.

View file

@ -31,8 +31,8 @@
#ifndef __BASE_BITUNION_HH__
#define __BASE_BITUNION_HH__
#include <inttypes.h>
#include "base/bitfield.hh"
#include "base/types.hh"
// The following implements the BitUnion system of defining bitfields
//on top of an underlying class. This is done through the pervasive use of

View file

@ -37,7 +37,7 @@
* This file defines a base (abstract virtual) compression algorithm object.
*/
#include <inttypes.h>
#include "base/types.hh"
/**
* Abstract virtual compression algorithm object.

View file

@ -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"

View file

@ -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 {};

View file

@ -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;

View file

@ -39,10 +39,10 @@
#include <string>
#include <list>
#include <inttypes.h>
#include <queue>
#include "base/fast_alloc.hh"
#include "base/types.hh"
#include "mem/mem_object.hh"
#include "mem/packet.hh"
#include "mem/port.hh"

View file

@ -40,11 +40,11 @@
#include <string>
#include <set>
#include <list>
#include <inttypes.h>
#include "base/range.hh"
#include "base/hashmap.hh"
#include "base/range_map.hh"
#include "base/types.hh"
#include "mem/mem_object.hh"
#include "mem/packet.hh"
#include "mem/port.hh"

View file

@ -42,11 +42,11 @@
#include <string>
#include <list>
#include <algorithm>
#include <inttypes.h>
#include "base/misc.hh"
#include "base/statistics.hh"
#include "base/trace.hh"
#include "base/types.hh"
#include "mem/cache/mshr_queue.hh"
#include "mem/mem_object.hh"
#include "mem/packet.hh"

View file

@ -41,10 +41,10 @@
#define __MEM_PORT_HH__
#include <list>
#include <inttypes.h>
#include "base/misc.hh"
#include "base/range.hh"
#include "base/types.hh"
#include "mem/packet.hh"
#include "mem/request.hh"
#include "sim/eventq.hh"

View file

@ -31,7 +31,7 @@
#ifndef __SIM_SYSCALLRETURN_HH__
#define __SIM_SYSCALLRETURN_HH__
#include <inttypes.h>
#include "base/types.hh"
class SyscallReturn
{