system.cc (11234:c273990ed9bf) system.cc (11494:203040f5bc5e)
1/*
2 * Copyright (c) 2010, 2012-2013, 2015 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

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

214 ArmSystem *a_sys = dynamic_cast<ArmSystem *>(tc->getSystemPtr());
215 assert(a_sys);
216 return a_sys->haveVirtualization();
217}
218
219bool
220ArmSystem::highestELIs64(ThreadContext *tc)
221{
1/*
2 * Copyright (c) 2010, 2012-2013, 2015 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

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

214 ArmSystem *a_sys = dynamic_cast<ArmSystem *>(tc->getSystemPtr());
215 assert(a_sys);
216 return a_sys->haveVirtualization();
217}
218
219bool
220ArmSystem::highestELIs64(ThreadContext *tc)
221{
222 return dynamic_cast<ArmSystem *>(tc->getSystemPtr())->highestELIs64();
222 return FullSystem ?
223 dynamic_cast<ArmSystem *>(tc->getSystemPtr())->highestELIs64() :
224 true;
223}
224
225ExceptionLevel
226ArmSystem::highestEL(ThreadContext *tc)
227{
225}
226
227ExceptionLevel
228ArmSystem::highestEL(ThreadContext *tc)
229{
228 return dynamic_cast<ArmSystem *>(tc->getSystemPtr())->highestEL();
230 return FullSystem ?
231 dynamic_cast<ArmSystem *>(tc->getSystemPtr())->highestEL() :
232 EL1;
229}
230
231Addr
232ArmSystem::resetAddr64(ThreadContext *tc)
233{
234 return dynamic_cast<ArmSystem *>(tc->getSystemPtr())->resetAddr64();
235}
236

--- 40 unchanged lines hidden ---
233}
234
235Addr
236ArmSystem::resetAddr64(ThreadContext *tc)
237{
238 return dynamic_cast<ArmSystem *>(tc->getSystemPtr())->resetAddr64();
239}
240

--- 40 unchanged lines hidden ---