mem_object.hh revision 14261:134c8be7c1e5
14680Sgblack@eecs.umich.edu/* 25442Sgblack@eecs.umich.edu * Copyright (c) 2012 ARM Limited 34680Sgblack@eecs.umich.edu * All rights reserved 44680Sgblack@eecs.umich.edu * 54680Sgblack@eecs.umich.edu * The license below extends only to copyright in the software and shall 64680Sgblack@eecs.umich.edu * not be construed as granting a license to any other intellectual 74680Sgblack@eecs.umich.edu * property including but not limited to intellectual property relating 84680Sgblack@eecs.umich.edu * to a hardware implementation of the functionality of the software 94680Sgblack@eecs.umich.edu * licensed hereunder. You may use the software subject to the license 104680Sgblack@eecs.umich.edu * terms below provided that you ensure that this notice is replicated 114680Sgblack@eecs.umich.edu * unmodified and in its entirety in all distributions of the software, 124680Sgblack@eecs.umich.edu * modified or unmodified, in source code or in binary form. 134680Sgblack@eecs.umich.edu * 144680Sgblack@eecs.umich.edu * Copyright (c) 2002-2005 The Regents of The University of Michigan 154680Sgblack@eecs.umich.edu * All rights reserved. 164680Sgblack@eecs.umich.edu * 174680Sgblack@eecs.umich.edu * Redistribution and use in source and binary forms, with or without 184680Sgblack@eecs.umich.edu * modification, are permitted provided that the following conditions are 194680Sgblack@eecs.umich.edu * met: redistributions of source code must retain the above copyright 204680Sgblack@eecs.umich.edu * notice, this list of conditions and the following disclaimer; 214680Sgblack@eecs.umich.edu * redistributions in binary form must reproduce the above copyright 224680Sgblack@eecs.umich.edu * notice, this list of conditions and the following disclaimer in the 234680Sgblack@eecs.umich.edu * documentation and/or other materials provided with the distribution; 244680Sgblack@eecs.umich.edu * neither the name of the copyright holders nor the names of its 254680Sgblack@eecs.umich.edu * contributors may be used to endorse or promote products derived from 264680Sgblack@eecs.umich.edu * this software without specific prior written permission. 274680Sgblack@eecs.umich.edu * 284680Sgblack@eecs.umich.edu * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 294680Sgblack@eecs.umich.edu * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 304680Sgblack@eecs.umich.edu * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 314680Sgblack@eecs.umich.edu * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 324680Sgblack@eecs.umich.edu * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 334680Sgblack@eecs.umich.edu * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 3412491Sgabeblack@google.com * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 3512625Sgabeblack@google.com * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 3612450Sgabeblack@google.com * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 3712625Sgabeblack@google.com * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 3812450Sgabeblack@google.com * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 394680Sgblack@eecs.umich.edu * 404680Sgblack@eecs.umich.edu * Authors: Ron Dreslinski 415543Ssaidi@eecs.umich.edu * Andreas Hansson 424680Sgblack@eecs.umich.edu */ 434680Sgblack@eecs.umich.edu 444680Sgblack@eecs.umich.edu/** 454680Sgblack@eecs.umich.edu * @file 464680Sgblack@eecs.umich.edu * MemObject declaration. 474680Sgblack@eecs.umich.edu */ 484680Sgblack@eecs.umich.edu 4912450Sgabeblack@google.com#ifndef __MEM_MEM_OBJECT_HH__ 5012450Sgabeblack@google.com#define __MEM_MEM_OBJECT_HH__ 5112450Sgabeblack@google.com 5212450Sgabeblack@google.com#include "params/MemObject.hh" 5312450Sgabeblack@google.com#include "sim/clocked_object.hh" 5412450Sgabeblack@google.com 5512450Sgabeblack@google.com/** 5612450Sgabeblack@google.com * The MemObject class extends the ClockedObject for historical reasons. 5712450Sgabeblack@google.com */ 5812450Sgabeblack@google.comclass MemObject : public ClockedObject 5912450Sgabeblack@google.com{ 6012450Sgabeblack@google.com public: 6112465Sgabeblack@google.com M5_DEPRECATED_MSG( 6212465Sgabeblack@google.com "MemObject is deprecated. Use ClockedObject or SimObject instead") 6312465Sgabeblack@google.com MemObject(const MemObjectParams *params) : ClockedObject(params) 6412465Sgabeblack@google.com {} 6512450Sgabeblack@google.com}; 6612465Sgabeblack@google.com 6712465Sgabeblack@google.com#endif //__MEM_MEM_OBJECT_HH__ 6812465Sgabeblack@google.com