kmi.cc (9330:4a3269a11230) kmi.cc (9806:3f262c18ad5d)
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

--- 94 unchanged lines hidden (view full) ---

103 case kmiClkDiv:
104 data = clkdiv;
105 break;
106 case kmiISR:
107 data = interrupts;
108 DPRINTF(Pl050, "Read Interrupts: %#x\n", (uint32_t)interrupts);
109 break;
110 default:
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

--- 94 unchanged lines hidden (view full) ---

103 case kmiClkDiv:
104 data = clkdiv;
105 break;
106 case kmiISR:
107 data = interrupts;
108 DPRINTF(Pl050, "Read Interrupts: %#x\n", (uint32_t)interrupts);
109 break;
110 default:
111 if (AmbaDev::readId(pkt, ambaId, pioAddr)) {
111 if (readId(pkt, ambaId, pioAddr)) {
112 // Hack for variable size accesses
113 data = pkt->get<uint32_t>();
114 break;
115 }
116
117 warn("Tried to read PL050 at offset %#x that doesn't exist\n", daddr);
118 break;
119 }

--- 252 unchanged lines hidden ---
112 // Hack for variable size accesses
113 data = pkt->get<uint32_t>();
114 break;
115 }
116
117 warn("Tried to read PL050 at offset %#x that doesn't exist\n", daddr);
118 break;
119 }

--- 252 unchanged lines hidden ---