base.hh (13818:f0126488ef9e) | base.hh (13892:0182a0601f66) |
---|---|
1/* 2 * Copyright (c) 2011-2013, 2017 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 --- 44 unchanged lines hidden (view full) --- 53#include "config/the_isa.hh" 54#if THE_ISA == NULL_ISA 55#include "arch/null/cpu_dummy.hh" 56#else 57#include "arch/interrupts.hh" 58#include "arch/isa_traits.hh" 59#include "arch/microcode_rom.hh" 60#include "base/statistics.hh" | 1/* 2 * Copyright (c) 2011-2013, 2017 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 --- 44 unchanged lines hidden (view full) --- 53#include "config/the_isa.hh" 54#if THE_ISA == NULL_ISA 55#include "arch/null/cpu_dummy.hh" 56#else 57#include "arch/interrupts.hh" 58#include "arch/isa_traits.hh" 59#include "arch/microcode_rom.hh" 60#include "base/statistics.hh" |
61#include "mem/mem_object.hh" | 61#include "sim/clocked_object.hh" |
62#include "sim/eventq.hh" 63#include "sim/full_system.hh" 64#include "sim/insttracer.hh" 65#include "sim/probe/pmu.hh" 66#include "sim/probe/probe.hh" 67#include "sim/system.hh" 68#include "debug/Mwait.hh" 69 --- 31 unchanged lines hidden (view full) --- 101 void interval(Tick ival) { _interval = ival; } 102 Tick interval() { return _interval; } 103 104 void repeatEvent(bool repeat) { _repeatEvent = repeat; } 105 106 virtual const char *description() const; 107}; 108 | 62#include "sim/eventq.hh" 63#include "sim/full_system.hh" 64#include "sim/insttracer.hh" 65#include "sim/probe/pmu.hh" 66#include "sim/probe/probe.hh" 67#include "sim/system.hh" 68#include "debug/Mwait.hh" 69 --- 31 unchanged lines hidden (view full) --- 101 void interval(Tick ival) { _interval = ival; } 102 Tick interval() { return _interval; } 103 104 void repeatEvent(bool repeat) { _repeatEvent = repeat; } 105 106 virtual const char *description() const; 107}; 108 |
109class BaseCPU : public MemObject | 109class BaseCPU : public ClockedObject |
110{ 111 protected: 112 113 /// Instruction count used for SPARC misc register 114 /// @todo unify this with the counters that cpus individually keep 115 Tick instCnt; 116 117 // every cpu has an id, put it in the base cpu --- 536 unchanged lines hidden --- | 110{ 111 protected: 112 113 /// Instruction count used for SPARC misc register 114 /// @todo unify this with the counters that cpus individually keep 115 Tick instCnt; 116 117 // every cpu has an id, put it in the base cpu --- 536 unchanged lines hidden --- |