Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new <see cref="MemoryError"/> instance with the given parameters.
 /// </summary>
 /// <param name="code">The error code.</param>
 /// <param name="pc">The current program counter.</param>
 /// <param name="targetAddress">The address being accessed.</param>
 /// <param name="width">The width of the operation, in bytes.</param>
 /// <param name="value">The value being written.</param>
 public MemoryError(MemoryErrorCode code, uint pc, uint targetAddress, byte width, ulong value)
     : this(code, pc, null)
 {
     this.TargetAddress = targetAddress;
     this.Width         = width;
     this.Value         = value;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new <see cref="MemoryError"/> instance with the given parameters.
 /// </summary>
 /// <param name="code">The error code.</param>
 /// <param name="pc">The current program counter.</param>
 /// <param name="message">An optional message describing the error.</param>
 public MemoryError( MemoryErrorCode code, uint pc, string message )
     : base(message, pc)
 {
     this.Code = code;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new <see cref="MemoryError"/> instance with the given parameters.
 /// </summary>
 /// <param name="code">The error code.</param>
 /// <param name="pc">The current program counter.</param>
 public MemoryError( MemoryErrorCode code, uint pc )
     : this(code, pc, null)
 {
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new <see cref="MemoryError"/> instance with the given parameters.
 /// </summary>
 /// <param name="code">The error code.</param>
 /// <param name="pc">The current program counter.</param>
 /// <param name="targetAddress">The address being accessed.</param>
 /// <param name="width">The width of the operation, in bytes.</param>
 /// <param name="value">The value being written.</param>
 public MemoryError( MemoryErrorCode code, uint pc, uint targetAddress, byte width, ulong value )
     : this(code, pc, null)
 {
     this.TargetAddress = targetAddress;
     this.Width = width;
     this.Value = value;
 }
Exemplo n.º 5
0
 /// <summary>
 /// Initializes a new <see cref="MemoryError"/> instance with the given parameters.
 /// </summary>
 /// <param name="code">The error code.</param>
 /// <param name="pc">The current program counter.</param>
 /// <param name="targetAddress">The address being accessed.</param>
 /// <param name="width">The width of the operation, in bytes.</param>
 public MemoryError( MemoryErrorCode code, uint pc, uint targetAddress, byte width )
     : this(code, pc, null)
 {
     this.TargetAddress = targetAddress;
     this.Width = width;
 }
Exemplo n.º 6
0
 /// <summary>
 /// Initializes a new <see cref="MemoryError"/> instance with the given parameters.
 /// </summary>
 /// <param name="code">The error code.</param>
 /// <param name="pc">The current program counter.</param>
 /// <param name="targetAddress">The address being accessed.</param>
 /// <param name="width">The width of the operation, in bytes.</param>
 public MemoryError(MemoryErrorCode code, uint pc, uint targetAddress, byte width)
     : this(code, pc, null)
 {
     this.TargetAddress = targetAddress;
     this.Width         = width;
 }
Exemplo n.º 7
0
 /// <summary>
 /// Initializes a new <see cref="MemoryError"/> instance with the given parameters.
 /// </summary>
 /// <param name="code">The error code.</param>
 /// <param name="pc">The current program counter.</param>
 /// <param name="message">An optional message describing the error.</param>
 public MemoryError(MemoryErrorCode code, uint pc, string message)
     : base(message, pc)
 {
     this.Code = code;
 }
Exemplo n.º 8
0
 /// <summary>
 /// Initializes a new <see cref="MemoryError"/> instance with the given parameters.
 /// </summary>
 /// <param name="code">The error code.</param>
 /// <param name="pc">The current program counter.</param>
 public MemoryError(MemoryErrorCode code, uint pc)
     : this(code, pc, null)
 {
 }