Home
last modified time | relevance | path

Searched refs:segmentSize (Results 1 – 2 of 2) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Memory/
DMappedMemory.cs66 …public MappedMemory(IMachine machine, long size, int? segmentSize = null, string sharedMemoryFileR… in MappedMemory() argument
73 if(segmentSize == null) in MappedMemory()
77segmentSize = (int)(Math.Ceiling(1.0 * proposedSegmentSize / MinimalSegmentSize) * MinimalSegmentS… in MappedMemory()
78 …og("Segment size automatically calculated to value {0}B", Misc.NormalizeBinary(segmentSize.Value)); in MappedMemory()
82 SegmentSize = segmentSize.Value; in MappedMemory()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/SPI/
DGenericSpiFlash.cs641 private void EraseSegment(int segmentSize) in EraseSegment() argument
645 var position = segmentSize * (currentOperation.ExecutionAddress / segmentSize); in EraseSegment()
646 var segmentToErase = new Range((ulong)position, (ulong)segmentSize); in EraseSegment()