packet.hh (10566:c99c8d2a7c31) packet.hh (10567:926802ed1536)
1/*
2 * Copyright (c) 2012-2014 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

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

499 bool isInvalidate() const { return cmd.isInvalidate(); }
500 bool hasData() const { return cmd.hasData(); }
501 bool isLLSC() const { return cmd.isLLSC(); }
502 bool isError() const { return cmd.isError(); }
503 bool isPrint() const { return cmd.isPrint(); }
504 bool isFlush() const { return cmd.isFlush(); }
505
506 // Snoop flags
1/*
2 * Copyright (c) 2012-2014 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

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

499 bool isInvalidate() const { return cmd.isInvalidate(); }
500 bool hasData() const { return cmd.hasData(); }
501 bool isLLSC() const { return cmd.isLLSC(); }
502 bool isError() const { return cmd.isError(); }
503 bool isPrint() const { return cmd.isPrint(); }
504 bool isFlush() const { return cmd.isFlush(); }
505
506 // Snoop flags
507 void assertMemInhibit() { flags.set(MEM_INHIBIT); }
507 void assertMemInhibit()
508 {
509 assert(isRequest());
510 assert(!flags.isSet(MEM_INHIBIT));
511 flags.set(MEM_INHIBIT);
512 }
508 bool memInhibitAsserted() const { return flags.isSet(MEM_INHIBIT); }
509 void assertShared() { flags.set(SHARED); }
510 bool sharedAsserted() const { return flags.isSet(SHARED); }
511
512 // Special control flags
513 void setExpressSnoop() { flags.set(EXPRESS_SNOOP); }
514 bool isExpressSnoop() const { return flags.isSet(EXPRESS_SNOOP); }
515 void setSupplyExclusive() { flags.set(SUPPLY_EXCLUSIVE); }

--- 481 unchanged lines hidden ---
513 bool memInhibitAsserted() const { return flags.isSet(MEM_INHIBIT); }
514 void assertShared() { flags.set(SHARED); }
515 bool sharedAsserted() const { return flags.isSet(SHARED); }
516
517 // Special control flags
518 void setExpressSnoop() { flags.set(EXPRESS_SNOOP); }
519 bool isExpressSnoop() const { return flags.isSet(EXPRESS_SNOOP); }
520 void setSupplyExclusive() { flags.set(SUPPLY_EXCLUSIVE); }

--- 481 unchanged lines hidden ---