Deleted Added
sdiff udiff text old ( 9294:8fb03b13de02 ) new ( 9542:683991c46ac8 )
full compact
1/*
2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
3 * Copyright (c) 2009 Advanced Micro Devices, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer;

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

64 protected:
65 virtual bool recvTimingResp(PacketPtr pkt);
66 virtual void recvRetry()
67 { panic("%s does not expect a retry\n", name()); }
68 };
69
70 struct SenderState : public Packet::SenderState
71 {
72 SubBlock* subBlock;
73 Packet::SenderState *saved;
74
75 SenderState(Address addr, int size,
76 Packet::SenderState *sender_state = NULL)
77 : saved(sender_state)
78 {
79 subBlock = new SubBlock(addr, size);
80 }
81
82 ~SenderState()
83 {
84 delete subBlock;
85 }
86 };
87
88 typedef RubyTesterParams Params;
89 RubyTester(const Params *p);
90 ~RubyTester();
91
92 virtual BaseMasterPort &getMasterPort(const std::string &if_name,
93 PortID idx = InvalidPortID);

--- 72 unchanged lines hidden ---