src/cpu/utils.hh
/**
 * Returns true if the given memory access (address, size) needs to be
 * fragmented across aligned fixed-size blocks.
 * @param addr Address of the memory access.
 * @param size Size of the memory access.
 * @param block_size Block size in bytes.
 * @return True if the memory access needs to be fragmented.
 */
Returns true if the given memory access (address, size) needs to be
fragmented across aligned fixed-size blocks.
@param addr Address of the memory access.
@param size Size of the memory access.
@param block_size Block size in bytes.
@return True if the memory access needs to be fragmented.
Returns true if the given memory access ( address size ) needs to be fragmented across aligned fixed - size blocks . @param addr Address of the memory access . @param size Size of the memory access . @param block_size Block size in bytes . @return True if the memory access needs to be fragmented .
inline bool
transferNeedsBurst(Addr addr, unsigned int size, unsigned int block_size)
{
    return (addrBlockOffset(addr, block_size) + size) > block_size;
}
inline bool transferNeedsBurst ( Addr addr , unsigned int size , unsigned int block_size ) { return ( addrBlockOffset ( addr , block_size ) + size ) > block_size ; }
Returns true if the given memory access (address, size) needs to be
 fragmented across aligned fixed-size blocks.
Returns true if the given memory access ( address size ) needs to be fragmented across aligned fixed - size blocks .