1 //
2 // Copyright (c) 2010-2018 Antmicro
3 //
4 // This file is licensed under the MIT License.
5 // Full license text is available in 'licenses/MIT.txt'.
6 //
7 using Antmicro.Migrant;
8 using Antmicro.Renode.Core;
9 using Antmicro.Renode.Peripherals;
10 using Antmicro.Renode.Peripherals.Bus;
11 
12 namespace Antmicro.Renode.UnitTests.Mocks
13 {
14     public class MockPeripheralWithProtectedConstructor : IDoubleWordPeripheral, IKnownSize
15     {
MockPeripheralWithProtectedConstructor()16         protected MockPeripheralWithProtectedConstructor()
17         {
18         }
19 
ReadDoubleWord(long offset)20         public uint ReadDoubleWord(long offset)
21         {
22             return 0;
23         }
24 
Reset()25         public void Reset()
26         {
27         }
28 
WriteDoubleWord(long offset, uint value)29         public void WriteDoubleWord(long offset, uint value)
30         {
31         }
32 
33         public long Size => 4;
34     }
35 }
36 
37 
38