display.cc revision 14283
13999Ssaidi@eecs.umich.edu/* 23395Shsul@eecs.umich.edu * Copyright (c) 2019 ARM Limited 33395Shsul@eecs.umich.edu * All rights reserved 43395Shsul@eecs.umich.edu * 53395Shsul@eecs.umich.edu * The license below extends only to copyright in the software and shall 63395Shsul@eecs.umich.edu * not be construed as granting a license to any other intellectual 73395Shsul@eecs.umich.edu * property including but not limited to intellectual property relating 83395Shsul@eecs.umich.edu * to a hardware implementation of the functionality of the software 93395Shsul@eecs.umich.edu * licensed hereunder. You may use the software subject to the license 103395Shsul@eecs.umich.edu * terms below provided that you ensure that this notice is replicated 113395Shsul@eecs.umich.edu * unmodified and in its entirety in all distributions of the software, 123395Shsul@eecs.umich.edu * modified or unmodified, in source code or in binary form. 133395Shsul@eecs.umich.edu * 143395Shsul@eecs.umich.edu * Redistribution and use in source and binary forms, with or without 153395Shsul@eecs.umich.edu * modification, are permitted provided that the following conditions are 163395Shsul@eecs.umich.edu * met: redistributions of source code must retain the above copyright 173395Shsul@eecs.umich.edu * notice, this list of conditions and the following disclaimer; 183395Shsul@eecs.umich.edu * redistributions in binary form must reproduce the above copyright 193395Shsul@eecs.umich.edu * notice, this list of conditions and the following disclaimer in the 203395Shsul@eecs.umich.edu * documentation and/or other materials provided with the distribution; 213395Shsul@eecs.umich.edu * neither the name of the copyright holders nor the names of its 223395Shsul@eecs.umich.edu * contributors may be used to endorse or promote products derived from 233395Shsul@eecs.umich.edu * this software without specific prior written permission. 243395Shsul@eecs.umich.edu * 253395Shsul@eecs.umich.edu * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 263395Shsul@eecs.umich.edu * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 273395Shsul@eecs.umich.edu * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 283395Shsul@eecs.umich.edu * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 293395Shsul@eecs.umich.edu * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 303509Shsul@eecs.umich.edu * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 313395Shsul@eecs.umich.edu * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 323395Shsul@eecs.umich.edu * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 333395Shsul@eecs.umich.edu * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 343448Shsul@eecs.umich.edu * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 353395Shsul@eecs.umich.edu * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 363481Shsul@eecs.umich.edu * 373481Shsul@eecs.umich.edu * Authors: Giacomo Travaglini 383481Shsul@eecs.umich.edu */ 393481Shsul@eecs.umich.edu 403481Shsul@eecs.umich.edu#include "dev/arm/display.hh" 413481Shsul@eecs.umich.edu 423681Sktlim@umich.edu#include "params/Display.hh" 433681Sktlim@umich.edu 443681Sktlim@umich.eduDisplay::Display(const DisplayParams *p) 453481Shsul@eecs.umich.edu : SimObject(p) 463481Shsul@eecs.umich.edu{} 473481Shsul@eecs.umich.edu 483481Shsul@eecs.umich.eduDisplay * 493481Shsul@eecs.umich.eduDisplayParams::create() 503481Shsul@eecs.umich.edu{ 513481Shsul@eecs.umich.edu return new Display(this); 523481Shsul@eecs.umich.edu} 533481Shsul@eecs.umich.edu