/Renode-v1.15.3-c57714d/src/Plugins/CoSimulationPlugin/IntegrationLibrary/src/communication/ |
D | socket_channel.cpp | 36 Protocol* received = receive(); in handshakeValid() 38 sendMain(Protocol(handshake, 0, 0, noPeripheralIndex)); in handshakeValid() 45 sendSender(Protocol(logMessage, strlen(data), logLevel, noPeripheralIndex)); in log() 49 Protocol* SocketCommunicationChannel::receive() in receive() 51 Protocol* message = new Protocol; in receive() 52 mainSocket->CTCPClient::Receive((char *)message, sizeof(Protocol)); in receive() 56 void SocketCommunicationChannel::sendMain(const Protocol message) in sendMain() 59 mainSocket->Send((char *)&message, sizeof(struct Protocol)); in sendMain() 67 void SocketCommunicationChannel::sendSender(const Protocol message) in sendSender() 70 senderSocket->Send((char *)&message, sizeof(struct Protocol)); in sendSender()
|
D | communication_channel.h | 15 virtual Protocol* receive() = 0; 16 virtual void sendMain(const Protocol message) = 0; 17 virtual void sendSender(const Protocol message) = 0;
|
D | socket_channel.h | 21 Protocol* receive() override; 22 void sendMain(const Protocol message) override; 23 void sendSender(const Protocol message) override;
|
/Renode-v1.15.3-c57714d/src/Plugins/CoSimulationPlugin/IntegrationLibrary/src/ |
D | renode_bus.cpp | 44 communicationChannel->sendMain(Protocol(ok, 0, 0)); in writeToBus() 48 communicationChannel->sendMain(Protocol(error, 0, 0)); in writeToBus() 56 communicationChannel->sendMain(Protocol(readRequest, addr, readValue)); in readFromBus() 60 communicationChannel->sendMain(Protocol(error, 0, 0)); in readFromBus() 86 communicationChannel->sendSender(Protocol(action, addr, value)); in pushToAgent() 87 Protocol* received = communicationChannel->receive(); in pushToAgent() 99 communicationChannel->sendSender(Protocol(action, addr, 0)); in requestFromAgent() 100 Protocol* received = communicationChannel->receive(); in requestFromAgent() 138 communicationChannel->sendSender(Protocol(error, 0, 0)); in fatalError() 142 void RenodeAgent::handleCustomRequestType(Protocol* message) in handleCustomRequestType() [all …]
|
D | renode_cfu.h | 15 struct Protocol; 30 void handle_request(Protocol* request); 38 void sendSender(const Protocol message); 40 Protocol* receive(); 49 virtual void handleCustomRequestType(Protocol* message); 59 friend void ::handle_request(Protocol* request);
|
D | renode_bus.h | 21 struct Protocol; 28 void handle_request(Protocol* request); 50 virtual void handleCustomRequestType(Protocol* message); 52 virtual struct Protocol* receive(); 58 virtual void handleRequest(Protocol* request); 77 friend void ::handle_request(Protocol* request); 86 void sendMain(const Protocol message) override; 87 void sendSender(const Protocol message) override; 89 Protocol* receive() override;
|
D | renode_cfu.cpp | 49 void RenodeAgent::handleCustomRequestType(Protocol* message) in handleCustomRequestType() 71 void NativeCommunicationChannel::sendSender(const Protocol message) in sendSender() 73 handleSenderMessage(new Protocol(message)); in sendSender() 78 handleSenderMessage(new Protocol(logMessage, strlen(data) + 1, (uint64_t)data)); in log() 79 handleSenderMessage(new Protocol(logMessage, 0, logLevel)); in log() 97 void handle_request(Protocol* request) in handle_request() 109 renodeAgent->communicationChannel->sendSender(Protocol(tickClock, 0, 0)); in handle_request()
|
D | renode.h | 15 struct Protocol struct 17 Protocol() = default; 18 Protocol(int actionId, uint64_t addr, uint64_t value, int peripheralIndex = 0)
|
D | renode_dpi.cpp | 19 Protocol *message = socketChannel->receive(); in renodeDPIReceive() 54 socketChannel->sendMain(Protocol(actionId, address, value, peripheralIndex)); in renodeDPISend() 64 socketChannel->sendSender(Protocol(actionId, address, value, peripheralIndex)); in renodeDPISendToAsync()
|
/Renode-v1.15.3-c57714d/src/Plugins/CoSimulationPlugin/IntegrationLibrary/src/peripherals/ |
D | uart.cpp | 26 communicationChannel->sendSender(Protocol(interrupt, 1, 1)); in eval() 30 communicationChannel->sendSender(Protocol(interrupt, 1, 0)); in eval() 45 communicationChannel->sendSender(Protocol(txdRequest, 0, buffer.to_ulong())); in Txd() 60 void UART::handleCustomRequestType(Protocol* message) { in handleCustomRequestType()
|
D | cpu-agent.h | 46 void handleRequest(Protocol *message) override in handleRequest() 55 …communicationChannel->sendSender(Protocol(registerGet, message->addr, getRegister(message->addr))); in handleRequest() 60 communicationChannel->sendSender(Protocol(registerSet, 0, 0)); in handleRequest() 74 communicationChannel->sendSender(Protocol(singleStepMode, 0, 0)); in handleRequest() 94 communicationChannel->sendSender(Protocol(isHalted, 0, halted)); in handleRequest() 99 communicationChannel->sendSender(Protocol(tickClock, 0, ticks)); in handleRequest() 122 communicationChannel->sendSender(Protocol(step, 0, ticks)); in handleRequest()
|
D | uart.h | 31 void handleCustomRequestType(Protocol* message) override;
|
/Renode-v1.15.3-c57714d/src/Renode/Network/NetworkServer/ |
D | NetworkServer.cs | 147 switch(packet.Protocol) in HandleIPv4() 154 this.Log(LogLevel.Warning, "Unsupported protocol: {0}", packet.Protocol); in HandleIPv4()
|
/Renode-v1.15.3-c57714d/tests/peripherals/ |
D | MCAN.robot | 124 Should Use CAN ISOTP Protocol To Exchange Messages In Loopback Mode 137 Should Use CAN ISOTP Protocol To Exchange Messages Between Machines
|