Searched refs:ProtocolMessage (Results 1 – 7 of 7) sorted by relevance
/Renode-v1.15.3-c57714d/src/Plugins/CoSimulationPlugin/Connection/ |
D | LibraryConnection.cs | 21 …braryConnection(IEmulationElement parentElement, int timeout, Action<ProtocolMessage> receiveActio… in LibraryConnection() 27 receiveQueue = new BlockingCollection<ProtocolMessage>(); in LibraryConnection() 43 public bool TrySendMessage(ProtocolMessage message) in TrySendMessage() 53 public bool TryRespond(ProtocolMessage message) in TryRespond() 67 public bool TryReceiveMessage(out ProtocolMessage message) in TryReceiveMessage() 77 message = default(ProtocolMessage); in TryReceiveMessage() 102 … receivedMessage = (ProtocolMessage)Marshal.PtrToStructure(received, typeof(ProtocolMessage)); in HandleMainMessage() 112 … var message = (ProtocolMessage)Marshal.PtrToStructure(received, typeof(ProtocolMessage)); in HandleSenderMessage() 187 … mainResponsePointer = Marshal.AllocHGlobal(Marshal.SizeOf(typeof(ProtocolMessage))); 188 … senderResponsePointer = Marshal.AllocHGlobal(Marshal.SizeOf(typeof(ProtocolMessage))); [all …]
|
D | ICoSimulationConnection.cs | 16 bool TrySendMessage(ProtocolMessage message); in TrySendMessage() 17 bool TryRespond(ProtocolMessage message); in TryRespond() 18 bool TryReceiveMessage(out ProtocolMessage message); in TryReceiveMessage()
|
D | SocketConnection.cs | 31 …n(IEmulationElement parentElement, int timeoutInMilliseconds, Action<ProtocolMessage> receiveActio… in SocketConnection() 101 public bool TrySendMessage(ProtocolMessage message) in TrySendMessage() 111 public bool TryRespond(ProtocolMessage message) in TryRespond() 120 public bool TryReceiveMessage(out ProtocolMessage message) in TryReceiveMessage() 124 message = default(ProtocolMessage); in TryReceiveMessage() 154 …TrySendMessage(new ProtocolMessage(ActionType.Disconnect, 0, 0, ProtocolMessage.NoPeripheralIndex)… in Abort() 309 …if(!TrySendMessage(new ProtocolMessage(ActionType.Handshake, 0, 0, ProtocolMessage.NoPeripheralInd… in TryHandshake() 328 private void HandleReceived(ProtocolMessage message) in HandleReceived() 355 private Action<ProtocolMessage> receivedHandler; 422 public bool TrySendMessage(ProtocolMessage message) in TrySendMessage() [all …]
|
D | CoSimulationConnection.cs | 219 …oCosimIndex = connectible != null ? connectible.RenodeToCosimIndex : ProtocolMessage.NoPeripheralI… in Send() 220 var message = new ProtocolMessage(actionId, offset, value, renodeToCosimIndex); in Send() 229 … if(!cosimConnection.TryRespond(new ProtocolMessage(actionId, offset, value, peripheralIdx))) in Respond() 255 public delegate bool OnReceiveDelegate(ProtocolMessage message); in OnReceiveDelegate() 335 …if(!cosimConnection.TrySendMessage(new ProtocolMessage(ActionType.TickClock, 0, limitBuffer, Proto… in SetupConnection() 351 private void ValidateResponse(ProtocolMessage message) in ValidateResponse() 359 private ProtocolMessage Receive() in Receive() 369 private void HandleReceivedMessage(ProtocolMessage message) in HandleReceivedMessage() 372 …if(message.PeripheralIndex != ProtocolMessage.NoPeripheralIndex && !cosimIdxToPeripheral.TryGetVal… in HandleReceivedMessage() 453 private void HandleGPIO(ProtocolMessage message) in HandleGPIO()
|
/Renode-v1.15.3-c57714d/src/Plugins/CoSimulationPlugin/Connection/Protocols/ |
D | ProtocolMessage.cs | 13 public struct ProtocolMessage struct 15 public ProtocolMessage(ActionType actionId, ulong address, ulong data, int peripheralIndex) in ProtocolMessage() method 51 …this = (ProtocolMessage)Marshal.PtrToStructure(handler.AddrOfPinnedObject(), typeof(ProtocolMessag… in Deserialize()
|
/Renode-v1.15.3-c57714d/src/Plugins/CoSimulationPlugin/CoSimulated/Peripherals/ |
D | CoSimulatedUART.cs | 40 public bool HandleReceivedMessage(ProtocolMessage message) in HandleReceivedMessage()
|
D | CoSimulatedCPU.cs | 220 protected bool HandleReceived(ProtocolMessage message) in HandleReceived()
|