From b000f77f4b6b26e16a943d1f6f7d542ec18680fb Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 12 Dec 2023 17:55:09 +0100 Subject: [PATCH] smaller PLOC tweaks --- linux/payload/FreshSupvHandler.cpp | 2 +- linux/payload/PlocSupvUartMan.cpp | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/linux/payload/FreshSupvHandler.cpp b/linux/payload/FreshSupvHandler.cpp index 0d34b63f..88a68635 100644 --- a/linux/payload/FreshSupvHandler.cpp +++ b/linux/payload/FreshSupvHandler.cpp @@ -1115,7 +1115,7 @@ void FreshSupvHandler::handleEvent(EventMessage* eventMessage) { if (not isCommandAlreadyActive(supv::SHUTDOWN_MPSOC)) { CommandMessage actionMsg; ActionMessage::setCommand(&actionMsg, supv::SHUTDOWN_MPSOC, store_address_t::invalid()); - result = messageQueue->sendMessage(getCommandQueue(), &actionMsg); + result = messageQueue->sendMessageFrom(getCommandQueue(), &actionMsg, MessageQueueIF::NO_QUEUE); if (result != returnvalue::OK) { triggerEvent(supv::SUPV_MPSOC_SHUTDOWN_BUILD_FAILED); sif::warning << "PlocSupervisorHandler::handleEvent: Failed to build MPSoC shutdown " diff --git a/linux/payload/PlocSupvUartMan.cpp b/linux/payload/PlocSupvUartMan.cpp index f73ca560..56bb3dd5 100644 --- a/linux/payload/PlocSupvUartMan.cpp +++ b/linux/payload/PlocSupvUartMan.cpp @@ -945,15 +945,7 @@ ReturnValue_t PlocSupvUartManager::handleRunningLongerRequest() { break; } case Request::REQUEST_EVENT_BUFFER: { - // result = performEventBufferRequest(); - // if (result == returnvalue::OK) { - // triggerEvent(SUPV_EVENT_BUFFER_REQUEST_SUCCESSFUL, result); - // } else if (result == PROCESS_TERMINATED) { - // // Event already triggered - // break; - // } else { - // triggerEvent(SUPV_EVENT_BUFFER_REQUEST_FAILED, result); - // } + sif::error << "Requesting event buffer is not implemented" << std::endl; break; } case Request::DEFAULT: {