kmi.cc (9808:13ffc0066b76) kmi.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

--- 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;
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 pkt->allocate();
73
72
74
75 uint32_t data = 0;
76
77 switch (daddr) {
78 case kmiCr:
79 DPRINTF(Pl050, "Read Commmand: %#x\n", (uint32_t)control);
80 data = control;
81 break;
82 case kmiStat:

--- 287 unchanged lines hidden ---
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 ---