summaryrefslogtreecommitdiff
path: root/src/core/arm/arm_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/arm/arm_interface.h')
-rw-r--r--src/core/arm/arm_interface.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h
index e5c484336..fbdce4134 100644
--- a/src/core/arm/arm_interface.h
+++ b/src/core/arm/arm_interface.h
@@ -26,8 +26,9 @@ using CPUInterrupts = std::array<CPUInterruptHandler, Core::Hardware::NUM_CPU_CO
26/// Generic ARMv8 CPU interface 26/// Generic ARMv8 CPU interface
27class ARM_Interface : NonCopyable { 27class ARM_Interface : NonCopyable {
28public: 28public:
29 explicit ARM_Interface(System& system_, CPUInterrupts& interrupt_handlers) 29 explicit ARM_Interface(System& system_, CPUInterrupts& interrupt_handlers, bool uses_wall_clock)
30 : system{system_}, interrupt_handlers{interrupt_handlers} {} 30 : system{system_}, interrupt_handlers{interrupt_handlers}, uses_wall_clock{
31 uses_wall_clock} {}
31 virtual ~ARM_Interface() = default; 32 virtual ~ARM_Interface() = default;
32 33
33 struct ThreadContext32 { 34 struct ThreadContext32 {
@@ -186,6 +187,7 @@ protected:
186 /// System context that this ARM interface is running under. 187 /// System context that this ARM interface is running under.
187 System& system; 188 System& system;
188 CPUInterrupts& interrupt_handlers; 189 CPUInterrupts& interrupt_handlers;
190 bool uses_wall_clock;
189}; 191};
190 192
191} // namespace Core 193} // namespace Core