pl111.cc (8508:eb52373b376b) | pl111.cc (8661:2d791d07c59b) |
---|---|
1/* 2 * Copyright (c) 2010 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 --- 53 unchanged lines hidden (view full) --- 62 clcdCrsrIcr(0), clcdCrsrRis(0), clcdCrsrMis(0), clock(p->clock), 63 vncserver(p->vnc), bmp(NULL), width(LcdMaxWidth), height(LcdMaxHeight), 64 bytesPerPixel(4), startTime(0), startAddr(0), maxAddr(0), curAddr(0), 65 waterMark(0), dmaPendingNum(0), readEvent(this), fillFifoEvent(this), 66 dmaDoneEvent(maxOutstandingDma, this), intEvent(this) 67{ 68 pioSize = 0xFFFF; 69 | 1/* 2 * Copyright (c) 2010 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 --- 53 unchanged lines hidden (view full) --- 62 clcdCrsrIcr(0), clcdCrsrRis(0), clcdCrsrMis(0), clock(p->clock), 63 vncserver(p->vnc), bmp(NULL), width(LcdMaxWidth), height(LcdMaxHeight), 64 bytesPerPixel(4), startTime(0), startAddr(0), maxAddr(0), curAddr(0), 65 waterMark(0), dmaPendingNum(0), readEvent(this), fillFifoEvent(this), 66 dmaDoneEvent(maxOutstandingDma, this), intEvent(this) 67{ 68 pioSize = 0xFFFF; 69 |
70 pic = simout.create("framebuffer.bmp", true); | 70 pic = simout.create(csprintf("%s.framebuffer.bmp", sys->name()), true); |
71 72 dmaBuffer = new uint8_t[LcdMaxWidth * LcdMaxHeight * sizeof(uint32_t)]; 73 74 memset(lcdPalette, 0, sizeof(lcdPalette)); 75 memset(cursorImage, 0, sizeof(cursorImage)); 76 memset(dmaBuffer, 0, sizeof(dmaBuffer)); 77 78 if (vncserver) --- 673 unchanged lines hidden --- | 71 72 dmaBuffer = new uint8_t[LcdMaxWidth * LcdMaxHeight * sizeof(uint32_t)]; 73 74 memset(lcdPalette, 0, sizeof(lcdPalette)); 75 memset(cursorImage, 0, sizeof(cursorImage)); 76 memset(dmaBuffer, 0, sizeof(dmaBuffer)); 77 78 if (vncserver) --- 673 unchanged lines hidden --- |