Lines Matching refs:context

33 …    public virtual byte ReadByte(ulong address, IPeripheral context = null, ulong? cpuState = null)  in ReadByte()  argument
35 if(ValidateOperation(ref address, BusAccessPrivileges.Read, context)) in ReadByte()
37 return ParentController.ReadByte(address, context, cpuState); in ReadByte()
42 … public virtual byte ReadByteWithState(ulong address, IPeripheral context, IContextState stateObj) in ReadByteWithState() argument
44 if(ValidateOperation(ref address, BusAccessPrivileges.Read, context)) in ReadByteWithState()
46 return ParentController.ReadByteWithState(address, context, stateObj); in ReadByteWithState()
51 …public virtual void WriteByte(ulong address, byte value, IPeripheral context = null, ulong? cpuSta… in WriteByte() argument
53 if(ValidateOperation(ref address, BusAccessPrivileges.Write, context)) in WriteByte()
55 ParentController.WriteByte(address, value, context, cpuState); in WriteByte()
59 …public virtual void WriteByteWithState(ulong address, byte value, IPeripheral context, IContextSta… in WriteByteWithState() argument
61 if(ValidateOperation(ref address, BusAccessPrivileges.Write, context)) in WriteByteWithState()
63 ParentController.WriteByteWithState(address, value, context, stateObj); in WriteByteWithState()
67 … public virtual ushort ReadWord(ulong address, IPeripheral context = null, ulong? cpuState = null) in ReadWord() argument
69 if(ValidateOperation(ref address, BusAccessPrivileges.Read, context)) in ReadWord()
71 return ParentController.ReadWord(address, context, cpuState); in ReadWord()
76 …public virtual ushort ReadWordWithState(ulong address, IPeripheral context, IContextState stateObj) in ReadWordWithState() argument
78 if(ValidateOperation(ref address, BusAccessPrivileges.Read, context)) in ReadWordWithState()
80 return ParentController.ReadWordWithState(address, context, stateObj); in ReadWordWithState()
85 …public virtual void WriteWord(ulong address, ushort value, IPeripheral context = null, ulong? cpuS… in WriteWord() argument
87 if(ValidateOperation(ref address, BusAccessPrivileges.Write, context)) in WriteWord()
89 ParentController.WriteWord(address, value, context, cpuState); in WriteWord()
93 …public virtual void WriteWordWithState(ulong address, ushort value, IPeripheral context, IContextS… in WriteWordWithState() argument
95 if(ValidateOperation(ref address, BusAccessPrivileges.Write, context)) in WriteWordWithState()
97 ParentController.WriteWordWithState(address, value, context, stateObj); in WriteWordWithState()
101 …public virtual uint ReadDoubleWord(ulong address, IPeripheral context = null, ulong? cpuState = nu… in ReadDoubleWord() argument
103 if(ValidateOperation(ref address, BusAccessPrivileges.Read, context)) in ReadDoubleWord()
105 return ParentController.ReadDoubleWord(address, context, cpuState); in ReadDoubleWord()
110 …public virtual uint ReadDoubleWordWithState(ulong address, IPeripheral context, IContextState stat… in ReadDoubleWordWithState() argument
112 if(ValidateOperation(ref address, BusAccessPrivileges.Read, context)) // todo state in ReadDoubleWordWithState()
114 return ParentController.ReadDoubleWordWithState(address, context, stateObj); in ReadDoubleWordWithState()
119 …public virtual void WriteDoubleWord(ulong address, uint value, IPeripheral context = null, ulong? … in WriteDoubleWord() argument
121 if(ValidateOperation(ref address, BusAccessPrivileges.Write, context)) in WriteDoubleWord()
123 ParentController.WriteDoubleWord(address, value, context, cpuState); in WriteDoubleWord()
127 …public virtual void WriteDoubleWordWithState(ulong address, uint value, IPeripheral context, ICont… in WriteDoubleWordWithState() argument
129 if(ValidateOperation(ref address, BusAccessPrivileges.Write, context)) in WriteDoubleWordWithState()
131 ParentController.WriteDoubleWordWithState(address, value, context, stateObj); in WriteDoubleWordWithState()
135 …int count, byte[] destination, int startIndex, bool onlyMemory = false, IPeripheral context = null) in ReadBytes() argument
137 if(ValidateOperation(ref address, BusAccessPrivileges.Read, context)) in ReadBytes()
139 … ParentController.ReadBytes(address, count, destination, startIndex, onlyMemory, context); in ReadBytes()
143 …ual byte[] ReadBytes(ulong address, int count, bool onlyMemory = false, IPeripheral context = null) in ReadBytes() argument
146 ReadBytes(address, count, result, 0, onlyMemory, context); in ReadBytes()
150 public virtual byte[] ReadBytes(long offset, int count, IPeripheral context = null) in ReadBytes() argument
152 return ReadBytes((ulong)offset, count, context: context); in ReadBytes()
155 …l void WriteBytes(byte[] bytes, ulong address, bool onlyMemory = false, IPeripheral context = null) in WriteBytes() argument
157 WriteBytes(bytes, address, bytes.Length, onlyMemory, context); in WriteBytes()
160 … ulong address, int startingIndex, long count, bool onlyMemory = false, IPeripheral context = null) in WriteBytes() argument
162 if(ValidateOperation(ref address, BusAccessPrivileges.Write, context)) in WriteBytes()
164 … ParentController.WriteBytes(bytes, address, startingIndex, count, onlyMemory, context); in WriteBytes()
168 …Bytes(byte[] bytes, ulong address, long count, bool onlyMemory = false, IPeripheral context = null) in WriteBytes() argument
170 WriteBytes(bytes, address, 0, count, onlyMemory, context); in WriteBytes()
173 …oid WriteBytes(long offset, byte[] array, int startingIndex, int count, IPeripheral context = null) in WriteBytes() argument
175 WriteBytes(array, (ulong)offset, startingIndex, count, context: context); in WriteBytes()
178 …public virtual bool TryConvertStateToUlongForContext(IPeripheral context, IContextState stateObj, … in TryConvertStateToUlongForContext() argument
181 if(!ParentController.TryConvertStateToUlongForContext(context, stateObj, out state)) in TryConvertStateToUlongForContext()
188 … public virtual IBusRegistered<IBusPeripheral> WhatIsAt(ulong address, IPeripheral context = null) in WhatIsAt() argument
190 ValidateOperation(ref address, BusAccessPrivileges.Other, context); in WhatIsAt()
191 return ParentController.WhatIsAt(address, context); in WhatIsAt()
194 public virtual IPeripheral WhatPeripheralIsAt(ulong address, IPeripheral context = null) in WhatPeripheralIsAt() argument
196 ValidateOperation(ref address, BusAccessPrivileges.Other, context); in WhatPeripheralIsAt()
197 return ParentController.WhatPeripheralIsAt(address, context); in WhatPeripheralIsAt()
220 …tual bool TryGetCurrentContextState<T>(out IPeripheralWithTransactionState context, out T stateObj) in TryGetCurrentContextState() argument
222 return ParentController.TryGetCurrentContextState(out context, out stateObj); in TryGetCurrentContextState()
230 …al IEnumerable<IBusRegistered<IBusPeripheral>> GetRegisteredPeripherals(IPeripheral context = null) in GetRegisteredPeripherals() argument
232 return ParentController.GetRegisteredPeripherals(context); in GetRegisteredPeripherals()
235 …le<IBusRegistered<IBusPeripheral>> GetRegistrationsForPeripheralType<T>(IPeripheral context = null) in GetRegistrationsForPeripheralType() argument
237 return ParentController.GetRegistrationsForPeripheralType<T>(context); in GetRegistrationsForPeripheralType()
280 public virtual string FindSymbolAt(ulong offset, ICPU context = null) in FindSymbolAt() argument
282 return ParentController.FindSymbolAt(offset, context); in FindSymbolAt()
285 public virtual bool IsAddressRangeLocked(Range range, IPeripheral context = null) in IsAddressRangeLocked() argument
287 return ParentController.IsAddressRangeLocked(range, context); in IsAddressRangeLocked()
290 … public virtual void SetAddressRangeLocked(Range range, bool locked, IPeripheral context = null) in SetAddressRangeLocked() argument
292 ParentController.SetAddressRangeLocked(range, locked, context); in SetAddressRangeLocked()
310 …virtual bool TryFindSymbolAt(ulong offset, out string name, out Symbol symbol, ICPU context = null) in TryFindSymbolAt() argument
312 return ParentController.TryFindSymbolAt(offset, out name, out symbol, context); in TryFindSymbolAt()
315 …public virtual ulong ReadQuadWord(ulong address, IPeripheral context = null, ulong? cpuState = nul… in ReadQuadWord() argument
317 return ParentController.ReadQuadWord(address, context, cpuState); in ReadQuadWord()
320 …public virtual ulong ReadQuadWordWithState(ulong address, IPeripheral context, IContextState state… in ReadQuadWordWithState() argument
322 return ParentController.ReadQuadWordWithState(address, context, stateObj); in ReadQuadWordWithState()
325 …public virtual void WriteQuadWord(ulong address, ulong value, IPeripheral context = null, ulong? c… in WriteQuadWord() argument
327 ParentController.WriteQuadWord(address, value, context, cpuState); in WriteQuadWord()
330 …public virtual void WriteQuadWordWithState(ulong address, ulong value, IPeripheral context, IConte… in WriteQuadWordWithState() argument
332 ParentController.WriteQuadWordWithState(address, value, context, stateObj); in WriteQuadWordWithState()
370 …xt(IBusPeripheral peripheral, BusRangeRegistration newRegistration, ICPU context, Func<IEnumerable… in MoveRegistrationWithinContext() argument
372 … ParentController.MoveRegistrationWithinContext(peripheral, newRegistration, context, selector); in MoveRegistrationWithinContext()
410 public virtual void ZeroRange(Range range, IPeripheral context = null) in ZeroRange() argument
412 ParentController.ZeroRange(range, context); in ZeroRange()
420 public virtual void UnregisterFromAddress(ulong address, ICPU context = null) in UnregisterFromAddress() argument
422 ParentController.UnregisterFromAddress(address, context); in UnregisterFromAddress()
425 public virtual IBusRegistered<MappedMemory> FindMemory(ulong address, ICPU context = null) in FindMemory() argument
427 return ParentController.FindMemory(address, context); in FindMemory()
430 public virtual bool IsMemory(ulong address, ICPU context = null) in IsMemory() argument
432 return ParentController.IsMemory(address, context); in IsMemory()
450 …mbolsFrom(IELF elf, bool useVirtualAddress = false, ulong? textAddress = null, ICPU context = null) in LoadSymbolsFrom() argument
452 ParentController.LoadSymbolsFrom(elf, useVirtualAddress, textAddress, context); in LoadSymbolsFrom()
465 …edSegment segment, IBusPeripheral owner, bool relative = true, ICPUWithMappedMemory context = null) in MapMemory() argument
467 ParentController.MapMemory(segment, owner, relative, context); in MapMemory()
470 public virtual SymbolLookup GetLookup(ICPU context = null) in GetLookup() argument
472 return ParentController.GetLookup(context); in GetLookup()
475 …tAllSymbolAddresses(string symbolName, out IEnumerable<ulong> symbolAddresses, ICPU context = null) in TryGetAllSymbolAddresses() argument
477 … return ParentController.TryGetAllSymbolAddresses(symbolName, out symbolAddresses, context); in TryGetAllSymbolAddresses()
490 …ol ValidateOperation(ref ulong address, BusAccessPrivileges accessType, IPeripheral context = null) in ValidateOperation() argument