1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 65 unchanged lines hidden (view full) --- 74 { 75 protected: 76 TimingSimpleCPU *cpu; 77 Tick lat; 78 79 public: 80 81 CpuPort(const std::string &_name, TimingSimpleCPU *_cpu, Tick _lat) |
82 : Port(_name, _cpu), cpu(_cpu), lat(_lat) |
83 { } 84 85 protected: 86 87 virtual Tick recvAtomic(PacketPtr pkt); 88 89 virtual void recvFunctional(PacketPtr pkt); 90 --- 70 unchanged lines hidden (view full) --- 161 }; 162 163 IcachePort icachePort; 164 DcachePort dcachePort; 165 166 PacketPtr ifetch_pkt; 167 PacketPtr dcache_pkt; 168 |
169 170 |
171 int cpu_id; 172 Tick previousTick; 173 174 public: 175 176 virtual Port *getPort(const std::string &if_name, int idx = -1); 177 178 virtual void serialize(std::ostream &os); --- 26 unchanged lines hidden --- |