packet.hh (6076:e141cc7896ce) | packet.hh (6102:7fbf97dc6540) |
---|---|
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; --- 152 unchanged lines hidden (view full) --- 161 bool isWrite() const { return testCmdAttrib(IsWrite); } 162 bool isRequest() const { return testCmdAttrib(IsRequest); } 163 bool isResponse() const { return testCmdAttrib(IsResponse); } 164 bool needsExclusive() const { return testCmdAttrib(NeedsExclusive); } 165 bool needsResponse() const { return testCmdAttrib(NeedsResponse); } 166 bool isInvalidate() const { return testCmdAttrib(IsInvalidate); } 167 bool hasData() const { return testCmdAttrib(HasData); } 168 bool isReadWrite() const { return isRead() && isWrite(); } | 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; --- 152 unchanged lines hidden (view full) --- 161 bool isWrite() const { return testCmdAttrib(IsWrite); } 162 bool isRequest() const { return testCmdAttrib(IsRequest); } 163 bool isResponse() const { return testCmdAttrib(IsResponse); } 164 bool needsExclusive() const { return testCmdAttrib(NeedsExclusive); } 165 bool needsResponse() const { return testCmdAttrib(NeedsResponse); } 166 bool isInvalidate() const { return testCmdAttrib(IsInvalidate); } 167 bool hasData() const { return testCmdAttrib(HasData); } 168 bool isReadWrite() const { return isRead() && isWrite(); } |
169 bool isLlsc() const { return testCmdAttrib(IsLlsc); } | 169 bool isLLSC() const { return testCmdAttrib(IsLlsc); } |
170 bool isError() const { return testCmdAttrib(IsError); } 171 bool isPrint() const { return testCmdAttrib(IsPrint); } 172 173 const Command 174 responseCommand() const 175 { 176 return commandInfo[cmd].response; 177 } --- 218 unchanged lines hidden (view full) --- 396 bool isWrite() const { return cmd.isWrite(); } 397 bool isRequest() const { return cmd.isRequest(); } 398 bool isResponse() const { return cmd.isResponse(); } 399 bool needsExclusive() const { return cmd.needsExclusive(); } 400 bool needsResponse() const { return cmd.needsResponse(); } 401 bool isInvalidate() const { return cmd.isInvalidate(); } 402 bool hasData() const { return cmd.hasData(); } 403 bool isReadWrite() const { return cmd.isReadWrite(); } | 170 bool isError() const { return testCmdAttrib(IsError); } 171 bool isPrint() const { return testCmdAttrib(IsPrint); } 172 173 const Command 174 responseCommand() const 175 { 176 return commandInfo[cmd].response; 177 } --- 218 unchanged lines hidden (view full) --- 396 bool isWrite() const { return cmd.isWrite(); } 397 bool isRequest() const { return cmd.isRequest(); } 398 bool isResponse() const { return cmd.isResponse(); } 399 bool needsExclusive() const { return cmd.needsExclusive(); } 400 bool needsResponse() const { return cmd.needsResponse(); } 401 bool isInvalidate() const { return cmd.isInvalidate(); } 402 bool hasData() const { return cmd.hasData(); } 403 bool isReadWrite() const { return cmd.isReadWrite(); } |
404 bool isLlsc() const { return cmd.isLlsc(); } | 404 bool isLLSC() const { return cmd.isLLSC(); } |
405 bool isError() const { return cmd.isError(); } 406 bool isPrint() const { return cmd.isPrint(); } 407 408 // Snoop flags 409 void assertMemInhibit() { flags.set(MEM_INHIBIT); } 410 bool memInhibitAsserted() { return flags.isSet(MEM_INHIBIT); } 411 void assertShared() { flags.set(SHARED); } 412 bool sharedAsserted() { return flags.isSet(SHARED); } --- 349 unchanged lines hidden --- | 405 bool isError() const { return cmd.isError(); } 406 bool isPrint() const { return cmd.isPrint(); } 407 408 // Snoop flags 409 void assertMemInhibit() { flags.set(MEM_INHIBIT); } 410 bool memInhibitAsserted() { return flags.isSet(MEM_INHIBIT); } 411 void assertShared() { flags.set(SHARED); } 412 bool sharedAsserted() { return flags.isSet(SHARED); } --- 349 unchanged lines hidden --- |