includes: use base/types.hh not inttypes.h or stdint.h
This commit is contained in:
parent
eef3a2e142
commit
709d859530
14 changed files with 16 additions and 16 deletions
|
@ -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
|
||||
{
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#ifndef __ARCH_X86_CPUID_HH__
|
||||
#define __ARCH_X86_CPUID_HH__
|
||||
|
||||
#include <inttypes.h>
|
||||
#include "base/types.hh"
|
||||
|
||||
class ThreadContext;
|
||||
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 {};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
2
src/mem/cache/base.hh
vendored
2
src/mem/cache/base.hh
vendored
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#ifndef __SIM_SYSCALLRETURN_HH__
|
||||
#define __SIM_SYSCALLRETURN_HH__
|
||||
|
||||
#include <inttypes.h>
|
||||
#include "base/types.hh"
|
||||
|
||||
class SyscallReturn
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue