system.cc (12318:1402d90f344f) | system.cc (12525:2959af162048) |
---|---|
1/* | 1/* |
2 * Copyright (c) 2010, 2012-2013, 2015,2017 ARM Limited | 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 9 * licensed hereunder. You may use the software subject to the license 10 * terms below provided that you ensure that this notice is replicated --- 46 unchanged lines hidden (view full) --- 57ArmSystem::ArmSystem(Params *p) 58 : System(p), 59 bootLoaders(), bootldr(nullptr), 60 _haveSecurity(p->have_security), 61 _haveLPAE(p->have_lpae), 62 _haveVirtualization(p->have_virtualization), 63 _genericTimer(nullptr), 64 _highestELIs64(p->highest_el_is_64), | 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 9 * licensed hereunder. You may use the software subject to the license 10 * terms below provided that you ensure that this notice is replicated --- 46 unchanged lines hidden (view full) --- 57ArmSystem::ArmSystem(Params *p) 58 : System(p), 59 bootLoaders(), bootldr(nullptr), 60 _haveSecurity(p->have_security), 61 _haveLPAE(p->have_lpae), 62 _haveVirtualization(p->have_virtualization), 63 _genericTimer(nullptr), 64 _highestELIs64(p->highest_el_is_64), |
65 _resetAddr64(p->reset_addr_64), | 65 _resetAddr64(p->auto_reset_addr_64 ? 66 (kernelEntry & loadAddrMask) + loadAddrOffset : 67 p->reset_addr_64), |
66 _physAddrRange64(p->phys_addr_range_64), 67 _haveLargeAsid64(p->have_large_asid_64), 68 _m5opRange(p->m5ops_base ? 69 RangeSize(p->m5ops_base, 0x10000) : 70 AddrRange(1, 0)), // Create an empty range if disabled 71 multiProc(p->multi_proc) 72{ 73 // Check if the physical address range is valid --- 217 unchanged lines hidden --- | 68 _physAddrRange64(p->phys_addr_range_64), 69 _haveLargeAsid64(p->have_large_asid_64), 70 _m5opRange(p->m5ops_base ? 71 RangeSize(p->m5ops_base, 0x10000) : 72 AddrRange(1, 0)), // Create an empty range if disabled 73 multiProc(p->multi_proc) 74{ 75 // Check if the physical address range is valid --- 217 unchanged lines hidden --- |