1 // 2 // Copyright (c) 2010-2022 Antmicro 3 // 4 // This file is licensed under the MIT License. 5 // Full license text is available in 'licenses/MIT.txt'. 6 // 7 using System; 8 9 namespace Antmicro.Renode.Peripherals.CPU 10 { 11 public interface ICPUWithPostOpcodeExecutionHooks : ICPU 12 { AddPostOpcodeExecutionHook(UInt64 mask, UInt64 value, Action<ulong> hook)13 void AddPostOpcodeExecutionHook(UInt64 mask, UInt64 value, Action<ulong> hook); EnablePostOpcodeExecutionHooks(UInt32 value)14 void EnablePostOpcodeExecutionHooks(UInt32 value); 15 } 16 } 17 18