1 //
2 // Copyright (c) 2010-2024 Antmicro
3 //
4 // This file is licensed under the MIT License.
5 // Full license text is available in 'licenses/MIT.txt'.
6 //
7 namespace Antmicro.Renode.Peripherals.CPU
8 {
9     public class HaltArguments
10     {
HaltArguments(HaltReason reason, ICPU cpu, ulong? address = null, BreakpointType? breakpointType = null)11         public HaltArguments(HaltReason reason, ICPU cpu, ulong? address = null, BreakpointType? breakpointType = null)
12         {
13             Reason = reason;
14             Cpu = cpu;
15             Address = address;
16             BreakpointType = breakpointType;
17         }
18 
19         public HaltReason Reason { get; }
20         public ICPU Cpu { get; }
21         public ulong? Address { get; }
22         public BreakpointType? BreakpointType { get; }
23     }
24 }
25 
26