system.cc (13173:210b6fc57533) system.cc (13396:23277eaae855)
1/*
2 * Copyright (c) 2010, 2012-2013, 2015,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

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

58ArmSystem::ArmSystem(Params *p)
59 : System(p),
60 bootLoaders(), bootldr(nullptr),
61 _haveSecurity(p->have_security),
62 _haveLPAE(p->have_lpae),
63 _haveVirtualization(p->have_virtualization),
64 _haveCrypto(p->have_crypto),
65 _genericTimer(nullptr),
1/*
2 * Copyright (c) 2010, 2012-2013, 2015,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

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

58ArmSystem::ArmSystem(Params *p)
59 : System(p),
60 bootLoaders(), bootldr(nullptr),
61 _haveSecurity(p->have_security),
62 _haveLPAE(p->have_lpae),
63 _haveVirtualization(p->have_virtualization),
64 _haveCrypto(p->have_crypto),
65 _genericTimer(nullptr),
66 _resetAddr(p->auto_reset_addr ?
67 (kernelEntry & loadAddrMask) + loadAddrOffset :
68 p->reset_addr),
66 _highestELIs64(p->highest_el_is_64),
69 _highestELIs64(p->highest_el_is_64),
67 _resetAddr64(p->auto_reset_addr_64 ?
68 (kernelEntry & loadAddrMask) + loadAddrOffset :
69 p->reset_addr_64),
70 _physAddrRange64(p->phys_addr_range_64),
71 _haveLargeAsid64(p->have_large_asid_64),
72 _m5opRange(p->m5ops_base ?
73 RangeSize(p->m5ops_base, 0x10000) :
74 AddrRange(1, 0)), // Create an empty range if disabled
75 semihosting(p->semihosting),
76 multiProc(p->multi_proc)
77{

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

243 return haveSecurity(tc);
244 default:
245 warn("Unimplemented Exception Level\n");
246 return false;
247 }
248}
249
250Addr
70 _physAddrRange64(p->phys_addr_range_64),
71 _haveLargeAsid64(p->have_large_asid_64),
72 _m5opRange(p->m5ops_base ?
73 RangeSize(p->m5ops_base, 0x10000) :
74 AddrRange(1, 0)), // Create an empty range if disabled
75 semihosting(p->semihosting),
76 multiProc(p->multi_proc)
77{

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

243 return haveSecurity(tc);
244 default:
245 warn("Unimplemented Exception Level\n");
246 return false;
247 }
248}
249
250Addr
251ArmSystem::resetAddr64(ThreadContext *tc)
251ArmSystem::resetAddr(ThreadContext *tc)
252{
252{
253 return getArmSystem(tc)->resetAddr64();
253 return getArmSystem(tc)->resetAddr();
254}
255
256uint8_t
257ArmSystem::physAddrRange(ThreadContext *tc)
258{
259 return getArmSystem(tc)->physAddrRange();
260}
261

--- 56 unchanged lines hidden ---
254}
255
256uint8_t
257ArmSystem::physAddrRange(ThreadContext *tc)
258{
259 return getArmSystem(tc)->physAddrRange();
260}
261

--- 56 unchanged lines hidden ---