| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/RiscV/opcodes/ |
| D | opcodes-rvc | 6 @c.nop 1..0=1 15..13=0 12=0 11..7=0 6..2=0 7 @c.addi16sp 1..0=1 15..13=3 12=ignore 11..7=2 6..2=ignore 8 @c.jr 1..0=2 15..13=4 12=0 11..7=ignore 6..2=0 9 @c.jalr 1..0=2 15..13=4 12=1 11..7=ignore 6..2=0 10 @c.ebreak 1..0=2 15..13=4 12=1 11..7=0 6..2=0 13 c.addi4spn 1..0=0 15..13=0 12=ignore 11..2=ignore 14 c.fld 1..0=0 15..13=1 12=ignore 11..2=ignore # c.lq for RV128 15 c.lw 1..0=0 15..13=2 12=ignore 11..2=ignore 16 c.flw 1..0=0 15..13=3 12=ignore 11..2=ignore # c.ld for RV64 17 c.fsd 1..0=0 15..13=5 12=ignore 11..2=ignore # c.sq for RV128 [all …]
|
| D | opcodes-rv64c | 4 @c.ld 1..0=0 15..13=3 12=ignore 11..2=ignore # c.flw for RV32 5 @c.sd 1..0=0 15..13=7 12=ignore 11..2=ignore # c.fsw for RV32 8 c.subw 1..0=1 15..13=4 12=1 11..10=3 9..7=ignore 6..5=0 4..2=ignore 9 c.addw 1..0=1 15..13=4 12=1 11..10=3 9..7=ignore 6..5=1 4..2=ignore 10 @c.addiw 1..0=1 15..13=1 12=ignore 11..2=ignore # c.jal for RV32 13 @c.ldsp 1..0=2 15..13=3 12=ignore 11..2=ignore # c.flwsp for RV32 14 @c.sdsp 1..0=2 15..13=7 12=ignore 11..2=ignore # c.fswsp for RV32
|
| D | opcodes-rv32c | 3 @c.srli.rv32 1..0=1 15..13=4 12=0 11..10=0 9..2=ignore 4 @c.srai.rv32 1..0=1 15..13=4 12=0 11..10=1 9..2=ignore 5 @c.slli.rv32 1..0=2 15..13=0 12=0 11..2=ignore
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/PCI/ |
| D | VersatilePCI.cs | 120 for(int c = 0; c < 3; c++) in WriteDoubleWordIO() 122 if(!_info[c]) in WriteDoubleWordIO() 126 if(info[c].BAR_len[i] == 0) in WriteDoubleWordIO() 128 …if((offset >= (info[c].BAR[i] & 0x0FFFFFFF)) && (offset < ((info[c].BAR[i] & 0xFFFFFFF) + info[c].… in WriteDoubleWordIO() 130 found = c; in WriteDoubleWordIO() 153 for(int c = 0; c < 3; c++) in ReadDoubleWordIO() 155 if(!_info[c]) in ReadDoubleWordIO() 159 if(info[c].BAR_len[i] == 0) in ReadDoubleWordIO() 161 …if((offset >= (info[c].BAR[i] & 0x0FFFFFFF)) && (offset < ((info[c].BAR[i] & 0xFFFFFFF) + info[c].… in ReadDoubleWordIO() 163 found = c; in ReadDoubleWordIO()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Input/ |
| D | KeyScanCode.cs | 124 public static KeyScanCode[] ToKeyScanCodes(this char c) in ToKeyScanCodes() argument 126 if(c >= 'a' && c <= 'z') in ToKeyScanCodes() 128 return new[] { KeyScanCode.A + (c - 'a') }; in ToKeyScanCodes() 131 if(c >= 'A' && c <= 'Z') in ToKeyScanCodes() 133 return new[] { KeyScanCode.ShiftL, KeyScanCode.A + (c - 'A') }; in ToKeyScanCodes() 138 if(c >= '1' && c <= '9') in ToKeyScanCodes() 140 return new [] { KeyScanCode.Number1 + (c - '1') }; in ToKeyScanCodes() 143 switch(c) in ToKeyScanCodes()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Testing/ |
| D | NetworkInterfaceTester.cs | 185 private byte HexCharToByte(char c) in HexCharToByte() argument 187 c = Char.ToLower(c); in HexCharToByte() 189 if(c >= '0' && c <= '9') in HexCharToByte() 191 return (byte)(c - '0'); in HexCharToByte() 194 if(c >= 'a' && c <= 'f') in HexCharToByte() 196 return (byte)(c - '0' - ('a' - '9') + 1); in HexCharToByte() 199 throw new ArgumentException(string.Format("{0} is not a valid hex number.", c)); in HexCharToByte() 209 var c = match[index]; in IsNibbleEqual() 212 if(c == '_') in IsNibbleEqual() 217 return data == HexCharToByte(c); in IsNibbleEqual()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/Structure/Registers/ |
| D | RegisterSelector.cs | 34 foreach(var c in conditionalRegisters) in Reset() 36 c.Register.Reset(); in Reset() 55 return conditionalRegisters.Count == 1 || conditionalRegisters.Any(c => c.Condition()); in HasRegister() 64 var result = conditionalRegisters.Where(c => c.Condition()).ToArray(); in GetRegister()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/UserInterface/ |
| D | CommandInteractionEater.cs | 50 public void Write(char c, ConsoleColor? color) in Write() argument 52 data.Append(c); in Write() 53 underlyingCommandInteraction.Write(c, color); in Write() 79 public void Write(char c, ConsoleColor? color = null) in Write() argument 81 data.Append(c); in Write() 131 public void Write(char c, ConsoleColor? color = default(ConsoleColor?)) in Write() argument 135 Console.Write(c); in Write()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/Mocks/ |
| D | MockExtension.cs | 32 …atic string MethodWithOptionalParameters(this Emulation emulation, int a = 1, int b = 2, int c = 3) in MethodWithOptionalParameters() argument 34 return string.Format("a: {0}, b: {1}, c: {2}", a, b, c); in MethodWithOptionalParameters() 37 …ParametersAndParamArray(this Emulation emulation, int a = 1, int b = 2, int c = 3, params int[] ar… in MethodWithOptionalParametersAndParamArray() argument 39 return string.Format("a: {0}, b: {1}, c: {2}; {3}", a, b, c, string.Join(", ", args)); in MethodWithOptionalParametersAndParamArray()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/ |
| D | BasicWordPeripheral.cs | 58 …public static void DefineMany(this System.Enum o, WordRegisterCollection c, uint count, Action<Wor… in DefineMany() argument 63 … var register = c.DefineRegister(baseAddress + i * stepInBytes, resetValue, softResettable); in DefineMany() 78 …public static WordRegister Define(this System.Enum o, WordRegisterCollection c, ushort resetValue … in Define() argument 80 return c.DefineRegister(Convert.ToInt64(o), resetValue, softResettable); in Define() 88 …public static WordRegister DefineConditional(this System.Enum o, WordRegisterCollection c, Func<bo… in DefineConditional() argument 90 … return c.DefineConditionalRegister(Convert.ToInt64(o), condition, resetValue, softResettable); in DefineConditional() 98 …public static void DefineManyConditional(this System.Enum o, WordRegisterCollection c, uint count,… in DefineManyConditional() argument 104 …var register = c.DefineConditionalRegister(baseAddress + i * stepInBytes, () => condition(idx), re… in DefineManyConditional() 114 …public static void DefineManyConditional(this System.Enum o, WordRegisterCollection c, uint count,… in DefineManyConditional() argument 116 … o.DefineManyConditional(c, count, _ => condition(), setup, stepInBytes, resetValue, name); in DefineManyConditional()
|
| D | BasicBytePeripheral.cs | 60 …public static void DefineMany(this System.Enum o, ByteRegisterCollection c, uint count, Action<Byt… in DefineMany() argument 65 … var register = c.DefineRegister(baseAddress + i * stepInBytes, resetValue, softResettable); in DefineMany() 85 …public static ByteRegister Define(this System.Enum o, ByteRegisterCollection c, byte resetValue = … in Define() argument 87 return c.DefineRegister(Convert.ToInt64(o), resetValue, softResettable); in Define() 90 …public static ByteRegister DefineConditional(this System.Enum o, ByteRegisterCollection c, Func<bo… in DefineConditional() argument 92 … return c.DefineConditionalRegister(Convert.ToInt64(o), condition, resetValue, softResettable); in DefineConditional() 100 …public static void DefineManyConditional(this System.Enum o, ByteRegisterCollection c, uint count,… in DefineManyConditional() argument 106 …var register = c.DefineConditionalRegister(baseAddress + i * stepInBytes, () => condition(idx), re… in DefineManyConditional() 116 …public static void DefineManyConditional(this System.Enum o, ByteRegisterCollection c, uint count,… in DefineManyConditional() argument 118 … o.DefineManyConditional(c, count, _ => condition(), setup, stepInBytes, resetValue, name); in DefineManyConditional()
|
| D | BasicDoubleWordPeripheral.cs | 58 …public static void DefineMany(this System.Enum o, DoubleWordRegisterCollection c, uint count, Acti… in DefineMany() argument 63 … var register = c.DefineRegister(baseAddress + i * stepInBytes, resetValue, softResettable); in DefineMany() 79 …public static DoubleWordRegister Define(this System.Enum o, DoubleWordRegisterCollection c, uint r… in Define() argument 81 return c.DefineRegister(Convert.ToInt64(o), resetValue, softResettable); in Define() 89 …Register DefineConditional(this System.Enum o, DoubleWordRegisterCollection c, Func<bool> conditio… in DefineConditional() argument 91 … return c.DefineConditionalRegister(Convert.ToInt64(o), condition, resetValue, softResettable); in DefineConditional() 99 …public static void DefineManyConditional(this System.Enum o, DoubleWordRegisterCollection c, uint … in DefineManyConditional() argument 105 …var register = c.DefineConditionalRegister(baseAddress + i * stepInBytes, () => condition(idx), re… in DefineManyConditional() 115 …public static void DefineManyConditional(this System.Enum o, DoubleWordRegisterCollection c, uint … in DefineManyConditional() argument 117 … o.DefineManyConditional(c, count, _ => condition(), setup, stepInBytes, resetValue, name); in DefineManyConditional()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Config/ |
| D | SimpleJson.cs | 667 char c; in EscapeToJavascriptString() 671 c = jsonString[i++]; in EscapeToJavascriptString() 673 if(c == '\\') in EscapeToJavascriptString() 718 sb.Append(c); in EscapeToJavascriptString() 871 char c; in ParseString() 877 c = json[index++]; in ParseString() 887 c = json[index++]; in ParseString() 888 if(c == '"') in ParseString() 894 if(c == '\\') in ParseString() 900 c = json[index++]; in ParseString() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/UART/ |
| D | PULP_uDMA_UART.cs | 75 foreach(var c in data) in PULP_uDMA_UART() 77 TransmitCharacter(c); in PULP_uDMA_UART() 137 if(!TryGetCharacter(out var c)) in CharWritten() 146 …"Received byte {0} (0x{0:X}), but there is no more space in the buffer - ignoring it", (char)c, c); in CharWritten() 150 sysbus.WriteByte(rxBufferAddress.Value + rxIdx, c); in CharWritten()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/UI/ |
| D | ConsoleIOSource.cs | 55 if(checker.TryDecode(b, out var c)) in Write() 59 Console.Write(c); in Write() 170 public bool TryDecode(byte b, out char c) in TryDecode() argument 176 c = (char)b; in TryDecode() 211 c = encoder.GetString(buffer.DequeueAll())[0]; in TryDecode() 216 c = default(char); in TryDecode()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/DMA/PL330_DMA/ |
| D | PL330_DMA.cs | 94 foreach(var channel in channels.Where(c => c?.Peripheral == number)) in OnGPIO() 102 …foreach(var channel in channels.Where(c => c.Status == Channel.ChannelStatus.WaitingForPeripheral)… in OnGPIO() 355 …foreach(var channel in channels.Where(c => c.Status == Channel.ChannelStatus.WaitingForEvent).Wher… in SignalEventOrInterrupt() 373 if(channels.Any(c => c.Status == Channel.ChannelStatus.Faulting)) in UpdateAbortInterrupt() 429 … foreach(var channelThread in channels.Where(c => c.Status == Channel.ChannelStatus.Executing)) in ExecuteLoop() 457 } while(channels.Any(c => c.Status == Channel.ChannelStatus.Executing)); in ExecuteLoop()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/X86/ |
| D | X86Registers.tt | 3 // Copyright (c) 2010-2018 Antmicro 4 // Copyright (c) 2011-2015 Realtime Embedded
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Arm/ |
| D | ArmRegisters.tt | 3 // Copyright (c) 2010-2018 Antmicro 4 // Copyright (c) 2011-2015 Realtime Embedded
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Backends/Display/xInput/ |
| D | XLibHelper.cs | 70 IntPtr r = IntPtr.Zero, c = IntPtr.Zero; in GetCursorPosition() 76 … XQueryPointer(DisplayHandle, win, ref r, ref c, ref rx, ref ry, ref wx, ref wy, ref m); in GetCursorPosition() 191 var c = Marshal.AllocHGlobal(80); in DefineEmptyCursor() 198 cursor = XCreatePixmapCursor(DisplayHandle, pixmap, pixmap, ref c, ref c, 0, 0); in DefineEmptyCursor() 201 Marshal.FreeHGlobal(c); in DefineEmptyCursor()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/ |
| D | CMakeLists.txt | 14 "renode/*.c" 15 "renode/arch/${TARGET_ACTUAL_ARCH}/*.c"
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Common/ |
| D | RegisterTemplateDefinitions.tt | 3 // Copyright (c) 2010-2021 Antmicro 4 // Copyright (c) 2011-2015 Realtime Embedded
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/PowerPC/ |
| D | PowerPc64Registers.tt | 3 // Copyright (c) 2010-2022 Antmicro 4 // Copyright (c) 2011-2015 Realtime Embedded
|
| D | PowerPcRegisters.tt | 3 // Copyright (c) 2010-2022 Antmicro 4 // Copyright (c) 2011-2015 Realtime Embedded
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Miscellaneous/Crypto/ |
| D | RSAServiceProvider.cs | 55 …var c = AthenaX5200_BigIntegerHelper.CreateBigIntegerFromMemory(manager, (long)RSARegisters.Cipher… in DecryptData() 58 var m1 = BigInteger.ModPow(c, dp, p); in DecryptData() 64 var m2 = BigInteger.ModPow(c, dq, q); in DecryptData()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Arm-M/ |
| D | CortexMRegisters.tt | 3 // Copyright (c) 2010-2018 Antmicro 4 // Copyright (c) 2011-2015 Realtime Embedded
|