system.cc (10537:47fe87b0cf97) system.cc (10810:683ab55819fd)
1/*
2 * Copyright (c) 2010, 2012-2013 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

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

239 return dynamic_cast<ArmSystem *>(tc->getSystemPtr())->physAddrMask();
240}
241
242bool
243ArmSystem::haveLargeAsid64(ThreadContext *tc)
244{
245 return dynamic_cast<ArmSystem *>(tc->getSystemPtr())->haveLargeAsid64();
246}
1/*
2 * Copyright (c) 2010, 2012-2013 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

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

239 return dynamic_cast<ArmSystem *>(tc->getSystemPtr())->physAddrMask();
240}
241
242bool
243ArmSystem::haveLargeAsid64(ThreadContext *tc)
244{
245 return dynamic_cast<ArmSystem *>(tc->getSystemPtr())->haveLargeAsid64();
246}
247
247ArmSystem *
248ArmSystemParams::create()
249{
250 return new ArmSystem(this);
251}
248ArmSystem *
249ArmSystemParams::create()
250{
251 return new ArmSystem(this);
252}
253
254void
255GenericArmSystem::initState()
256{
257 // Moved from the constructor to here since it relies on the
258 // address map being resolved in the interconnect
259
260 // Call the initialisation of the super class
261 ArmSystem::initState();
262}
263
264GenericArmSystem *
265GenericArmSystemParams::create()
266{
267
268 return new GenericArmSystem(this);
269}