base.hh (8850:ed91b534ed04) base.hh (8887:20ea02da9c53)
1/*
2 * Copyright (c) 2011 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 34 unchanged lines hidden (view full) ---

43 */
44
45#ifndef __CPU_SIMPLE_BASE_HH__
46#define __CPU_SIMPLE_BASE_HH__
47
48#include "arch/predecoder.hh"
49#include "base/statistics.hh"
50#include "config/the_isa.hh"
1/*
2 * Copyright (c) 2011 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 34 unchanged lines hidden (view full) ---

43 */
44
45#ifndef __CPU_SIMPLE_BASE_HH__
46#define __CPU_SIMPLE_BASE_HH__
47
48#include "arch/predecoder.hh"
49#include "base/statistics.hh"
50#include "config/the_isa.hh"
51#include "config/use_checker.hh"
52#include "cpu/base.hh"
51#include "cpu/base.hh"
52#include "cpu/checker/cpu.hh"
53#include "cpu/decode.hh"
54#include "cpu/pc_event.hh"
55#include "cpu/simple_thread.hh"
56#include "cpu/static_inst.hh"
57#include "mem/packet.hh"
58#include "mem/port.hh"
59#include "mem/request.hh"
60#include "sim/eventq.hh"
61#include "sim/full_system.hh"
62#include "sim/system.hh"
63
53#include "cpu/decode.hh"
54#include "cpu/pc_event.hh"
55#include "cpu/simple_thread.hh"
56#include "cpu/static_inst.hh"
57#include "mem/packet.hh"
58#include "mem/port.hh"
59#include "mem/request.hh"
60#include "sim/eventq.hh"
61#include "sim/full_system.hh"
62#include "sim/system.hh"
63
64#if USE_CHECKER
65#include "cpu/checker/cpu.hh"
66#endif
67
68// forward declarations
69class Checkpoint;
70class Process;
71class Processor;
72class ThreadContext;
73
74namespace TheISA
75{

--- 47 unchanged lines hidden (view full) ---

123 /** SimpleThread object, provides all the architectural state. */
124 SimpleThread *thread;
125
126 /** ThreadContext object, provides an interface for external
127 * objects to modify this thread's state.
128 */
129 ThreadContext *tc;
130
64// forward declarations
65class Checkpoint;
66class Process;
67class Processor;
68class ThreadContext;
69
70namespace TheISA
71{

--- 47 unchanged lines hidden (view full) ---

119 /** SimpleThread object, provides all the architectural state. */
120 SimpleThread *thread;
121
122 /** ThreadContext object, provides an interface for external
123 * objects to modify this thread's state.
124 */
125 ThreadContext *tc;
126
131#if USE_CHECKER
132 CheckerCPU *checker;
127 CheckerCPU *checker;
133#endif
128
134 protected:
135
136 enum Status {
137 Idle,
138 Running,
139 Faulting,
140 ITBWaitResponse,
141 IcacheRetry,

--- 299 unchanged lines hidden ---
129 protected:
130
131 enum Status {
132 Idle,
133 Running,
134 Faulting,
135 ITBWaitResponse,
136 IcacheRetry,

--- 299 unchanged lines hidden ---