request.hh (10024:fc10e1f9f124) request.hh (10028:fb8c44de891a)
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

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

135 static const FlagsType PF_EXCLUSIVE = 0x02000000;
136 /** The request should be marked as LRU. */
137 static const FlagsType EVICT_NEXT = 0x04000000;
138
139 /** The request should be handled by the generic IPR code (only
140 * valid together with MMAPPED_IPR) */
141 static const FlagsType GENERIC_IPR = 0x08000000;
142
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

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

135 static const FlagsType PF_EXCLUSIVE = 0x02000000;
136 /** The request should be marked as LRU. */
137 static const FlagsType EVICT_NEXT = 0x04000000;
138
139 /** The request should be handled by the generic IPR code (only
140 * valid together with MMAPPED_IPR) */
141 static const FlagsType GENERIC_IPR = 0x08000000;
142
143 /** The request targets the secure memory space. */
144 static const FlagsType SECURE = 0x10000000;
145
143 /** These flags are *not* cleared when a Request object is reused
144 (assigned a new address). */
145 static const FlagsType STICKY_FLAGS = INST_FETCH;
146
147 /** Request Ids that are statically allocated
148 * @{*/
149 /** This request id is used for writeback requests by the caches */
150 static const MasterID wbMasterId = 0;

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

607 bool isPrefetch() const { return _flags.isSet(PREFETCH); }
608 bool isLLSC() const { return _flags.isSet(LLSC); }
609 bool isPriv() const { return _flags.isSet(PRIVILEGED); }
610 bool isLocked() const { return _flags.isSet(LOCKED); }
611 bool isSwap() const { return _flags.isSet(MEM_SWAP|MEM_SWAP_COND); }
612 bool isCondSwap() const { return _flags.isSet(MEM_SWAP_COND); }
613 bool isMmappedIpr() const { return _flags.isSet(MMAPPED_IPR); }
614 bool isClearLL() const { return _flags.isSet(CLEAR_LL); }
146 /** These flags are *not* cleared when a Request object is reused
147 (assigned a new address). */
148 static const FlagsType STICKY_FLAGS = INST_FETCH;
149
150 /** Request Ids that are statically allocated
151 * @{*/
152 /** This request id is used for writeback requests by the caches */
153 static const MasterID wbMasterId = 0;

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

610 bool isPrefetch() const { return _flags.isSet(PREFETCH); }
611 bool isLLSC() const { return _flags.isSet(LLSC); }
612 bool isPriv() const { return _flags.isSet(PRIVILEGED); }
613 bool isLocked() const { return _flags.isSet(LOCKED); }
614 bool isSwap() const { return _flags.isSet(MEM_SWAP|MEM_SWAP_COND); }
615 bool isCondSwap() const { return _flags.isSet(MEM_SWAP_COND); }
616 bool isMmappedIpr() const { return _flags.isSet(MMAPPED_IPR); }
617 bool isClearLL() const { return _flags.isSet(CLEAR_LL); }
618 bool isSecure() const { return _flags.isSet(SECURE); }
615};
616
617#endif // __MEM_REQUEST_HH__
619};
620
621#endif // __MEM_REQUEST_HH__