gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | List of all members
O3CPUImpl Struct Reference

Implementation specific struct that defines several key types to the CPU, the stages within the CPU, the time buffers, and the DynInst. More...

#include <impl.hh>

Public Types

enum  { MaxWidth = 8, MaxThreads = 4 }
 
typedef TheISA::MachInst MachInst
 The type of MachInst. More...
 
typedef SimpleCPUPolicy
< O3CPUImpl
CPUPol
 The CPU policy to be used, which defines all of the CPU stages. More...
 
typedef BaseO3DynInst< O3CPUImplDynInst
 The DynInst type to be used. More...
 
typedef RefCountingPtr< DynInstDynInstPtr
 The refcounted DynInst pointer to be used. More...
 
typedef FullO3CPU< O3CPUImplO3CPU
 The O3CPU type to be used. More...
 
typedef O3CPU CPUType
 Same typedef, but for CPUType. More...
 

Detailed Description

Implementation specific struct that defines several key types to the CPU, the stages within the CPU, the time buffers, and the DynInst.

The struct defines the ISA, the CPU policy, the specific DynInst, the specific O3CPU, and all of the structs from the time buffers to do communication. This is one of the key things that must be defined for each hardware specific CPU implementation.

Definition at line 53 of file impl.hh.

Member Typedef Documentation

The CPU policy to be used, which defines all of the CPU stages.

Definition at line 59 of file impl.hh.

Same typedef, but for CPUType.

BaseDynInst may not always use an O3 CPU, so it's clearer to call it CPUType instead in that case.

Definition at line 76 of file impl.hh.

The DynInst type to be used.

Definition at line 62 of file impl.hh.

The refcounted DynInst pointer to be used.

In most cases this is what should be used, and not DynInst *.

Definition at line 67 of file impl.hh.

typedef TheISA::MachInst O3CPUImpl::MachInst

The type of MachInst.

Definition at line 56 of file impl.hh.

The O3CPU type to be used.

Definition at line 70 of file impl.hh.

Member Enumeration Documentation

anonymous enum
Enumerator
MaxWidth 
MaxThreads 

Definition at line 78 of file impl.hh.


The documentation for this struct was generated from the following file:

Generated on Fri Jun 9 2017 13:04:16 for gem5 by doxygen 1.8.6