pl011.cc (9927:9a41f7f07da5) | pl011.cc (10565:23593fdaadcd) |
---|---|
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 --- 50 unchanged lines hidden (view full) --- 59} 60 61Tick 62Pl011::read(PacketPtr pkt) 63{ 64 assert(pkt->getAddr() >= pioAddr && pkt->getAddr() < pioAddr + pioSize); 65 66 Addr daddr = pkt->getAddr() - pioAddr; | 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 --- 50 unchanged lines hidden (view full) --- 59} 60 61Tick 62Pl011::read(PacketPtr pkt) 63{ 64 assert(pkt->getAddr() >= pioAddr && pkt->getAddr() < pioAddr + pioSize); 65 66 Addr daddr = pkt->getAddr() - pioAddr; |
67 pkt->allocate(); | |
68 69 DPRINTF(Uart, " read register %#x size=%d\n", daddr, pkt->getSize()); 70 71 // use a temporary data since the uart registers are read/written with 72 // different size operations 73 // 74 uint32_t data = 0; 75 --- 259 unchanged lines hidden --- | 67 68 DPRINTF(Uart, " read register %#x size=%d\n", daddr, pkt->getSize()); 69 70 // use a temporary data since the uart registers are read/written with 71 // different size operations 72 // 73 uint32_t data = 0; 74 --- 259 unchanged lines hidden --- |