packet.hh (9663:45df88079f04) | packet.hh (9951:2f5eec8c1010) |
---|---|
1/* 2 * Copyright (c) 2012-2013 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 492 unchanged lines hidden (view full) --- 501 bool hasData() const { return cmd.hasData(); } 502 bool isReadWrite() const { return cmd.isReadWrite(); } 503 bool isLLSC() const { return cmd.isLLSC(); } 504 bool isError() const { return cmd.isError(); } 505 bool isPrint() const { return cmd.isPrint(); } 506 bool isFlush() const { return cmd.isFlush(); } 507 508 // Snoop flags | 1/* 2 * Copyright (c) 2012-2013 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 492 unchanged lines hidden (view full) --- 501 bool hasData() const { return cmd.hasData(); } 502 bool isReadWrite() const { return cmd.isReadWrite(); } 503 bool isLLSC() const { return cmd.isLLSC(); } 504 bool isError() const { return cmd.isError(); } 505 bool isPrint() const { return cmd.isPrint(); } 506 bool isFlush() const { return cmd.isFlush(); } 507 508 // Snoop flags |
509 void assertMemInhibit() { flags.set(MEM_INHIBIT); } 510 bool memInhibitAsserted() { return flags.isSet(MEM_INHIBIT); } 511 void assertShared() { flags.set(SHARED); } 512 bool sharedAsserted() { return flags.isSet(SHARED); } | 509 void assertMemInhibit() { flags.set(MEM_INHIBIT); } 510 bool memInhibitAsserted() const { return flags.isSet(MEM_INHIBIT); } 511 void assertShared() { flags.set(SHARED); } 512 bool sharedAsserted() const { return flags.isSet(SHARED); } |
513 514 // Special control flags | 513 514 // Special control flags |
515 void setExpressSnoop() { flags.set(EXPRESS_SNOOP); } 516 bool isExpressSnoop() { return flags.isSet(EXPRESS_SNOOP); } 517 void setSupplyExclusive() { flags.set(SUPPLY_EXCLUSIVE); } 518 void clearSupplyExclusive() { flags.clear(SUPPLY_EXCLUSIVE); } 519 bool isSupplyExclusive() { return flags.isSet(SUPPLY_EXCLUSIVE); } 520 void setSuppressFuncError() { flags.set(SUPPRESS_FUNC_ERROR); } 521 bool suppressFuncError() { return flags.isSet(SUPPRESS_FUNC_ERROR); } | 515 void setExpressSnoop() { flags.set(EXPRESS_SNOOP); } 516 bool isExpressSnoop() const { return flags.isSet(EXPRESS_SNOOP); } 517 void setSupplyExclusive() { flags.set(SUPPLY_EXCLUSIVE); } 518 void clearSupplyExclusive() { flags.clear(SUPPLY_EXCLUSIVE); } 519 bool isSupplyExclusive() const { return flags.isSet(SUPPLY_EXCLUSIVE); } 520 void setSuppressFuncError() { flags.set(SUPPRESS_FUNC_ERROR); } 521 bool suppressFuncError() const { return flags.isSet(SUPPRESS_FUNC_ERROR); } |
522 523 // Network error conditions... encapsulate them as methods since 524 // their encoding keeps changing (from result field to command 525 // field, etc.) 526 void 527 setBadAddress() 528 { 529 assert(isResponse()); --- 407 unchanged lines hidden --- | 522 523 // Network error conditions... encapsulate them as methods since 524 // their encoding keeps changing (from result field to command 525 // field, etc.) 526 void 527 setBadAddress() 528 { 529 assert(isResponse()); --- 407 unchanged lines hidden --- |