dummy_checker.hh revision 9340
19340SAndreas.Sandberg@arm.com/* 29340SAndreas.Sandberg@arm.com * Copyright (c) 2011 ARM Limited 39340SAndreas.Sandberg@arm.com * All rights reserved 49340SAndreas.Sandberg@arm.com * 59340SAndreas.Sandberg@arm.com * The license below extends only to copyright in the software and shall 69340SAndreas.Sandberg@arm.com * not be construed as granting a license to any other intellectual 79340SAndreas.Sandberg@arm.com * property including but not limited to intellectual property relating 89340SAndreas.Sandberg@arm.com * to a hardware implementation of the functionality of the software 99340SAndreas.Sandberg@arm.com * licensed hereunder. You may use the software subject to the license 109340SAndreas.Sandberg@arm.com * terms below provided that you ensure that this notice is replicated 119340SAndreas.Sandberg@arm.com * unmodified and in its entirety in all distributions of the software, 129340SAndreas.Sandberg@arm.com * modified or unmodified, in source code or in binary form. 139340SAndreas.Sandberg@arm.com * 149340SAndreas.Sandberg@arm.com * Redistribution and use in source and binary forms, with or without 159340SAndreas.Sandberg@arm.com * modification, are permitted provided that the following conditions are 169340SAndreas.Sandberg@arm.com * met: redistributions of source code must retain the above copyright 179340SAndreas.Sandberg@arm.com * notice, this list of conditions and the following disclaimer; 189340SAndreas.Sandberg@arm.com * redistributions in binary form must reproduce the above copyright 199340SAndreas.Sandberg@arm.com * notice, this list of conditions and the following disclaimer in the 209340SAndreas.Sandberg@arm.com * documentation and/or other materials provided with the distribution; 219340SAndreas.Sandberg@arm.com * neither the name of the copyright holders nor the names of its 229340SAndreas.Sandberg@arm.com * contributors may be used to endorse or promote products derived from 239340SAndreas.Sandberg@arm.com * this software without specific prior written permission. 249340SAndreas.Sandberg@arm.com * 259340SAndreas.Sandberg@arm.com * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 269340SAndreas.Sandberg@arm.com * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 279340SAndreas.Sandberg@arm.com * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 289340SAndreas.Sandberg@arm.com * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 299340SAndreas.Sandberg@arm.com * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 309340SAndreas.Sandberg@arm.com * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 319340SAndreas.Sandberg@arm.com * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 329340SAndreas.Sandberg@arm.com * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 339340SAndreas.Sandberg@arm.com * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 349340SAndreas.Sandberg@arm.com * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 359340SAndreas.Sandberg@arm.com * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 369340SAndreas.Sandberg@arm.com * 379340SAndreas.Sandberg@arm.com * Authors: Geoffrey Blake 389340SAndreas.Sandberg@arm.com */ 399340SAndreas.Sandberg@arm.com 409340SAndreas.Sandberg@arm.com#ifndef __CPU_DUMMY_CHECKER_HH__ 419340SAndreas.Sandberg@arm.com#define __CPU_DUMMY_CHECKER_HH__ 429340SAndreas.Sandberg@arm.com 439340SAndreas.Sandberg@arm.com#include "cpu/checker/cpu.hh" 449340SAndreas.Sandberg@arm.com 459340SAndreas.Sandberg@arm.com/** 469340SAndreas.Sandberg@arm.com * Specific non-templated derived class used for SimObject configuration. 479340SAndreas.Sandberg@arm.com */ 489340SAndreas.Sandberg@arm.comclass DummyChecker : public CheckerCPU 499340SAndreas.Sandberg@arm.com{ 509340SAndreas.Sandberg@arm.com public: 519340SAndreas.Sandberg@arm.com DummyChecker(Params *p) 529340SAndreas.Sandberg@arm.com : CheckerCPU(p) 539340SAndreas.Sandberg@arm.com { } 549340SAndreas.Sandberg@arm.com}; 559340SAndreas.Sandberg@arm.com 569340SAndreas.Sandberg@arm.com#endif // __CPU_DUMMY_CHECKER_HH__ 57