a9scu.cc (11793:ef606668d247) a9scu.cc (12049:4b84e1630866)
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

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

91A9SCU::write(PacketPtr pkt)
92{
93 assert(pkt->getAddr() >= pioAddr && pkt->getAddr() < pioAddr + pioSize);
94
95 Addr daddr = pkt->getAddr() - pioAddr;
96 switch (daddr) {
97 default:
98 // Nothing implemented at this point
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

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

91A9SCU::write(PacketPtr pkt)
92{
93 assert(pkt->getAddr() >= pioAddr && pkt->getAddr() < pioAddr + pioSize);
94
95 Addr daddr = pkt->getAddr() - pioAddr;
96 switch (daddr) {
97 default:
98 // Nothing implemented at this point
99 panic("Tried to write SCU at offset %#x\n", daddr);
99 warn("Tried to write SCU at offset %#x\n", daddr);
100 break;
101 }
102 pkt->makeAtomicResponse();
103 return pioDelay;
104}
105
106A9SCU *
107A9SCUParams::create()
108{
109 return new A9SCU(this);
110}
100 break;
101 }
102 pkt->makeAtomicResponse();
103 return pioDelay;
104}
105
106A9SCU *
107A9SCUParams::create()
108{
109 return new A9SCU(this);
110}