1/* 2 * Copyright (c) 2010-2013, 2015 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 81 unchanged lines hidden (view full) --- 90 vnc->setFrameBuffer(&pixelPump.fb); 91} 92 93HDLcd::~HDLcd() 94{ 95} 96 97void |
98HDLcd::regStats() 99{ 100 using namespace Stats; 101 102 stats.underruns 103 .name(name() + ".underruns") 104 .desc("number of buffer underruns") 105 .flags(nozero) 106 ; 107} 108 109void |
110HDLcd::serialize(CheckpointOut &cp) const 111{ 112 DPRINTF(Checkpoint, "Serializing ARM HDLCD\n"); 113 114 SERIALIZE_SCALAR(int_rawstat); 115 SERIALIZE_SCALAR(int_mask); 116 117 SERIALIZE_SCALAR(fb_base); --- 392 unchanged lines hidden (view full) --- 510 DPRINTF(HDLcd, "End of VSYNC, starting DMA engine\n"); 511 dmaEngine->startFrame(fb_base); 512} 513 514void 515HDLcd::pxlUnderrun() 516{ 517 DPRINTF(HDLcd, "Buffer underrun, stopping DMA fill.\n"); |
518 ++stats.underruns; |
519 intRaise(INT_UNDERRUN); 520 dmaEngine->abortFrame(); 521} 522 523void 524HDLcd::pxlFrameDone() 525{ 526 DPRINTF(HDLcd, "Reached end of last visible line.\n"); --- 138 unchanged lines hidden --- |