Home
last modified time | relevance | path

Searched refs:StartAddress (Results 1 – 25 of 26) sorted by relevance

12

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/
DRange.cs21 StartAddress = startAddress; in Range()
25 … CreationAssert(EndAddress >= StartAddress, startAddress, () => $"size is too large: 0x{size:X}"); in Range()
40 return address >= StartAddress && address <= EndAddress; in Contains()
57 return range.StartAddress >= StartAddress && range.EndAddress <= EndAddress; in Contains()
71 var startAddress = Math.Min(StartAddress, range.StartAddress); in Expand()
79 var startAddress = Math.Max(StartAddress, range.StartAddress); in Intersect()
90 return (StartAddress != 0x0 && StartAddress == range.EndAddress + 1) in IsAdjacentTo()
91 || (EndAddress != ulong.MaxValue && EndAddress == range.StartAddress - 1); in IsAdjacentTo()
110 if(sub.Contains(StartAddress)) in Subtract()
119 return new List<Range> { new Range(StartAddress, sub.StartAddress - StartAddress) }; in Subtract()
[all …]
DMachine.cs1724 … cpu.RegisterAccessFlags(range.StartAddress, range.Size, isIoMemory: true); in PostCreationActions()
1731 … cpuWithMappedMemory.RegisterAccessFlags(range.StartAddress, range.Size, isIoMemory: true); in PostCreationActions()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Bus/
DGaislerAPBController.cs96 return (uint)(registrationPoint.Range.StartAddress >> 20) & 0xfff; in GetBusAddress()
109 var deviceAddress = registration.Range.StartAddress; in cacheRecords()
DGaislerAHBPlugAndPlayInfo.cs78 var deviceAddress = registration.Range.StartAddress; in cacheRecords()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CAN/
DMCAN_Structures.cs29 StartAddress = rv.RxFIFO0Configuration.RxFIFO0StartAddress, in BuildStructuredViews()
47 StartAddress = rv.RxFIFO1Configuration.RxFIFO1StartAddress, in BuildStructuredViews()
81 StartAddress = rv.RxBufferConfiguration.RxBufferStartAddress, in BuildStructuredViews()
87 StartAddress = rv.TxBufferConfiguration.TxBuffersStartAddress, in BuildStructuredViews()
107 StartAddress = rv.TxEventFIFOConfiguration.EventFIFOStartAddress, in BuildStructuredViews()
624 public IValueRegisterField StartAddress; field
699 public IValueRegisterField StartAddress; field
816 public IValueRegisterField StartAddress; field
825 public IValueRegisterField StartAddress; field
DMCAN.cs604 var startAddress = (int)(txBuffers.StartAddress.Value << 2); in ScanDedicatedTxBuffers()
638 var startAddress = (int)(txBuffers.StartAddress.Value << 2); in ScanTxFIFO()
667 var startAddress = (int)(txBuffers.StartAddress.Value << 2); in ScanTxQueue()
796 …var addr = (txEventFIFO.StartAddress.Value << 2) + txEventFIFO.PutIndex * (ulong)TxEventFIFOElemen… in StoreInTxEventFIFO()
1168 …var addr = (rxFIFO.StartAddress.Value << 2) + rxFIFO.RxFIFOPutIndex * (ulong)fifoElementSizeInByte… in StoreInRxFIFO()
1224 var startAddress = rxBuffer.StartAddress.Value << 2; in StoreInRxBuffer()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Bus/
DSystemBus.cs209 cpu.RegisterAccessFlags(range.StartAddress, range.Size, isIoMemory: true); in MoveRegistrationWithinContext()
620 …es(checked((long)(target.Offset - target.What.RegistrationPoint.Range.StartAddress + target.What.R… in ReadBytes()
667 …es(checked((long)(target.Offset - target.What.RegistrationPoint.Range.StartAddress + target.What.R… in WriteBytes()
697 … WriteBytes(zeroBlock, range.StartAddress + i * (ulong)zeroBlock.Length, context: context); in ZeroRange()
699 …WriteBytes(zeroBlock, range.StartAddress + blocksNo * (ulong)zeroBlock.Length, (int)range.Size % z… in ZeroRange()
721 GetOrCreateLookup(context).InsertSymbol(name, address.StartAddress, address.Size); in AddSymbol()
1024 RemoveTag(parentRange.StartAddress); in Tag()
1025 var parentRangeAfterSplitSizeLeft = range.StartAddress - parentRange.StartAddress; in Tag()
1028 …Tag(new Range(parentRange.StartAddress, parentRangeAfterSplitSizeLeft), parentName, parentDefaultV… in Tag()
1296 …collection.Remove(busRegistered.RegistrationPoint.Range.StartAddress, busRegistered.RegistrationPo… in UnregisterInner()
[all …]
DBusMultiRegistration.cs65 …erForEachContextInner(register, cpu => new BusMultiRegistration(Range.StartAddress, Range.Size, Co… in RegisterForEachContext()
DRedirector.cs72 return address - range.StartAddress + redirectedAddress; in TranslateAbsolute()
DBusRangeRegistration.cs87 … ICluster<ICPU> cluster = null, string condition = null) : base(range.StartAddress, offset, cpu, c… in BusRangeRegistration()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Logging/Profiler/
DProfilerHeader.cs50 buffer.AddRange(BitConverter.GetBytes(registrationPoint.Range.StartAddress)); in RegisterPeripherals()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Video/
DLiteX_Framebuffer_CSR32.cs84 … var memoryBase = (uint)sysbus.GetRegistrationPoints(memory).First().Range.StartAddress; in DefineDMARegisters()
DLiteX_Framebuffer.cs83 … var memoryBase = (uint)sysbus.GetRegistrationPoints(memory).First().Range.StartAddress; in DefineRegisters()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Arm/ARM_GenericInterruptController/
DArmGicRedistributorRegistration.cs112 …er(register, visibleTo => new ArmGicRedistributorRegistration(Cpu, Range.StartAddress, visibleTo)); in RegisterForEachContext()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CAN/S32K3XX_FlexCAN/
DS32K3XX_FlexCAN.cs68 var messageBufferOffset = offset - (long)messageBufferRange.StartAddress; in ReadDoubleWord()
86 var mbOffset = (ulong)offset - messageBufferRange.StartAddress; in WriteDoubleWord()
101 var messageBufferOffset = offset - (long)messageBufferRange.StartAddress; in ReadByte()
119 var mbOffset = (ulong)offset - messageBufferRange.StartAddress; in WriteByte()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/MemoryControllers/
DGaisler_FaultTolerantMemoryController.cs53 promAddress = sysbus.GetRegistrationPoints(prom).Single().Range.StartAddress; in Register()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/PCI/
DMPFS_PCIe.cs185 …argetBarEntry.Value.BarNumber, (long)(translatedAddress - targetBarEntry.Key.StartAddress), value); in WriteDoubleWordEcam()
224 …eWord(targetBarEntry.Value.BarNumber, (long)(translatedAddress - targetBarEntry.Key.StartAddress)); in ReadDoubleWordEcam()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/MTD/
DSTM32L0_FlashController.cs267 var offset = physicalAddress - registered.RegistrationPoint.Range.StartAddress; in EraseMemoryAccessHook()
DOpenTitan_FlashController.cs155 .Select(pint => pint.Range.StartAddress); in OpenTitan_FlashController()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/Extensions/
DFileLoaderExtensions.cs302 …currentSegmentInfo = currentSegmentInfo.Value.StartAddress.By(currentSegmentInfo.Value.Size + data… in LoadSRecord()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/
DTranslationCPU.cs978 TlibMapRange(range.StartAddress, range.Size); in SetAccessMethod()
982 TlibUnmapRange(range.StartAddress, range.EndAddress); in SetAccessMethod()
990 var startUnaligned = (range.StartAddress % pageSize) != 0; in ValidateMemoryRangeAndThrow()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/RiscV/
DBaseRiscV.cs721 …adIndirectCSR(iselect - (uint)GetRegistrationPoints(peripheral).Single().Range.StartAddress, ireg); in ReadIndirectCSR()
732 …ectCSR(iselect - (uint)GetRegistrationPoints(peripheral).Single().Range.StartAddress, ireg, value); in WriteIndirectCSR()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/
DSystemBusTests.cs574 … RegisterForEachContextInner(register, _ => new Registration(Range.StartAddress, Range.Size)); in RegisterForEachContext()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Memory/
DMappedMemory.cs724 …hine.SystemBus.GetRegistrationPoints(this).Select(x => (long)(x.Range.StartAddress + x.Offset)).To… in GetRegistrationPoints()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/SPI/
DGenericSpiFlash.cs638 underlyingMemory.WriteBytes((long)range.StartAddress, segment); in EraseRangeUnchecked()

12