Home
last modified time | relevance | path

Searched refs:start (Results 1 – 25 of 32) sorted by relevance

12

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Bus/
DSymbol.cs85 public Symbol(SymbolAddress start, SymbolAddress end) in Symbol() argument
87 Start = start; in Symbol()
100 …public Symbol(SymbolAddress start, SymbolAddress end, string name, SymbolType type = SymbolType.No… in Symbol() argument
102 if(end < start) in Symbol()
104 …eption(string.Format("Symbol cannot have start before the end. Input was: ({0},{1})", start, end)); in Symbol()
109 Start = start; in Symbol()
171 public bool TryGetLeftTrimmed(SymbolAddress start, out Symbol trimmedSymbol) in TryGetLeftTrimmed() argument
174 if(End < start) in TryGetLeftTrimmed()
179 if(thumbArchitecture && (start % 2) != 0) in TryGetLeftTrimmed()
181 start += 1; in TryGetLeftTrimmed()
[all …]
DPeripheralCollection.cs54 …public void Add(ulong start, ulong end, IBusRegistered<IBusPeripheral> peripheral, PeripheralAcces… in Add() argument
62 …var block = new Block { Start = start, End = end, AccessMethods = accessMethods, Peripheral = peri… in Add()
66 if((start & PageAlign) != 0) in Add()
72 … var size = end - start; // don't add 1 because `end` is actually one past the end. in Add()
97 shortBlocks.Add(start + i * PageSize, block); in Add()
166 public void Remove(ulong start, ulong end) in Remove() argument
170 blocks = blocks.Where(x => x.Start > end || x.End < start).ToArray(); in Remove()
171 …var toRemove = shortBlocks.Where(x => x.Value.Start >= start && x.Value.End <= end).Select(x => x.… in Remove()
DSymbolLookup.cs80 …public void InsertSymbol(string name, SymbolAddress start, SymbolAddress size, SymbolType type = S… in InsertSymbol() argument
82 var symbol = new Symbol(start, start + size, name, type, binding, isThumb); in InsertSymbol()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/CPU/GDB/
DGDBTypeBitField.cs14 public GDBTypeBitField(string name, uint start, uint end, string type) : this() in GDBTypeBitField()
17 this.Start = start; in GDBTypeBitField()
22 public static GDBTypeBitField Filler(uint start, uint end, string type) in Filler()
24 return new GDBTypeBitField("", start, end, type); in Filler()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/
DMemoryTests.cs26 var start = (ulong)100.MB(); in ShouldReadWriteMemoryBiggerThan2GB()
27 machine.SystemBus.Register(memory, start); in ShouldReadWriteMemoryBiggerThan2GB()
28 var offset1 = start + 16; in ShouldReadWriteMemoryBiggerThan2GB()
29 var offset2 = start + MemorySize - 16; in ShouldReadWriteMemoryBiggerThan2GB()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/renode/
Drenode_memory.c16 uint64_t start; member
22 uint64_t start; member
85 …if(offset >= current_block->element->start && offset <= (current_block->element->start + current_b… in tlib_guest_offset_to_host_ptr()
87 return current_block->element->host_pointer + (offset - current_block->element->start); in tlib_guest_offset_to_host_ptr()
112 return current_block->element->start + (ptr - current_block->element->host_pointer); in tlib_host_ptr_to_guest_offset()
156 new_mappings->elements[i].start = blocks[i].start; in renode_set_host_blocks()
Drenode_callbacks.c63 void tlib_invalidate_tb_in_other_cpus(uintptr_t start, uintptr_t end) in EXTERNAL_AS()
65 invalidate_tb_in_other_cpus((void*)start, (void*)end); in EXTERNAL_AS()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/RiscV/
DCoreLocalInterruptController.cs144 …var start = (iselect - InterruptControlAttribute) * 4 + (ireg == 0 ? 2 : 3); // ireg: control, ire… in ReadIndirectCSR()
145 return ReadByte(start) in ReadIndirectCSR()
146 | ((uint)ReadByte(start + 4) << 8) in ReadIndirectCSR()
147 | ((uint)ReadByte(start + 8) << 16) in ReadIndirectCSR()
148 | ((uint)ReadByte(start + 12) << 24); in ReadIndirectCSR()
153 var start = (iselect - InterruptPendingEnable) * 32; in ReadIndirectCSR()
156 .Skip((int)start) in ReadIndirectCSR()
189 var start = (iselect - InterruptControlAttribute) * 4 + (ireg == 0 ? 2 : 3); in WriteIndirectCSR()
190 WriteByte(start, (byte)value); in WriteIndirectCSR()
191 WriteByte(start + 4, (byte)(value >> 8)); in WriteIndirectCSR()
[all …]
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Utilities/GDB/Commands/
DReadGeneralRegistersCommand.cs25 var start = registers.Length; in Execute()
32 ExpandRegisterValue(ref registers, start, registers.Length, i.Index); in Execute()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/Collections/
DCircularBuffer.cs93 var start = FirstPosition; in CopyTo()
94 var rightSideLength = buffer.Length - start; in CopyTo()
95 Array.Copy(buffer, start, array, arrayIndex, rightSideLength); in CopyTo()
DInterval.cs67 public Interval(TScalar start, TScalar end) in Interval() argument
69 Start = start; in Interval()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/SPI/
DMacronix_MX25R.cs63 var start = topBottom.Value ? 0 : UnderlyingMemory.Size - protectedSize; in UpdateLockedRange()
64 lockedRange = new Range((ulong)start, (ulong)protectedSize); in UpdateLockedRange()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/I2C/
DSTM32F7_I2C.cs146 .WithFlag(13, out start, name: "START") in CreateRegisters()
159 if(start.Value && stop.Value) in CreateRegisters()
163 else if(start.Value) in CreateRegisters()
172 if(!start.Value) in CreateRegisters()
188 start.Value = false; in CreateRegisters()
476 private IFlagRegisterField start; field in Antmicro.Renode.Peripherals.I2C.STM32F7_I2C
DSAM4S_TWI.cs79 .WithFlag(0, out var start, FieldMode.Write, name: "START", in DefineRegisters()
103 .WithWriteCallback((_, __) => TriggerAction(start.Value, stop.Value)) in DefineRegisters()
432 private void TriggerAction(bool start, bool stop) in TriggerAction() argument
434 …this.NoisyLog("TWI_CR.START={0}, TWI_CR.STOP={1}, TWI_MMR.MREAD={2}", start, stop, readDirection.V… in TriggerAction()
435 if(!start && !stop) in TriggerAction()
440 if(start) in TriggerAction()
460 if(start && stop) in TriggerAction()
464 else if(start) in TriggerAction()
DOpenTitan_I2C.cs317 …EnqueueAcquired(new AcquireFormatIndicator(data[0], start: true, stop: currentState == State.Trans… in Write()
323 EnqueueAcquired(new AcquireFormatIndicator(data[index], start: false, stop: false)); in Write()
347 EnqueueAcquired(new AcquireFormatIndicator(0x0, start: false, stop: true)); in FinishTransmission()
675 public AcquireFormatIndicator(byte data, bool start, bool stop) in AcquireFormatIndicator()
678 if(start) in AcquireFormatIndicator()
686 this.StartFlag = start; in AcquireFormatIndicator()
708 return new AcquireFormatIndicator(data, start: startFlag, stop: stopFlag); in FromRegister()
719 …public FormatIndicator(byte data, bool start = false, bool stop = false, bool read = false, bool r… in FormatIndicator()
724 this.StartFlag = start; in FormatIndicator()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Test/PeripheralsTests/
DOpenTitan_I2C_Test.cs68 var command = new I2C.FormatIndicator(data: Sensor1Address, start: true); in ShouldSetExceptionOnFmtWatermark()
88 EnqueueCommand(new I2C.FormatIndicator(data: Sensor1Address, start: true)); in ShouldSetExceptionOnRxWatermark()
104 var command = new I2C.FormatIndicator(data: Sensor1Address, start: true); in ShouldSetExceptionOnOverflow()
155 EnqueueCommand(new I2C.FormatIndicator(data: Sensor1Address, start: true)); in ShouldNotAcceptCommandsWhenInTargetMode()
292 EnqueueCommand(new I2C.FormatIndicator(data: address, start: true)); in EnqueueReadFromSlave()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Memory/
DGenericI2cEeprom.cs155 private IEnumerable<byte> ReadRollover(int start, int size, int offset, int count) in ReadRollover() argument
157 var data = Memory.ReadBytes(start, size); in ReadRollover()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/IRQControllers/
DAIC.cs228 private int IsOffsetInRange(uint offset, uint start, uint step, byte count) in IsOffsetInRange() argument
230 var position = start; in IsOffsetInRange()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/DMA/
DTegraDma.cs209 var start = ((1 << 31) & value) != 0; in HandleControlWrite()
222 if(start && parent.enabled) in HandleControlWrite()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/GDB/
DCommand.cs167 protected void ExpandRegisterValue(ref StringBuilder data, int start, int end, int register) in ExpandRegisterValue() argument
171 var width = (end - start) * 4; in ExpandRegisterValue()
175 …data.Insert(isLittleEndian ? end : start, "00", ((int)reportedRegisters.First().Size - width) / 8); in ExpandRegisterValue()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Memory/
DMappedMemory.cs692 private void InvalidateMemoryFragment(long start, int length) in InvalidateMemoryFragment() argument
700 … this.NoisyLog("Invalidating memory fragment at 0x{0:X} of size {1} bytes.", start, length); in InvalidateMemoryFragment()
710 …mic)cpu).InvalidateTranslationBlocks(new IntPtr(regPoint + start), new IntPtr(regPoint + start + l… in InvalidateMemoryFragment()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Timers/
DSAM_TC.cs414 public void Enable(bool start = false, bool debugLog = true) in Enable() argument
417 UpdateTimer(start); in Enable()
584 private void UpdateTimer(bool start = false) in UpdateTimer() argument
618 timer.Enabled |= start; in UpdateTimer()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/
DMisc.cs499 …c IEnumerable<int> ConcatRangeFromTo(this IEnumerable<int> enumerable, int start, int stopIncluded) in ConcatRangeFromTo() argument
501 return enumerable.Concat(Enumerable.Range(start, stopIncluded - start + 1)); in ConcatRangeFromTo()
828 private static ushort ComputeHeaderIpChecksum(byte[] header, int start, int length) in ComputeHeaderIpChecksum() argument
832 for (var i = start; i < (length + start); i+=2) in ComputeHeaderIpChecksum()
834 if(i - start == 10) in ComputeHeaderIpChecksum()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/SymbolLookup/
DSymbolLookupTests.cs524 private Symbol MakeSymbolEntry(string name, uint start, uint length) in MakeSymbolEntry() argument
526 var symbol = new Symbol(start, start + length, name); in MakeSymbolEntry()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/
DTranslationCPU.cs1036 private uint IsMemoryDisabled(ulong start, ulong size) in IsMemoryDisabled() argument
1038 return disabledMemory.ContainsOverlappingRange(start.By(size)) ? 1u : 0u; in IsMemoryDisabled()
1212 public void InvalidateTranslationBlocks(IntPtr start, IntPtr end) in InvalidateTranslationBlocks() argument
1218 TlibInvalidateTranslationBlocks(start, end); in InvalidateTranslationBlocks()
1451 private void InvalidateTbInOtherCpus(IntPtr start, IntPtr end) in InvalidateTbInOtherCpus() argument
1456 cpu.InvalidateTranslationBlocks(start, end); in InvalidateTbInOtherCpus()

12