packet.hh (13348:e3d801b37735) packet.hh (13350:247e4108a5e8)
1/*
2 * Copyright (c) 2012-2018 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

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

548 MemCmd resp_cmd = cmd.responseCommand();
549 return resp_cmd.hasData();
550 }
551 bool isLLSC() const { return cmd.isLLSC(); }
552 bool isError() const { return cmd.isError(); }
553 bool isPrint() const { return cmd.isPrint(); }
554 bool isFlush() const { return cmd.isFlush(); }
555
1/*
2 * Copyright (c) 2012-2018 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

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

548 MemCmd resp_cmd = cmd.responseCommand();
549 return resp_cmd.hasData();
550 }
551 bool isLLSC() const { return cmd.isLLSC(); }
552 bool isError() const { return cmd.isError(); }
553 bool isPrint() const { return cmd.isPrint(); }
554 bool isFlush() const { return cmd.isFlush(); }
555
556 bool isWholeLineWrite(unsigned blk_size)
557 {
558 return (cmd == MemCmd::WriteReq || cmd == MemCmd::WriteLineReq) &&
559 getOffset(blk_size) == 0 && getSize() == blk_size;
560 }
561
556 //@{
557 /// Snoop flags
558 /**
559 * Set the cacheResponding flag. This is used by the caches to
560 * signal another cache that they are responding to a request. A
561 * cache will only respond to snoops if it has the line in either
562 * Modified or Owned state. Note that on snoop hits we always pass
563 * the line as Modified and never Owned. In the case of an Owned

--- 711 unchanged lines hidden ---
562 //@{
563 /// Snoop flags
564 /**
565 * Set the cacheResponding flag. This is used by the caches to
566 * signal another cache that they are responding to a request. A
567 * cache will only respond to snoops if it has the line in either
568 * Modified or Owned state. Note that on snoop hits we always pass
569 * the line as Modified and never Owned. In the case of an Owned

--- 711 unchanged lines hidden ---