kmi.cc (12772:362544959c40) kmi.cc (13230:2988dc5d1d6f)
1/*
2 * Copyright (c) 2010, 2017-2018 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

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

93 case kmiISR:
94 data = getInterrupt();
95 DPRINTF(Pl050, "Read Interrupts: %#x\n", getInterrupt());
96 break;
97
98 default:
99 if (readId(pkt, ambaId, pioAddr)) {
100 // Hack for variable size accesses
1/*
2 * Copyright (c) 2010, 2017-2018 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

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

93 case kmiISR:
94 data = getInterrupt();
95 DPRINTF(Pl050, "Read Interrupts: %#x\n", getInterrupt());
96 break;
97
98 default:
99 if (readId(pkt, ambaId, pioAddr)) {
100 // Hack for variable size accesses
101 data = pkt->get();
101 data = pkt->getLE<uint32_t>();
102 break;
103 }
104
105 warn("Tried to read PL050 at offset %#x that doesn't exist\n", daddr);
106 break;
107 }
108
109 pkt->setUintX(data, LittleEndianByteOrder);

--- 121 unchanged lines hidden ---
102 break;
103 }
104
105 warn("Tried to read PL050 at offset %#x that doesn't exist\n", daddr);
106 break;
107 }
108
109 pkt->setUintX(data, LittleEndianByteOrder);

--- 121 unchanged lines hidden ---