packet.cc (5314:e902f12a3af1) packet.cc (5319:13cb690ba6d6)
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;

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

54MemCmd::commandInfo[] =
55{
56 /* InvalidCmd */
57 { 0, InvalidCmd, "InvalidCmd" },
58 /* ReadReq */
59 { SET3(IsRead, IsRequest, NeedsResponse), ReadResp, "ReadReq" },
60 /* ReadResp */
61 { SET3(IsRead, IsResponse, HasData), InvalidCmd, "ReadResp" },
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;

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

54MemCmd::commandInfo[] =
55{
56 /* InvalidCmd */
57 { 0, InvalidCmd, "InvalidCmd" },
58 /* ReadReq */
59 { SET3(IsRead, IsRequest, NeedsResponse), ReadResp, "ReadReq" },
60 /* ReadResp */
61 { SET3(IsRead, IsResponse, HasData), InvalidCmd, "ReadResp" },
62 /* ReadRespWithInvalidate */
63 { SET4(IsRead, IsResponse, HasData, IsInvalidate),
64 InvalidCmd, "ReadRespWithInvalidate" },
62 /* WriteReq */
63 { SET5(IsWrite, NeedsExclusive, IsRequest, NeedsResponse, HasData),
64 WriteResp, "WriteReq" },
65 /* WriteResp */
66 { SET3(IsWrite, NeedsExclusive, IsResponse), InvalidCmd, "WriteResp" },
67 /* Writeback */
68 { SET4(IsWrite, NeedsExclusive, IsRequest, HasData),
69 InvalidCmd, "Writeback" },

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

79 /* HardPFResp */
80 { SET4(IsRead, IsResponse, IsHWPrefetch, HasData),
81 InvalidCmd, "HardPFResp" },
82 /* WriteInvalidateReq */
83 { SET6(IsWrite, NeedsExclusive, IsInvalidate,
84 IsRequest, HasData, NeedsResponse),
85 WriteInvalidateResp, "WriteInvalidateReq" },
86 /* WriteInvalidateResp */
65 /* WriteReq */
66 { SET5(IsWrite, NeedsExclusive, IsRequest, NeedsResponse, HasData),
67 WriteResp, "WriteReq" },
68 /* WriteResp */
69 { SET3(IsWrite, NeedsExclusive, IsResponse), InvalidCmd, "WriteResp" },
70 /* Writeback */
71 { SET4(IsWrite, NeedsExclusive, IsRequest, HasData),
72 InvalidCmd, "Writeback" },

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

82 /* HardPFResp */
83 { SET4(IsRead, IsResponse, IsHWPrefetch, HasData),
84 InvalidCmd, "HardPFResp" },
85 /* WriteInvalidateReq */
86 { SET6(IsWrite, NeedsExclusive, IsInvalidate,
87 IsRequest, HasData, NeedsResponse),
88 WriteInvalidateResp, "WriteInvalidateReq" },
89 /* WriteInvalidateResp */
87 { SET4(IsWrite, NeedsExclusive, IsInvalidate, IsResponse),
90 { SET3(IsWrite, NeedsExclusive, IsResponse),
88 InvalidCmd, "WriteInvalidateResp" },
89 /* UpgradeReq */
90 { SET4(IsInvalidate, NeedsExclusive, IsRequest, NeedsResponse),
91 UpgradeResp, "UpgradeReq" },
92 /* UpgradeResp */
91 InvalidCmd, "WriteInvalidateResp" },
92 /* UpgradeReq */
93 { SET4(IsInvalidate, NeedsExclusive, IsRequest, NeedsResponse),
94 UpgradeResp, "UpgradeReq" },
95 /* UpgradeResp */
93 { SET3(IsInvalidate, NeedsExclusive, IsResponse),
96 { SET2(NeedsExclusive, IsResponse),
94 InvalidCmd, "UpgradeResp" },
95 /* ReadExReq */
96 { SET5(IsRead, NeedsExclusive, IsInvalidate, IsRequest, NeedsResponse),
97 ReadExResp, "ReadExReq" },
98 /* ReadExResp */
97 InvalidCmd, "UpgradeResp" },
98 /* ReadExReq */
99 { SET5(IsRead, NeedsExclusive, IsInvalidate, IsRequest, NeedsResponse),
100 ReadExResp, "ReadExReq" },
101 /* ReadExResp */
99 { SET5(IsRead, NeedsExclusive, IsInvalidate, IsResponse, HasData),
102 { SET4(IsRead, NeedsExclusive, IsResponse, HasData),
100 InvalidCmd, "ReadExResp" },
101 /* LoadLockedReq */
102 { SET4(IsRead, IsLocked, IsRequest, NeedsResponse),
103 LoadLockedResp, "LoadLockedReq" },
104 /* LoadLockedResp */
105 { SET4(IsRead, IsLocked, IsResponse, HasData),
106 InvalidCmd, "LoadLockedResp" },
107 /* StoreCondReq */

--- 185 unchanged lines hidden ---
103 InvalidCmd, "ReadExResp" },
104 /* LoadLockedReq */
105 { SET4(IsRead, IsLocked, IsRequest, NeedsResponse),
106 LoadLockedResp, "LoadLockedReq" },
107 /* LoadLockedResp */
108 { SET4(IsRead, IsLocked, IsResponse, HasData),
109 InvalidCmd, "LoadLockedResp" },
110 /* StoreCondReq */

--- 185 unchanged lines hidden ---