hdlcd.cc (11090:f37a6b82f98f) | hdlcd.cc (11091:62e1504b9c64) |
---|---|
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 | 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 |
|
98HDLcd::serialize(CheckpointOut &cp) const 99{ 100 DPRINTF(Checkpoint, "Serializing ARM HDLCD\n"); 101 102 SERIALIZE_SCALAR(int_rawstat); 103 SERIALIZE_SCALAR(int_mask); 104 105 SERIALIZE_SCALAR(fb_base); --- 392 unchanged lines hidden (view full) --- 498 DPRINTF(HDLcd, "End of VSYNC, starting DMA engine\n"); 499 dmaEngine->startFrame(fb_base); 500} 501 502void 503HDLcd::pxlUnderrun() 504{ 505 DPRINTF(HDLcd, "Buffer underrun, stopping DMA fill.\n"); | 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; |
|
506 intRaise(INT_UNDERRUN); 507 dmaEngine->abortFrame(); 508} 509 510void 511HDLcd::pxlFrameDone() 512{ 513 DPRINTF(HDLcd, "Reached end of last visible line.\n"); --- 138 unchanged lines hidden --- | 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 --- |