Home
last modified time | relevance | path

Searched refs:ReadBytes (Results 1 – 25 of 86) sorted by relevance

1234

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Debug/
DCPUTracer.cs146 var readBytes = bus.ReadBytes(value, SizeOfStringBatch, context: cpu); in TranslateParameter()
164 return bus.ReadBytes(value, size, context: cpu); in TranslateParameter()
169 … Buffer.BlockCopy(bus.ReadBytes(value, byteLength, context: cpu), 0, intResult, 0, byteLength); in TranslateParameter()
176 … Buffer.BlockCopy(bus.ReadBytes(value, byteLength, context: cpu), 0, uintResult, 0, byteLength); in TranslateParameter()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Miscellaneous/
DOpenTitan_ScrambledMemory.cs50 public void ReadBytes(long offset, int count, byte[] destination, int startIndex) in ReadBytes() method in Antmicro.Renode.Peripherals.Miscellaneous.OpenTitan_ScrambledMemory
56 underlyingMemory.ReadBytes(offset, count, destination, startIndex); in ReadBytes()
DNRF52840_ECB.cs80 var key = sysbus.ReadBytes(dataPointer.Value, KeySize); in RunEncryption()
81 var clearText = sysbus.ReadBytes(dataPointer.Value + KeySize, ClearTextSize); in RunEncryption()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Bus/
DRedirector.cs78 public byte[] ReadBytes(long offset, int count, IPeripheral context = null) in ReadBytes() method in Antmicro.Renode.Peripherals.Bus.Redirector
80 … return systemBus.ReadBytes(redirectedAddress + checked((ulong)offset), count, context: context); in ReadBytes()
DIMultibyteWritePeripheral.cs14 byte[] ReadBytes(long offset, int count, IPeripheral context = null); in ReadBytes() method
DBusControllerProxy.cs135 …public virtual void ReadBytes(ulong address, int count, byte[] destination, int startIndex, bool o… in ReadBytes() method in Antmicro.Renode.Peripherals.Bus.BusControllerProxy
139 … ParentController.ReadBytes(address, count, destination, startIndex, onlyMemory, context); in ReadBytes()
143 …public virtual byte[] ReadBytes(ulong address, int count, bool onlyMemory = false, IPeripheral con… in ReadBytes() method in Antmicro.Renode.Peripherals.Bus.BusControllerProxy
146 ReadBytes(address, count, result, 0, onlyMemory, context); in ReadBytes()
150 public virtual byte[] ReadBytes(long offset, int count, IPeripheral context = null) in ReadBytes() method in Antmicro.Renode.Peripherals.Bus.BusControllerProxy
152 return ReadBytes((ulong)offset, count, context: context); in ReadBytes()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Memory/
DGenericI2cEeprom.cs124 data = Memory.ReadBytes(currentAddress, bytesToRead); in Read()
131 data = data.Concat(Memory.ReadBytes(0, count)); in Read()
157 var data = Memory.ReadBytes(start, size); in ReadRollover()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/RESD/
DLowLevelRESDParser.cs58 var magic = reader.ReadBytes(MagicValue.Length); in ReadHeader()
70 var padding = reader.ReadBytes(HeaderPaddingLength); in ReadHeader()
90 serializedBuffer = reader.ReadBytes((int)reader.Length); in BeforeSerialization()
DMetadataBlock.cs68 value = new MetadataValue(reader.ReadBytes((int)blobLength)); in ReadFromStream()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Miscellaneous/Crypto/
DMessageAuthenticationServiceProvider.cs39 var bytes = bus.ReadBytes(hashInputAddr, (int)hashInputLength); in PerformSHADMA()
109 var inputBytes = bus.ReadBytes(hashInputAddr, (int)hashInputLength); in DMAHMACSHA()
153 var msgBytes = bus.ReadBytes(inputDataAddr, (int)msgByteCount); in DMAGCM()
157 var authBytes = bus.ReadBytes(authDataAddr, (int)authByteCount); in DMAGCM()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/
DSafeBinaryReader.cs45 public override byte[] ReadBytes(int count) in ReadBytes() method in Antmicro.Renode.Utilities.SafeBinaryReader
47 return ExecuteAndHandleError(delegate { return base.ReadBytes(count); }); in ReadBytes()
DBlobManager.cs35 reader.ReadBytes((int)size); in Load()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Test/PeripheralsTests/
DEFR32_I2CControllerTests.cs68 var bytes = ReadBytes(testMagicSequence.Length); in ReadFromSlaveUsingSingleByteTransfer()
223 var bytes = ReadBytes(8); in TestWithBMP180()
285 private byte[] ReadBytes(int count) in ReadBytes() method in Antmicro.Renode.PeripheralsTests.EFR32_I2CControllerTests
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Video/
DPL110.cs73 sysbus.ReadBytes(bufferAddress, buffer.Length, buffer, 0); in Repaint()
DTegraDisplay.cs91 sysbus.ReadBytes(bufferAddress, buffer.Length, buffer, 0); in Repaint()
DVybridDCU.cs95 sysbus.ReadBytes(bufferAddress, buffer.Length, buffer, 0); in Repaint()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CAN/S32K3XX_FlexCAN/
DS32K3XX_FlexCAN_Structures.cs174 var data = buffer.ReadBytes((long)offset, (int)MetaSize); in FetchMetadata()
203 data = buffer.ReadBytes((long)offset + MetaSize, (int)(DataLength + 3) & ~3); in FetchData()
488 var data = buffer.ReadBytes((long)offset, 4); in Fetch()
514 var data = buffer.ReadBytes((long)offset, 4); in Fetch()
549 var data = buffer.ReadBytes((long)offset, 4); in Fetch()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Mocks/
DSpiHost.cs49 public byte[] ReadBytes(int count) in ReadBytes() method in Antmicro.Renode.Extensions.Mocks.SpiHost
DI2CHost.cs50 public byte[] ReadBytes(uint addr, int count) in ReadBytes() method in Antmicro.Renode.Extensions.Mocks.I2CHost
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/
DSystemBusTests.cs292 Assert.AreEqual(bytes, sysbus.ReadBytes(4, 8)); in ShouldHandleWriteToMemorySegment()
303 …t.AreEqual(bytes.Take(6).Concat(Enumerable.Repeat((byte)0, 2)).ToArray(), sysbus.ReadBytes(10, 8)); in ShouldHandlePartialWriteToMemorySegmentAtTheBeginning()
338 var resultArray = machine.SystemBus.ReadBytes(0, 350); in ShouldReadBytes()
369 …able.Repeat((byte)0, 4).Concat(bytes.Skip(4).Take(4)).ToArray(), sysbus.ReadBytes(0xC0000000 - 4, … in ShouldHandlePartialWriteToMemorySegmentAtTheEnd()
380 Assert.AreEqual(Enumerable.Repeat((byte)0, 8).ToArray(), sb.ReadBytes(100, 8)); in ShouldHandleWriteToAHoleBetweenMemorySegments()
392 …p(4).Take(16)).Concat(Enumerable.Repeat((byte)0, 12)).ToArray(), sysbus.ReadBytes(0xC0000000 - 4, … in ShouldHandleWriteOverlappingMemorySegment()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/DMA/
DSTM32DMA2D.cs125 …sysbus.ReadBytes(foregroundClutMemoryAddressRegister.Value, foregroundClut.Length, foregroundClut,… in STM32DMA2D()
157 …sysbus.ReadBytes(backgroundClutMemoryAddressRegister.Value, backgroundClut.Length, backgroundClut,… in STM32DMA2D()
299 …sysbus.ReadBytes(backgroundMemoryAddressRegister.Value, backgroundBuffer.Length, backgroundBuffer,… in DoTransfer()
315 …sysbus.ReadBytes((ulong)(backgroundMemoryAddressRegister.Value + line * (uint)(backgroundLineOffse… in DoTransfer()
381 sysbus.ReadBytes(currentSource, sourceBuffer.Length, sourceBuffer, 0); in DoCopy()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Utilities/GDB/Commands/
DCalculateCRCCommand.cs48 …manager.Machine.SystemBus.ReadBytes(access.Address, (int)access.Length, data, currentIndex, onlyMe… in Execute()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/DMA/
DDmaEngine.cs57 sysbus.ReadBytes(sourceAddress, request.Size, buffer, 0, context: context); in IssueCopy()
66 sysbus.ReadBytes(sourceAddress, readLengthInBytes, buffer, 0, context: context); in IssueCopy()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/Extensions/
DMemoryDumpExtensions.cs98 … var data = memory.ReadBytes((long)(offset + (ulong)chunk * WindowSize), (int)size, context); in WriteBinaryMemoryChunk()
106 var data = memory.ReadBytes((long)readOffset, (int)size, context); in WriteHexMemoryChunk()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Memory/
DMappedMemory.cs207 var bytes = ReadBytes(offset, sizeof(uint)); in ReadDoubleWord()
248 var bytes = ReadBytes(offset, sizeof(ulong)); in ReadQuadWord()
277 public void ReadBytes(long offset, int count, byte[] destination, int startIndex) in ReadBytes() method in Antmicro.Renode.Peripherals.Memory.MappedMemory
297 public byte[] ReadBytes(long offset, int count, IPeripheral context = null) in ReadBytes() method in Antmicro.Renode.Peripherals.Memory.MappedMemory
300 ReadBytes(offset, count, result, 0); in ReadBytes()
481 var compressedBuffer = reader.ReadBytes(compressedSegmentSize); in Load()

1234