pl111.cc (10367:bf52480abd01) | pl111.cc (10565:23593fdaadcd) |
---|---|
1/* 2 * Copyright (c) 2010-2012 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 --- 90 unchanged lines hidden (view full) --- 99 // different size operations 100 101 uint32_t data = 0; 102 103 assert(pkt->getAddr() >= pioAddr && 104 pkt->getAddr() < pioAddr + pioSize); 105 106 Addr daddr = pkt->getAddr() - pioAddr; | 1/* 2 * Copyright (c) 2010-2012 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 --- 90 unchanged lines hidden (view full) --- 99 // different size operations 100 101 uint32_t data = 0; 102 103 assert(pkt->getAddr() >= pioAddr && 104 pkt->getAddr() < pioAddr + pioSize); 105 106 Addr daddr = pkt->getAddr() - pioAddr; |
107 pkt->allocate(); | |
108 109 DPRINTF(PL111, " read register %#x size=%d\n", daddr, pkt->getSize()); 110 111 switch (daddr) { 112 case LcdTiming0: 113 data = lcdTiming0; 114 break; 115 case LcdTiming1: --- 642 unchanged lines hidden --- | 107 108 DPRINTF(PL111, " read register %#x size=%d\n", daddr, pkt->getSize()); 109 110 switch (daddr) { 111 case LcdTiming0: 112 data = lcdTiming0; 113 break; 114 case LcdTiming1: --- 642 unchanged lines hidden --- |