Deleted Added
sdiff udiff text old ( 3286:21d9d32ab8ab ) new ( 3335:71bef174e59f )
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;

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

46static const std::string ReadRespString("ReadResp");
47static const std::string WriteRespString("WriteResp");
48static const std::string SoftPFReqString("SoftPFReq");
49static const std::string SoftPFRespString("SoftPFResp");
50static const std::string HardPFReqString("HardPFReq");
51static const std::string HardPFRespString("HardPFResp");
52static const std::string InvalidateReqString("InvalidateReq");
53static const std::string WriteInvalidateReqString("WriteInvalidateReq");
54static const std::string UpgradeReqString("UpgradeReq");
55static const std::string ReadExReqString("ReadExReq");
56static const std::string ReadExRespString("ReadExResp");
57static const std::string OtherCmdString("<other>");
58
59const std::string &
60Packet::cmdString() const
61{

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

66 case ReadResp: return ReadRespString;
67 case WriteResp: return WriteRespString;
68 case SoftPFReq: return SoftPFReqString;
69 case SoftPFResp: return SoftPFRespString;
70 case HardPFReq: return HardPFReqString;
71 case HardPFResp: return HardPFRespString;
72 case InvalidateReq: return InvalidateReqString;
73 case WriteInvalidateReq:return WriteInvalidateReqString;
74 case UpgradeReq: return UpgradeReqString;
75 case ReadExReq: return ReadExReqString;
76 case ReadExResp: return ReadExRespString;
77 default: return OtherCmdString;
78 }
79}
80
81const std::string &

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

88 case ReadResp: return ReadRespString;
89 case WriteResp: return WriteRespString;
90 case SoftPFReq: return SoftPFReqString;
91 case SoftPFResp: return SoftPFRespString;
92 case HardPFReq: return HardPFReqString;
93 case HardPFResp: return HardPFRespString;
94 case InvalidateReq: return InvalidateReqString;
95 case WriteInvalidateReq:return WriteInvalidateReqString;
96 case UpgradeReq: return UpgradeReqString;
97 case ReadExReq: return ReadExReqString;
98 case ReadExResp: return ReadExRespString;
99 default: return OtherCmdString;
100 }
101}
102
103/** delete the data pointed to in the data pointer. Ok to call to matter how

--- 131 unchanged lines hidden ---