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 --- 55 unchanged lines hidden (view full) --- 64} 65 66Tick 67Pl050::read(PacketPtr pkt) 68{ 69 assert(pkt->getAddr() >= pioAddr && pkt->getAddr() < pioAddr + pioSize); 70 71 Addr daddr = pkt->getAddr() - pioAddr; |
72 |
73 uint32_t data = 0; 74 75 switch (daddr) { 76 case kmiCr: 77 DPRINTF(Pl050, "Read Commmand: %#x\n", (uint32_t)control); 78 data = control; 79 break; 80 case kmiStat: --- 287 unchanged lines hidden --- |