sub_system.hh revision 11420
110268SGeoffrey.Blake@arm.com/* 210268SGeoffrey.Blake@arm.com * Copyright (c) 2014 ARM Limited 310268SGeoffrey.Blake@arm.com * All rights reserved 410268SGeoffrey.Blake@arm.com * 510268SGeoffrey.Blake@arm.com * The license below extends only to copyright in the software and shall 610268SGeoffrey.Blake@arm.com * not be construed as granting a license to any other intellectual 710268SGeoffrey.Blake@arm.com * property including but not limited to intellectual property relating 810268SGeoffrey.Blake@arm.com * to a hardware implementation of the functionality of the software 910268SGeoffrey.Blake@arm.com * licensed hereunder. You may use the software subject to the license 1010268SGeoffrey.Blake@arm.com * terms below provided that you ensure that this notice is replicated 1110268SGeoffrey.Blake@arm.com * unmodified and in its entirety in all distributions of the software, 1210268SGeoffrey.Blake@arm.com * modified or unmodified, in source code or in binary form. 1310268SGeoffrey.Blake@arm.com * 1410268SGeoffrey.Blake@arm.com * Redistribution and use in source and binary forms, with or without 1510268SGeoffrey.Blake@arm.com * modification, are permitted provided that the following conditions are 1610268SGeoffrey.Blake@arm.com * met: redistributions of source code must retain the above copyright 1710268SGeoffrey.Blake@arm.com * notice, this list of conditions and the following disclaimer; 1810268SGeoffrey.Blake@arm.com * redistributions in binary form must reproduce the above copyright 1910268SGeoffrey.Blake@arm.com * notice, this list of conditions and the following disclaimer in the 2010268SGeoffrey.Blake@arm.com * documentation and/or other materials provided with the distribution; 2110268SGeoffrey.Blake@arm.com * neither the name of the copyright holders nor the names of its 2210268SGeoffrey.Blake@arm.com * contributors may be used to endorse or promote products derived from 2310268SGeoffrey.Blake@arm.com * this software without specific prior written permission. 2410268SGeoffrey.Blake@arm.com * 2510268SGeoffrey.Blake@arm.com * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 2610268SGeoffrey.Blake@arm.com * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 2710268SGeoffrey.Blake@arm.com * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 2810268SGeoffrey.Blake@arm.com * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 2910268SGeoffrey.Blake@arm.com * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 3010268SGeoffrey.Blake@arm.com * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 3110268SGeoffrey.Blake@arm.com * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 3210268SGeoffrey.Blake@arm.com * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 3310268SGeoffrey.Blake@arm.com * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 3410268SGeoffrey.Blake@arm.com * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 3510268SGeoffrey.Blake@arm.com * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 3610268SGeoffrey.Blake@arm.com * 3710268SGeoffrey.Blake@arm.com * Authors: Geoffrey Blake 3810268SGeoffrey.Blake@arm.com */ 3910268SGeoffrey.Blake@arm.com 4010268SGeoffrey.Blake@arm.com/** 4110268SGeoffrey.Blake@arm.com * @file 4210268SGeoffrey.Blake@arm.com * SubSystem declarations. 4310268SGeoffrey.Blake@arm.com */ 4410268SGeoffrey.Blake@arm.com 4510268SGeoffrey.Blake@arm.com#ifndef __SIM_SUB_SYSTEM_HH__ 4610268SGeoffrey.Blake@arm.com#define __SIM_SUB_SYSTEM_HH__ 4710268SGeoffrey.Blake@arm.com 4811420Sdavid.guillen@arm.com#include "params/SubSystem.hh" 4911420Sdavid.guillen@arm.com#include "sim/power/thermal_domain.hh" 5010268SGeoffrey.Blake@arm.com#include "sim/sim_object.hh" 5110268SGeoffrey.Blake@arm.com 5210268SGeoffrey.Blake@arm.com/** 5310268SGeoffrey.Blake@arm.com * The SubSystem simobject does nothing, it is just a container for 5410268SGeoffrey.Blake@arm.com * other simobjects used by the configuration system 5510268SGeoffrey.Blake@arm.com */ 5610268SGeoffrey.Blake@arm.comclass SubSystem : public SimObject 5710268SGeoffrey.Blake@arm.com{ 5810268SGeoffrey.Blake@arm.com public: 5911420Sdavid.guillen@arm.com typedef SubSystemParams Params; 6011420Sdavid.guillen@arm.com SubSystem(const Params *p); 6110268SGeoffrey.Blake@arm.com}; 6210268SGeoffrey.Blake@arm.com 6310268SGeoffrey.Blake@arm.com#endif 64