| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/ |
| D | Range.cs | 21 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 …]
|
| D | Machine.cs | 1724 … 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/ |
| D | GaislerAPBController.cs | 96 return (uint)(registrationPoint.Range.StartAddress >> 20) & 0xfff; in GetBusAddress() 109 var deviceAddress = registration.Range.StartAddress; in cacheRecords()
|
| D | GaislerAHBPlugAndPlayInfo.cs | 78 var deviceAddress = registration.Range.StartAddress; in cacheRecords()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CAN/ |
| D | MCAN_Structures.cs | 29 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
|
| D | MCAN.cs | 604 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/ |
| D | SystemBus.cs | 209 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 …]
|
| D | BusMultiRegistration.cs | 65 …erForEachContextInner(register, cpu => new BusMultiRegistration(Range.StartAddress, Range.Size, Co… in RegisterForEachContext()
|
| D | Redirector.cs | 72 return address - range.StartAddress + redirectedAddress; in TranslateAbsolute()
|
| D | BusRangeRegistration.cs | 87 … 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/ |
| D | ProfilerHeader.cs | 50 buffer.AddRange(BitConverter.GetBytes(registrationPoint.Range.StartAddress)); in RegisterPeripherals()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Video/ |
| D | LiteX_Framebuffer_CSR32.cs | 84 … var memoryBase = (uint)sysbus.GetRegistrationPoints(memory).First().Range.StartAddress; in DefineDMARegisters()
|
| D | LiteX_Framebuffer.cs | 83 … var memoryBase = (uint)sysbus.GetRegistrationPoints(memory).First().Range.StartAddress; in DefineRegisters()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Arm/ARM_GenericInterruptController/ |
| D | ArmGicRedistributorRegistration.cs | 112 …er(register, visibleTo => new ArmGicRedistributorRegistration(Cpu, Range.StartAddress, visibleTo)); in RegisterForEachContext()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CAN/S32K3XX_FlexCAN/ |
| D | S32K3XX_FlexCAN.cs | 68 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/ |
| D | Gaisler_FaultTolerantMemoryController.cs | 53 promAddress = sysbus.GetRegistrationPoints(prom).Single().Range.StartAddress; in Register()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/PCI/ |
| D | MPFS_PCIe.cs | 185 …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/ |
| D | STM32L0_FlashController.cs | 267 var offset = physicalAddress - registered.RegistrationPoint.Range.StartAddress; in EraseMemoryAccessHook()
|
| D | OpenTitan_FlashController.cs | 155 .Select(pint => pint.Range.StartAddress); in OpenTitan_FlashController()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/Extensions/ |
| D | FileLoaderExtensions.cs | 302 …currentSegmentInfo = currentSegmentInfo.Value.StartAddress.By(currentSegmentInfo.Value.Size + data… in LoadSRecord()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/ |
| D | TranslationCPU.cs | 978 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/ |
| D | BaseRiscV.cs | 721 …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/ |
| D | SystemBusTests.cs | 574 … RegisterForEachContextInner(register, _ => new Registration(Range.StartAddress, Range.Size)); in RegisterForEachContext()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Memory/ |
| D | MappedMemory.cs | 724 …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/ |
| D | GenericSpiFlash.cs | 638 underlyingMemory.WriteBytes((long)range.StartAddress, segment); in EraseRangeUnchecked()
|