timing.hh (2644:8a45565c2c04) timing.hh (2657:b119b774656b)
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;

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

95 IcachePort(TimingSimpleCPU *_cpu)
96 : CpuPort(_cpu->name() + "-iport", _cpu)
97 { }
98
99 protected:
100
101 virtual bool recvTiming(Packet *pkt);
102
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;

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

95 IcachePort(TimingSimpleCPU *_cpu)
96 : CpuPort(_cpu->name() + "-iport", _cpu)
97 { }
98
99 protected:
100
101 virtual bool recvTiming(Packet *pkt);
102
103 virtual Packet *recvRetry();
103 virtual void recvRetry();
104 };
105
106 class DcachePort : public CpuPort
107 {
108 public:
109
110 DcachePort(TimingSimpleCPU *_cpu)
111 : CpuPort(_cpu->name() + "-dport", _cpu)
112 { }
113
114 protected:
115
116 virtual bool recvTiming(Packet *pkt);
117
104 };
105
106 class DcachePort : public CpuPort
107 {
108 public:
109
110 DcachePort(TimingSimpleCPU *_cpu)
111 : CpuPort(_cpu->name() + "-dport", _cpu)
112 { }
113
114 protected:
115
116 virtual bool recvTiming(Packet *pkt);
117
118 virtual Packet *recvRetry();
118 virtual void recvRetry();
119 };
120
121 IcachePort icachePort;
122 DcachePort dcachePort;
123
124 Packet *ifetch_pkt;
125 Packet *dcache_pkt;
126

--- 24 unchanged lines hidden ---
119 };
120
121 IcachePort icachePort;
122 DcachePort dcachePort;
123
124 Packet *ifetch_pkt;
125 Packet *dcache_pkt;
126

--- 24 unchanged lines hidden ---