hdlcd.cc (9939:735d73e394d3) | hdlcd.cc (10565:23593fdaadcd) |
---|---|
1/* 2 * Copyright (c) 2010-2013 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 100 DPRINTF(HDLcd, "read register BASE+0x%04x size=%d\n", daddr, 101 pkt->getSize()); 102 103 assert(pkt->getAddr() >= pioAddr && 104 pkt->getAddr() < pioAddr + pioSize && 105 pkt->getSize() == 4); 106 | 1/* 2 * Copyright (c) 2010-2013 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 100 DPRINTF(HDLcd, "read register BASE+0x%04x size=%d\n", daddr, 101 pkt->getSize()); 102 103 assert(pkt->getAddr() >= pioAddr && 104 pkt->getAddr() < pioAddr + pioSize && 105 pkt->getSize() == 4); 106 |
107 pkt->allocate(); 108 | |
109 switch (daddr) { 110 case Version: 111 data = version; 112 break; 113 case Int_RawStat: 114 data = int_rawstat; 115 break; 116 case Int_Clear: --- 743 unchanged lines hidden --- | 107 switch (daddr) { 108 case Version: 109 data = version; 110 break; 111 case Int_RawStat: 112 data = int_rawstat; 113 break; 114 case Int_Clear: --- 743 unchanged lines hidden --- |