Deleted Added
sdiff udiff text old ( 4022:c422464ca16e ) new ( 4040:eb894f3fc168 )
full compact
1/*
2 * Copyright (c) 2006 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;

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

89 InvalidCmd, "WriteInvalidateResp" },
90 /* UpgradeReq */
91 { SET3(IsInvalidate, IsRequest, IsUpgrade), InvalidCmd, "UpgradeReq" },
92 /* ReadExReq */
93 { SET4(IsRead, IsInvalidate, IsRequest, NeedsResponse),
94 ReadExResp, "ReadExReq" },
95 /* ReadExResp */
96 { SET4(IsRead, IsInvalidate, IsResponse, HasData),
97 InvalidCmd, "ReadExResp" }
98};
99
100
101/** delete the data pointed to in the data pointer. Ok to call to matter how
102 * data was allocted. */
103void
104Packet::deleteData()
105{

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

233 if (p.result == Packet::Nacked)
234 o << "Nacked ";
235 if (p.result == Packet::Unknown)
236 o << "Inflight ";
237
238 if (p.isRead())
239 o << "Read ";
240 if (p.isWrite())
241 o << "Read ";
242 if (p.isInvalidate())
243 o << "Read ";
244 if (p.isRequest())
245 o << "Request ";
246 if (p.isResponse())
247 o << "Response ";
248 if (p.hasData())
249 o << "w/Data ";
250
251 o << std::endl;
252 return o;
253}
254