memtest.hh (8922:17f037ad8918) memtest.hh (8948:e95ee70f876c)
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;

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

94 CpuPort(const std::string &_name, MemTest *_memtest)
95 : MasterPort(_name, _memtest), memtest(_memtest)
96 { }
97
98 protected:
99
100 virtual bool recvTiming(PacketPtr pkt);
101
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;

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

94 CpuPort(const std::string &_name, MemTest *_memtest)
95 : MasterPort(_name, _memtest), memtest(_memtest)
96 { }
97
98 protected:
99
100 virtual bool recvTiming(PacketPtr pkt);
101
102 virtual Tick recvAtomic(PacketPtr pkt);
102 virtual bool recvTimingSnoop(PacketPtr pkt) { return true; }
103
103
104 virtual void recvFunctional(PacketPtr pkt);
104 virtual Tick recvAtomicSnoop(PacketPtr pkt) { return 0; }
105
105
106 virtual void recvFunctionalSnoop(PacketPtr pkt) { }
107
106 virtual void recvRetry();
107 };
108
109 CpuPort cachePort;
110 CpuPort funcPort;
111 PortProxy funcProxy;
112
113 class MemTestSenderState : public Packet::SenderState, public FastAlloc

--- 83 unchanged lines hidden ---
108 virtual void recvRetry();
109 };
110
111 CpuPort cachePort;
112 CpuPort funcPort;
113 PortProxy funcProxy;
114
115 class MemTestSenderState : public Packet::SenderState, public FastAlloc

--- 83 unchanged lines hidden ---