| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/Extensions/ |
| D | ReadWriteExtensions.cs | 20 public static ushort ReadWordUsingByte(this IBytePeripheral peripheral, long address) in ReadWordUsingByte() argument 24 return (ushort)((ushort)peripheral.ReadByte(address) in ReadWordUsingByte() 25 | (ushort)peripheral.ReadByte(address + 1) << 8 in ReadWordUsingByte() 43 … public static void WriteWordUsingByte(this IBytePeripheral peripheral, long address, ushort value) in WriteWordUsingByte() argument 47 peripheral.WriteByte(address + 0, (byte)(value >> 0)); in WriteWordUsingByte() 48 peripheral.WriteByte(address + 1, (byte)(value >> 8)); in WriteWordUsingByte() 64 … public static ushort ReadWordUsingByteBigEndian(this IBytePeripheral peripheral, long address) in ReadWordUsingByteBigEndian() argument 68 return (ushort)((ushort)(peripheral.ReadByte(address + 1)) in ReadWordUsingByteBigEndian() 69 | (ushort)(peripheral.ReadByte(address + 0)) << 8 in ReadWordUsingByteBigEndian() 87 …public static void WriteWordUsingByteBigEndian(this IBytePeripheral peripheral, long address, usho… in WriteWordUsingByteBigEndian() argument [all …]
|
| D | ReadWriteExtensions.tt | 82 …ype #> Read<#= outName #>Using<#= inName #>(this I<#= inName #>Peripheral peripheral, long address) 86 return (<#= outType #>)((<#= outType #>)peripheral.Read<#= inName #>(address) 91 … | (<#= outType #>)peripheral.Read<#= inName #>(address + <#= i / 8 #>) << <#= i #> 119 …id Write<#= outName #>Using<#= inName #>(this I<#= inName #>Peripheral peripheral, long address, <… 127 … peripheral.Write<#= inName #>(address + <#= i / 8 #>, (<#= inType #>)(value >> <#= i #>)); 152 …ad<#= outName #>Using<#= inName #>BigEndian(this I<#= inName #>Peripheral peripheral, long address) 156 …return (<#= outType #>)((<#= outType #>)<#= swapFuncIn #>(peripheral.Read<#= inName #>(address + <… 161 …| (<#= outType #>)<#= swapFuncIn #>(peripheral.Read<#= inName #>(address + <#= i / 8 #>)) << <#= o… 189 …#= outName #>Using<#= inName #>BigEndian(this I<#= inName #>Peripheral peripheral, long address, <… 197 …peripheral.Write<#= inName #>(address + <#= (outWidth - inWidth - i) / 8 #>, <#= swapFuncIn #>((<#… [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/Structure/ |
| D | SimpleContainer.cs | 24 public void Register(T peripheral, int address) in Register() argument 26 Register(peripheral, new NumberRegistrationPoint<int>(address)); in Register() 29 public virtual IEnumerable<NumberRegistrationPoint<int>> GetRegistrationPoints(T peripheral) in GetRegistrationPoints() argument 42 public virtual void Register(T peripheral, NumberRegistrationPoint<int> registrationPoint) in Register() argument 48 ChildCollection.Add(registrationPoint.Address, peripheral); in Register() 51 public virtual void Unregister(T peripheral) in Unregister() argument 53 …var toRemove = ChildCollection.Where(x => x.Value.Equals(peripheral)).Select(x => x.Key).ToList();… in Unregister() 78 T peripheral; in GetByAddress() 79 if(!TryGetByAddress(address, out peripheral)) in GetByAddress() 83 return peripheral; in GetByAddress() [all …]
|
| D | NullRegistrationPointPeripheralContainer.cs | 28 … public virtual void Register(TPeripheral peripheral, NullRegistrationPoint registrationPoint) in Register() argument 30 container.Register(peripheral, registrationPoint); in Register() 33 public virtual void Unregister(TPeripheral peripheral) in Unregister() argument 35 container.Unregister(peripheral); in Unregister() 38 public IEnumerable<NullRegistrationPoint> GetRegistrationPoints(TPeripheral peripheral) in GetRegistrationPoints() argument 40 return container.GetRegistrationPoints(peripheral); in GetRegistrationPoints() 61 public void Register(TPeripheral peripheral, NullRegistrationPoint registrationPoint) in Register() argument 67 machine.RegisterAsAChildOf(owner, peripheral, registrationPoint); in Register() 68 RegisteredPeripheral = peripheral; in Register() 71 public void Unregister(TPeripheral peripheral) in Unregister() argument [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/ |
| D | NullRegistrationPointPeripheralContainerTests.cs | 24 container.Register(peripheral, registrationPoint); in ShouldRegisterPeripheral() 25 Assert.IsTrue(machine.IsRegistered(peripheral)); in ShouldRegisterPeripheral() 33 container.Register(peripheral, NullRegistrationPoint.Instance)); in ShouldThrowWhenSecondPeripheral() 39 container.Register(peripheral, registrationPoint); in ShouldUnregisterPeripheral() 40 container.Unregister(peripheral); in ShouldUnregisterPeripheral() 41 Assert.IsFalse(machine.IsRegistered(peripheral)); in ShouldUnregisterPeripheral() 49 container.Unregister(peripheral)); in ShouldThrowWhenUnregisteringNotRegisteredPeripheral() 56 container.Unregister(peripheral)); in ShouldThrowWhenUnregisteringFromEmptyContainers() 62 container.Register(peripheral, registrationPoint); in ShouldGetRegistrationPoints() 63 Assert.AreEqual(1, container.GetRegistrationPoints(peripheral).Count()); in ShouldGetRegistrationPoints() [all …]
|
| D | SystemBusTests.cs | 47 var peripheral = new Mock<IDoubleWordPeripheral>(); in ShouldFindAfterRegistration() 48 peripheral.Setup(x => x.ReadDoubleWord(0)).Returns(0x666); in ShouldFindAfterRegistration() 49 sysbus.Register(peripheral.Object, 1000.By(1000)); in ShouldFindAfterRegistration() 146 var peripheral = new MultiRegistrationPeripheral(); in ShouldRegisterMultiFunctionPeripheral() 147 sysbus.Register(peripheral, multiRegistration1); in ShouldRegisterMultiFunctionPeripheral() 148 sysbus.Register(peripheral, multiRegistration2); in ShouldRegisterMultiFunctionPeripheral() 149 sysbus.Register(peripheral, new BusRangeRegistration(300, 100)); in ShouldRegisterMultiFunctionPeripheral() 151 Assert.AreEqual(false, peripheral.ByteRead1); in ShouldRegisterMultiFunctionPeripheral() 152 Assert.AreEqual(false, peripheral.ByteRead2); in ShouldRegisterMultiFunctionPeripheral() 153 Assert.AreEqual(false, peripheral.ByteWritten1); in ShouldRegisterMultiFunctionPeripheral() [all …]
|
| D | PeripheralsGroupTests.cs | 25 var peripheral = new MappedMemory(machine, 10); in ShouldNotUnregisterSinglePeripheralFromGroup() 26 machine.SystemBus.Register(peripheral, new BusPointRegistration(0x0)); in ShouldNotUnregisterSinglePeripheralFromGroup() 27 machine.SystemBus.Unregister(peripheral); in ShouldNotUnregisterSinglePeripheralFromGroup() 29 machine.SystemBus.Register(peripheral, new BusPointRegistration(0x0)); in ShouldNotUnregisterSinglePeripheralFromGroup() 30 machine.PeripheralsGroups.GetOrCreate("test-group", new [] { peripheral }); in ShouldNotUnregisterSinglePeripheralFromGroup() 34 machine.SystemBus.Unregister(peripheral); in ShouldNotUnregisterSinglePeripheralFromGroup() 50 var peripheral = new MappedMemory(machine, 10); in ShouldUnregisterPeripheralGroups() 51 machine.SystemBus.Register(peripheral, new BusPointRegistration(0x0)); in ShouldUnregisterPeripheralGroups() 52 … var group = machine.PeripheralsGroups.GetOrCreate("test-group", new [] { peripheral }); in ShouldUnregisterPeripheralGroups() 53 Assert.IsTrue(machine.IsRegistered(peripheral)); in ShouldUnregisterPeripheralGroups() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Test/PeripheralsTests/ |
| D | OpenTitan_AES_Test.cs | 22 peripheral = new OpenTitan_AES(new Machine()); in SetUp() 28 var status = peripheral.ReadDoubleWord((long)OpenTitan_AES.Registers.Status); in ShouldStartInIdleMode() 35 peripheral.WriteDoubleWord((long)OpenTitan_AES.Registers.Control, 0x8); in ShouldChangeStatusWhenSetToAutomaticMode() 36 var status = peripheral.ReadDoubleWord((long)OpenTitan_AES.Registers.Status); in ShouldChangeStatusWhenSetToAutomaticMode() 43 peripheral.WriteDoubleWord((long)OpenTitan_AES.Registers.InputData_0, 0x1234); in ShouldKeepTrackOfDataWrites() 45 Assert.IsFalse(peripheral.InputDataReady); in ShouldKeepTrackOfDataWrites() 47 Assert.IsTrue(peripheral.InputDataReady); in ShouldKeepTrackOfDataWrites() 56 peripheral.WriteDoubleWord((long)OpenTitan_AES.Registers.Control, 0x205); in ShouldGiveCorrectEncryptionOutput() 61 … var actual = peripheral.ReadDoubleWord((long)OpenTitan_AES.Registers.OutputData_0 + 4 * i); in ShouldGiveCorrectEncryptionOutput() 72 peripheral.WriteDoubleWord((long)OpenTitan_AES.Registers.Control, 0x8405); in ShouldWorkInManualModeToo() [all …]
|
| D | OpenTitan_SpiDeviceTest.cs | 24 peripheral = new SPI(machine); in Setup() 25 spiHost = new SpiHost(peripheral); in Setup() 28 …machine.SystemBus.Register(peripheral, new Peripherals.Bus.BusRangeRegistration(new Range(Peripher… in Setup() 96 Assert.False(peripheral.GenericRxFull.IsSet, "Interrupt should not be set yet"); in ShouldSetInterruptOnRxFifoFull() 98 Assert.True(peripheral.GenericRxFull.IsSet, "Interrupt not set when expected"); in ShouldSetInterruptOnRxFifoFull() 111 Assert.False(peripheral.GenericRxOverflow.IsSet, "Overflow happend too fast"); in ShouldSetInterruptOnRxOverflow() 113 Assert.True(peripheral.GenericRxOverflow.IsSet, "Interrupt not set when expected"); in ShouldSetInterruptOnRxOverflow() 125 Assert.False(peripheral.GenericRxWatermark.IsSet, "Interrupt should not be set yet"); in ShouldSetInterruptOnRxFifoWatermark() 127 Assert.True(peripheral.GenericRxWatermark.IsSet, "Interrupt not set when expected"); in ShouldSetInterruptOnRxFifoWatermark() 141 Assert.False(peripheral.GenericTxWatermark.IsSet, "Interrupt should not be set yet"); in ShouldSetInterruptOnTxFifoWatermark() [all …]
|
| D | OpenTitan_I2C_Test.cs | 25 this.peripheral = new OpenTitan_I2C(machine); in Setup() 26 …machine.SystemBus.Register(peripheral, new Peripherals.Bus.BusRangeRegistration(new Range(0x1000, … in Setup() 27 peripheral.Register(sensor1, new NumberRegistrationPoint<int>(Sensor1Address)); in Setup() 28 peripheral.Register(sensor2, new NumberRegistrationPoint<int>(Sensor2Address)); in Setup() 78 Assert.AreEqual(true, peripheral.FormatWatermarkIRQ.IsSet, "IRQ not set"); in ShouldSetExceptionOnFmtWatermark() 96 Assert.AreEqual(true, peripheral.RxWatermarkIRQ.IsSet, "IRQ not set"); in ShouldSetExceptionOnRxWatermark() 114 Assert.AreEqual(true, peripheral.FormatOverflowIRQ.IsSet, "IRQ not set"); in ShouldSetExceptionOnOverflow() 179 peripheral.FinishTransmission(); in TargetShouldInterpretTransmissionCompleteAsStop() 191 peripheral.Write(new byte[] { (byte)((someAddr << 1) | readBit) }); in TargetShouldCorrectlyAssignRWflag() 192 peripheral.FinishTransmission(); in TargetShouldCorrectlyAssignRWflag() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Hooks/ |
| D | SystemBusHooksExtensions.cs | 18 … SetHookAfterPeripheralRead(this IBusController sysbus, IBusPeripheral peripheral, string pythonSc… in SetHookAfterPeripheralRead() argument 20 var runner = new BusPeripheralsHooksPythonEngine(sysbus, peripheral, pythonScript); in SetHookAfterPeripheralRead() 21 sysbus.SetHookAfterPeripheralRead<ulong>(peripheral, runner.ReadHook, subrange); in SetHookAfterPeripheralRead() 22 …sysbus.SetHookAfterPeripheralRead<uint>(peripheral, (readValue, offset) => (uint)runner.ReadHook(r… in SetHookAfterPeripheralRead() 23 …sysbus.SetHookAfterPeripheralRead<ushort>(peripheral, (readValue, offset) => (ushort)runner.ReadHo… in SetHookAfterPeripheralRead() 24 …sysbus.SetHookAfterPeripheralRead<byte>(peripheral, (readValue, offset) => (byte)runner.ReadHook(r… in SetHookAfterPeripheralRead() 27 …etHookBeforePeripheralWrite(this IBusController sysbus, IBusPeripheral peripheral, string pythonSc… in SetHookBeforePeripheralWrite() argument 29 … var runner = new BusPeripheralsHooksPythonEngine(sysbus, peripheral, null, pythonScript); in SetHookBeforePeripheralWrite() 30 sysbus.SetHookBeforePeripheralWrite<ulong>(peripheral, runner.WriteHook, subrange); in SetHookBeforePeripheralWrite() 31 …sysbus.SetHookBeforePeripheralWrite<uint>(peripheral, (valueToWrite, offset) => (uint)runner.Write… in SetHookBeforePeripheralWrite() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/GPIOPort/ |
| D | BaseGPIOPort.cs | 25 public void Register(IGPIOSender peripheral, NumberRegistrationPoint<int> registrationPoint) in Register() argument 27 machine.RegisterAsAChildOf(this, peripheral, registrationPoint); in Register() 30 public void Unregister(IGPIOSender peripheral) in Unregister() argument 32 machine.UnregisterAsAChildOf(this, peripheral); in Unregister() 35 public void Register(IGPIOSender peripheral, NullRegistrationPoint registrationPoint) in Register() argument 37 machine.RegisterAsAChildOf(this, peripheral, registrationPoint); in Register() 40 public void Register(IGPIOReceiver peripheral, NullRegistrationPoint registrationPoint) in Register() argument 42 machine.RegisterAsAChildOf(this, peripheral, registrationPoint); in Register() 45 public void Unregister(IGPIOReceiver peripheral) in Unregister() argument 47 machine.UnregisterAsAChildOf(this, peripheral); in Unregister() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Arm/ARM_GenericInterruptController/ |
| D | ArmGicRedistributorRegistration.cs | 22 public override Action<long, byte> GetWriteByteMethod(IBusPeripheral peripheral) in GetWriteByteMethod() argument 24 GetGICAndCPUEntry(peripheral, out var gic, out var entry); in GetWriteByteMethod() 36 public override Func<long, byte> GetReadByteMethod(IBusPeripheral peripheral) in GetReadByteMethod() argument 38 GetGICAndCPUEntry(peripheral, out var gic, out var entry); in GetReadByteMethod() 52 public override Action<long, uint> GetWriteDoubleWordMethod(IBusPeripheral peripheral) in GetWriteDoubleWordMethod() argument 54 GetGICAndCPUEntry(peripheral, out var gic, out var entry); in GetWriteDoubleWordMethod() 68 public override Func<long, uint> GetReadDoubleWordMethod(IBusPeripheral peripheral) in GetReadDoubleWordMethod() argument 70 GetGICAndCPUEntry(peripheral, out var gic, out var entry); in GetReadDoubleWordMethod() 86 public override Action<long, ulong> GetWriteQuadWordMethod(IBusPeripheral peripheral) in GetWriteQuadWordMethod() argument 88 GetGICAndCPUEntry(peripheral, out var gic, out var entry); in GetWriteQuadWordMethod() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Bus/ |
| D | BusParametrizedRegistration.cs | 20 …internal virtual void FillAccessMethods(IBusPeripheral peripheral, ref PeripheralAccessMethods met… in FillAccessMethods() argument 22 methods.Peripheral = peripheral; in FillAccessMethods() 23 var readQuadWord = GetReadQuadWordMethod(peripheral); in FillAccessMethods() 28 var writeQuadWord = GetWriteQuadWordMethod(peripheral); in FillAccessMethods() 33 var readDoubleWord = GetReadDoubleWordMethod(peripheral); in FillAccessMethods() 38 var writeDoubleWord = GetWriteDoubleWordMethod(peripheral); in FillAccessMethods() 43 var readWord = GetReadWordMethod(peripheral); in FillAccessMethods() 48 var writeWord = GetWriteWordMethod(peripheral); in FillAccessMethods() 53 var readByte = GetReadByteMethod(peripheral); in FillAccessMethods() 58 var writeByte = GetWriteByteMethod(peripheral); in FillAccessMethods()
|
| D | BusControllerProxy.cs | 240 … public virtual IEnumerable<BusRangeRegistration> GetRegistrationPoints(IBusPeripheral peripheral) in GetRegistrationPoints() argument 242 return ParentController.GetRegistrationPoints(peripheral); in GetRegistrationPoints() 255 …public virtual void SetHookAfterPeripheralRead<T>(IBusPeripheral peripheral, Func<T, long, T> hook… in SetHookAfterPeripheralRead() argument 257 ParentController.SetHookAfterPeripheralRead(peripheral, hook, subrange); in SetHookAfterPeripheralRead() 260 …public virtual void SetHookBeforePeripheralWrite<T>(IBusPeripheral peripheral, Func<T, long, T> ho… in SetHookBeforePeripheralWrite() argument 262 ParentController.SetHookBeforePeripheralWrite(peripheral, hook, subrange); in SetHookBeforePeripheralWrite() 265 public virtual void ClearHookAfterPeripheralRead<T>(IBusPeripheral peripheral) in ClearHookAfterPeripheralRead() argument 267 ParentController.ClearHookAfterPeripheralRead<T>(peripheral); in ClearHookAfterPeripheralRead() 295 public virtual void DisablePeripheral(IPeripheral peripheral) in DisablePeripheral() argument 297 ParentController.DisablePeripheral(peripheral); in DisablePeripheral() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/Mocks/ |
| D | AmbiguousRegister.cs | 17 … public void Register(IDoubleWordPeripheral peripheral, DoublePointRegistration registrationPoint) in Register() argument 22 … public void Register(IDoubleWordPeripheral peripheral, BusPointRegistration registrationPoint) in Register() argument 27 … public void Register(IDoubleWordPeripheral peripheral, IMockRegistrationPoint1 registrationPoint) in Register() argument 32 … public void Register(IDoubleWordPeripheral peripheral, IMockRegistrationPoint2 registrationPoint) in Register() argument 37 public void Register(IBytePeripheral peripheral, DoublePointRegistration registrationPoint) in Register() argument 42 public void Unregister(IDoubleWordPeripheral peripheral) in Unregister() argument 47 public void Unregister(IBytePeripheral peripheral) in Unregister() argument
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Python/ |
| D | PeripheralPythonEngine.cs | 45 Scope.SetVariable("self", peripheral); in InitScope() 46 Scope.SetVariable("size", peripheral.Size); in InitScope() 52 public PeripheralPythonEngine(PythonPeripheral peripheral) in PeripheralPythonEngine() argument 54 this.peripheral = peripheral; in PeripheralPythonEngine() 58 …public PeripheralPythonEngine(PythonPeripheral peripheral, Func<ScriptEngine, ScriptSource> source… in PeripheralPythonEngine() argument 60 this.peripheral = peripheral; in PeripheralPythonEngine() 123 private readonly PythonPeripheral peripheral; field in Antmicro.Renode.Peripherals.Python.PeripheralPythonEngine
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/ |
| D | IMachine.cs | 32 string GetAnyNameOrTypeName(IPeripheral peripheral); in GetAnyNameOrTypeName() argument 33 IEnumerable<IPeripheral> GetChildrenPeripherals(IPeripheral peripheral); in GetChildrenPeripherals() argument 35 string GetLocalName(IPeripheral peripheral); in GetLocalName() argument 37 IEnumerable<IPeripheral> GetParentPeripherals(IPeripheral peripheral); in GetParentPeripherals() argument 42 IBusController GetSystemBus(IBusPeripheral peripheral); in GetSystemBus() argument 49 bool IsRegistered(IPeripheral peripheral); in IsRegistered() argument 59 IBusController RegisterBusController(IBusPeripheral peripheral, IBusController controller); in RegisterBusController() argument 64 void SetLocalName(IPeripheral peripheral, string name); in SetLocalName() argument 73 bool TryGetAnyName(IPeripheral peripheral, out string name); in TryGetAnyName() argument 74 bool TryGetBusController(IBusPeripheral peripheral, out IBusController controller); in TryGetBusController() argument [all …]
|
| D | IPeripheral.cs | 28 public static bool HasGPIO(this IPeripheral peripheral) in HasGPIO() argument 30 …return peripheral is INumberedGPIOOutput || peripheral.GetType().GetProperties().Any(x => x.Proper… in HasGPIO() 38 public static IEnumerable<Tuple<string, IGPIO>> GetGPIOs(this IPeripheral peripheral) in GetGPIOs() argument 41 var numberGPIOOuput = peripheral as INumberedGPIOOutput; in GetGPIOs() 47 …= peripheral.GetType().GetProperties().Where(x => x.PropertyType == typeof(GPIO)).Select(x => Tupl… in GetGPIOs()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/UserInterface/Commands/ |
| D | ShowBackendAnalyzerCommand.cs | 33 …Run(ICommandInteraction writer, StringToken analyzerName, LiteralToken peripheral, LiteralToken an… in Run() argument 41 …var analyzer = GetAnalyzer(peripheral.Value, analyzerTypeName == null ? null : analyzerTypeName.Va… in Run() 50 …initializing analyzer for: {1}. Are you missing a required plugin?", e.Message, peripheral.Value)); in Run() 55 … public void Run(ICommandInteraction writer, StringToken analyzerName, LiteralToken peripheral) in Run() argument 57 Run(writer, analyzerName, peripheral, null); in Run() 61 public void Run(ICommandInteraction writer, LiteralToken peripheral) in Run() argument 63 Run(writer, peripheral, null); in Run() 67 …public void Run(ICommandInteraction writer, LiteralToken peripheral, LiteralToken analyzerTypeName) in Run() argument 69 Run(writer, null, peripheral, analyzerTypeName); in Run()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/ |
| D | Machine.cs | 121 public IEnumerable<IPeripheral> GetParentPeripherals(IPeripheral peripheral) in GetParentPeripherals() argument 123 var node = registeredPeripherals.TryGetNode(peripheral); in GetParentPeripherals() 127 public IEnumerable<IPeripheral> GetChildrenPeripherals(IPeripheral peripheral) in GetChildrenPeripherals() argument 129 var node = registeredPeripherals.TryGetNode(peripheral); in GetChildrenPeripherals() 195 public void UnregisterFromParent(IPeripheral peripheral) in UnregisterFromParent() argument 197 InnerUnregisterFromParent(peripheral); in UnregisterFromParent() 199 … PeripheralsChanged?.Invoke(this, PeripheralsChangedEventArgs.Create(peripheral, operation)); in UnregisterFromParent() 230 …public bool TryGetByName<T>(string name, out T peripheral, out string longestMatch) where T : clas… 235 peripheral = null; 242 peripheral = (T)(IPeripheral)SystemBus; [all …]
|
| D | PeripheralsAddedEventArgs.cs | 15 …public static PeripheralsAddedEventArgs Create(IPeripheral peripheral, IRegistrationPoint registra… in Create() argument 17 return new PeripheralsAddedEventArgs(peripheral, registrationPoint); in Create() 22 … protected PeripheralsAddedEventArgs(IPeripheral peripheral, IRegistrationPoint registrationPoint) in PeripheralsAddedEventArgs() argument 23 : base(peripheral, PeripheralChangeType.Addition) in PeripheralsAddedEventArgs()
|
| D | PeripheralsChangedEventArgs.cs | 21 …public static PeripheralsChangedEventArgs Create(IPeripheral peripheral, PeripheralChangeType oper… in Create() argument 24 return new PeripheralsChangedEventArgs(peripheral, operation); in Create() 30 … protected PeripheralsChangedEventArgs(IPeripheral peripheral, PeripheralChangeType operation) in PeripheralsChangedEventArgs() argument 32 Peripheral = peripheral; in PeripheralsChangedEventArgs()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Network/ |
| D | NetworkWithPHY.cs | 26 public void Register(IPhysicalLayer peripheral, PHYRegistrationPoint registrationPoint) in Register() argument 32 phys.Add(registrationPoint.Id, peripheral); in Register() 33 machine.RegisterAsAChildOf(this, peripheral, registrationPoint); in Register() 36 public void Unregister(IPhysicalLayer peripheral) in Unregister() argument 38 var key = phys.First(x => x.Value == peripheral).Key; in Unregister() 40 machine.UnregisterAsAChildOf(this, peripheral); in Unregister() 45 public IEnumerable<PHYRegistrationPoint> GetRegistrationPoints(IPhysicalLayer peripheral) in GetRegistrationPoints() argument
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/MemoryControllers/ |
| D | Gaisler_FaultTolerantMemoryController.cs | 37 public IEnumerable<NullRegistrationPoint> GetRegistrationPoints(MappedMemory peripheral) in GetRegistrationPoints() argument 44 public void Register(MappedMemory peripheral, NullRegistrationPoint registrationPoint) in Register() argument 51 machine.RegisterAsAChildOf(this, peripheral, registrationPoint); in Register() 52 prom = peripheral; in Register() 56 public void Unregister(MappedMemory peripheral) in Unregister() argument 61 public IEnumerable<NullRegistrationPoint> GetRegistrationPoints(AMDCFIFlash peripheral) in GetRegistrationPoints() argument 68 public void Register(AMDCFIFlash peripheral, NullRegistrationPoint registrationPoint) in Register() argument 75 machine.RegisterAsAChildOf(this, peripheral, registrationPoint); in Register() 76 flash = peripheral; in Register() 79 public void Unregister(AMDCFIFlash peripheral) in Unregister() argument
|