Searched refs:memoryOffset (Results 1 – 4 of 4) sorted by relevance
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/Disassembler/ |
| D | LLVMDisassembler.cs | 32 …eInstruction(ulong pc, byte[] data, uint flags, out DisassemblyResult result, int memoryOffset = 0) in TryDisassembleInstruction() argument 34 …return GetDisassembler(flags).TryDisassembleInstruction(pc, data, flags, out result, memoryOffset); in TryDisassembleInstruction() 37 … TryDecodeInstruction(ulong pc, byte[] memory, uint flags, out byte[] opcode, int memoryOffset = 0) in TryDecodeInstruction() argument 39 … return GetDisassembler(flags).TryDecodeInstruction(pc, memory, flags, out opcode, memoryOffset); in TryDecodeInstruction() 49 … if(!TryDisassembleInstruction(pc, memory, flags, out var result, memoryOffset: sofar)) in DisassembleBlock() 151 …eInstruction(ulong pc, byte[] data, uint flags, out DisassemblyResult result, int memoryOffset = 0) in TryDisassembleInstruction() argument 154 var marshalledData = Marshal.AllocHGlobal(data.Length - memoryOffset); in TryDisassembleInstruction() 156 Marshal.Copy(data, memoryOffset, marshalledData, data.Length - memoryOffset); in TryDisassembleInstruction() 158 …lvm_disasm_instruction(context, marshalledData, (ulong)(data.Length - memoryOffset), strBuf, 1024); in TryDisassembleInstruction() 166 if(!HexFormatter(strBldr, bytes, memoryOffset, data)) in TryDisassembleInstruction() [all …]
|
| D | IDisassembler.cs | 14 …struction(ulong pc, byte[] memory, uint flags, out DisassemblyResult result, int memoryOffset = 0); in TryDisassembleInstruction() argument 15 …TryDecodeInstruction(ulong pc, byte[] memory, uint flags, out byte[] opcode, int memoryOffset = 0); in TryDecodeInstruction() argument
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/RiscV/ |
| D | Andes_AndeStarV5Extension.cs | 65 var memoryOffset = imm + cpu.GetRegister(MemoryOperationsImpliedRegister).RawValue; in ReadFromMemoryToRegister() 72 data = bus.ReadByte(memoryOffset, cpu); in ReadFromMemoryToRegister() 76 data = bus.ReadWord(memoryOffset, cpu); in ReadFromMemoryToRegister() 80 data = bus.ReadDoubleWord(memoryOffset, cpu); in ReadFromMemoryToRegister() 102 var memoryOffset = imm + cpu.GetRegister(MemoryOperationsImpliedRegister).RawValue; in WriteRegisterToMemory() 109 bus.WriteByte(memoryOffset, (byte)regValue, cpu); in WriteRegisterToMemory() 112 bus.WriteWord(memoryOffset, (ushort)regValue, cpu); in WriteRegisterToMemory() 115 bus.WriteDoubleWord(memoryOffset, (uint)regValue, cpu); in WriteRegisterToMemory()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/MTD/ |
| D | SamsungK9NANDFlash.cs | 116 … var memoryOffset = addressBytes[0] | (uint)addressBytes[1] << 8 | (uint)addressBytes[2] << 16; in DefineRegisters() 117 …memoryOffset *= (uint)EraseBlockSize / 32; // The block number shifted into the device is multipli… in DefineRegisters() 118 SeekStream(memoryOffset); in DefineRegisters() 124 var memoryOffset = row * RowWidth + column; in DefineRegisters() 125 SeekStream(memoryOffset); in DefineRegisters()
|