DataBlock.cc (6145:15cca6ab723a) | DataBlock.cc (6154:6bb54dcb940e) |
---|---|
1 2/* 3 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 */ 29 30/* 31 * $Id$ 32 */ 33 | 1 2/* 3 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 */ 29 30/* 31 * $Id$ 32 */ 33 |
34#include "DataBlock.hh" | 34#include "mem/ruby/common/DataBlock.hh" |
35 36DataBlock::DataBlock() 37{ 38 if (DATA_BLOCK || XACT_MEMORY) { 39 m_data.setSize(RubyConfig::dataBlockBytes()); 40 } 41 clear(); 42} --- 49 unchanged lines hidden --- | 35 36DataBlock::DataBlock() 37{ 38 if (DATA_BLOCK || XACT_MEMORY) { 39 m_data.setSize(RubyConfig::dataBlockBytes()); 40 } 41 clear(); 42} --- 49 unchanged lines hidden --- |