1 // 2 // Copyright (c) 2010-2018 Antmicro 3 // Copyright (c) 2011-2015 Realtime Embedded 4 // 5 // This file is licensed under the MIT License. 6 // Full license text is available in 'licenses/MIT.txt'. 7 // 8 using Antmicro.Renode.Core; 9 using Antmicro.Renode.Peripherals.Bus; 10 11 namespace Antmicro.Renode.UnitTests.Mocks 12 { 13 public class MockIrqSender : IBytePeripheral 14 { MockIrqSender()15 public MockIrqSender() 16 { 17 Irq = new GPIO(); 18 } 19 20 public GPIO Irq { get; set; } 21 Reset()22 public void Reset() 23 { 24 } 25 ReadByte(long offset)26 public byte ReadByte(long offset) 27 { 28 throw new System.NotImplementedException(); 29 } 30 WriteByte(long offset, byte value)31 public void WriteByte(long offset, byte value) 32 { 33 throw new System.NotImplementedException(); 34 } 35 } 36 } 37 38