packet.cc (4921:bcf49547dae7) | packet.cc (4986:b7c82ad6b3ef) |
---|---|
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; --- 103 unchanged lines hidden (view full) --- 112 InvalidCmd, "StoreCondResp" }, 113 /* SwapReq -- for Swap ldstub type operations */ 114 { SET6(IsRead, IsWrite, NeedsExclusive, IsRequest, HasData, NeedsResponse), 115 SwapResp, "SwapReq" }, 116 /* SwapResp -- for Swap ldstub type operations */ 117 { SET5(IsRead, IsWrite, NeedsExclusive, IsResponse, HasData), 118 InvalidCmd, "SwapResp" }, 119 /* NetworkNackError -- nacked at network layer (not by protocol) */ | 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; --- 103 unchanged lines hidden (view full) --- 112 InvalidCmd, "StoreCondResp" }, 113 /* SwapReq -- for Swap ldstub type operations */ 114 { SET6(IsRead, IsWrite, NeedsExclusive, IsRequest, HasData, NeedsResponse), 115 SwapResp, "SwapReq" }, 116 /* SwapResp -- for Swap ldstub type operations */ 117 { SET5(IsRead, IsWrite, NeedsExclusive, IsResponse, HasData), 118 InvalidCmd, "SwapResp" }, 119 /* NetworkNackError -- nacked at network layer (not by protocol) */ |
120 { SET2(IsRequest, IsError), InvalidCmd, "NetworkNackError" }, | 120 { SET2(IsResponse, IsError), InvalidCmd, "NetworkNackError" }, |
121 /* InvalidDestError -- packet dest field invalid */ | 121 /* InvalidDestError -- packet dest field invalid */ |
122 { SET2(IsRequest, IsError), InvalidCmd, "InvalidDestError" }, | 122 { SET2(IsResponse, IsError), InvalidCmd, "InvalidDestError" }, |
123 /* BadAddressError -- memory address invalid */ | 123 /* BadAddressError -- memory address invalid */ |
124 { SET2(IsRequest, IsError), InvalidCmd, "BadAddressError" } | 124 { SET2(IsResponse, IsError), InvalidCmd, "BadAddressError" } |
125}; 126 127 128/** delete the data pointed to in the data pointer. Ok to call to matter how 129 * data was allocted. */ 130void 131Packet::deleteData() 132{ --- 101 unchanged lines hidden --- | 125}; 126 127 128/** delete the data pointed to in the data pointer. Ok to call to matter how 129 * data was allocted. */ 130void 131Packet::deleteData() 132{ --- 101 unchanged lines hidden --- |