memory message: no retval
CSB: retval
This commit is contained in:
parent
2f58c3a305
commit
43d3ca7e37
@ -31,12 +31,11 @@ ReturnValue_t MemoryMessage::setMemoryDumpReply(CommandMessage* message, store_a
|
|||||||
return HasReturnvaluesIF::RETURN_OK;
|
return HasReturnvaluesIF::RETURN_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
ReturnValue_t MemoryMessage::setMemoryLoadCommand(CommandMessage* message,
|
void MemoryMessage::setMemoryLoadCommand(CommandMessage* message,
|
||||||
uint32_t address, store_address_t storageID) {
|
uint32_t address, store_address_t storageID) {
|
||||||
message->setCommand(CMD_MEMORY_LOAD);
|
message->setCommand(CMD_MEMORY_LOAD);
|
||||||
message->setParameter( address );
|
message->setParameter( address );
|
||||||
message->setParameter2( storageID.raw );
|
message->setParameter2( storageID.raw );
|
||||||
return HasReturnvaluesIF::RETURN_OK;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ReturnValue_t MemoryMessage::getErrorCode(const CommandMessage* message) {
|
ReturnValue_t MemoryMessage::getErrorCode(const CommandMessage* message) {
|
||||||
|
@ -24,7 +24,7 @@ public:
|
|||||||
static ReturnValue_t getErrorCode( const CommandMessage* message );
|
static ReturnValue_t getErrorCode( const CommandMessage* message );
|
||||||
static ReturnValue_t setMemoryDumpCommand( CommandMessage* message, uint32_t address, uint32_t length );
|
static ReturnValue_t setMemoryDumpCommand( CommandMessage* message, uint32_t address, uint32_t length );
|
||||||
static ReturnValue_t setMemoryDumpReply( CommandMessage* message, store_address_t storageID );
|
static ReturnValue_t setMemoryDumpReply( CommandMessage* message, store_address_t storageID );
|
||||||
static ReturnValue_t setMemoryLoadCommand( CommandMessage* message, uint32_t address, store_address_t storageID );
|
static void setMemoryLoadCommand( CommandMessage* message, uint32_t address, store_address_t storageID );
|
||||||
static ReturnValue_t setMemoryCheckCommand( CommandMessage* message, uint32_t address, uint32_t length );
|
static ReturnValue_t setMemoryCheckCommand( CommandMessage* message, uint32_t address, uint32_t length );
|
||||||
static ReturnValue_t setMemoryCheckReply( CommandMessage* message, uint16_t crc );
|
static ReturnValue_t setMemoryCheckReply( CommandMessage* message, uint16_t crc );
|
||||||
static ReturnValue_t setMemoryReplyFailed( CommandMessage* message, ReturnValue_t errorCode, Command_t initialCommand );
|
static ReturnValue_t setMemoryReplyFailed( CommandMessage* message, ReturnValue_t errorCode, Command_t initialCommand );
|
||||||
|
@ -212,6 +212,8 @@ protected:
|
|||||||
*/
|
*/
|
||||||
PeriodicTaskIF* executingTask;
|
PeriodicTaskIF* executingTask;
|
||||||
|
|
||||||
|
// todo: why do these functions not have returnvalues? the caller should be
|
||||||
|
// able to check whether the send operations actually work.
|
||||||
/**
|
/**
|
||||||
* Send TM data from pointer to data. If a header is supplied it is added before data
|
* Send TM data from pointer to data. If a header is supplied it is added before data
|
||||||
* @param subservice Number of subservice
|
* @param subservice Number of subservice
|
||||||
|
Loading…
Reference in New Issue
Block a user