Deleted Added
sdiff udiff text old ( 13396:23277eaae855 ) new ( 13531:e6f1bf55d038 )
full compact
1/*
2 * Copyright (c) 2010, 2012-2013, 2015-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

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

49
50#include "kern/linux/events.hh"
51#include "params/ArmSystem.hh"
52#include "params/GenericArmSystem.hh"
53#include "sim/sim_object.hh"
54#include "sim/system.hh"
55
56class GenericTimer;
57class ThreadContext;
58
59class ArmSystem : public System
60{
61 protected:
62 /**
63 * PC based event to skip the dprink() call and emulate its
64 * functionality

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

92 * True if this system implements the Crypto Extension
93 */
94 const bool _haveCrypto;
95
96 /**
97 * Pointer to the Generic Timer wrapper.
98 */
99 GenericTimer *_genericTimer;
100
101 /**
102 * Reset address (ARMv8)
103 */
104 const Addr _resetAddr;
105
106 /**
107 * True if the register width of the highest implemented exception level is

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

187 bool haveCrypto() const { return _haveCrypto; }
188
189 /** Sets the pointer to the Generic Timer. */
190 void setGenericTimer(GenericTimer *generic_timer)
191 {
192 _genericTimer = generic_timer;
193 }
194
195 /** Get a pointer to the system's generic timer model */
196 GenericTimer *getGenericTimer() const { return _genericTimer; }
197
198 /** Returns true if the register width of the highest implemented exception
199 * level is 64 bits (ARMv8) */
200 bool highestELIs64() const { return _highestELIs64; }
201
202 /** Returns the highest implemented exception level */
203 ExceptionLevel highestEL() const
204 {
205 if (_haveSecurity)

--- 127 unchanged lines hidden ---