Today's the day. Renamed platform to framework.
This commit is contained in:
32
memory/LocalMemory.h
Normal file
32
memory/LocalMemory.h
Normal file
@ -0,0 +1,32 @@
|
||||
/*
|
||||
* LocalMemory.h
|
||||
*
|
||||
* Created on: 05.11.2013
|
||||
* Author: Bastian
|
||||
*/
|
||||
|
||||
#ifndef LOCALMEMORY_H_
|
||||
#define LOCALMEMORY_H_
|
||||
|
||||
#include <framework/ipc/MessageQueue.h>
|
||||
#include <framework/memory/HasMemoryIF.h>
|
||||
#include <framework/memory/MemoryHelper.h>
|
||||
#include <framework/objectmanager/SystemObject.h>
|
||||
#include <framework/tasks/ExecutableObjectIF.h>
|
||||
#include <list>
|
||||
class LocalMemory : public AcceptsMemoryMessagesIF, public ExecutableObjectIF, public SystemObject {
|
||||
private:
|
||||
MessageQueue commandQueue;
|
||||
MemoryHelper memoryHelper;
|
||||
ReturnValue_t checkWriteAccess(uint32_t address, uint32_t size);
|
||||
public:
|
||||
LocalMemory( object_id_t setObjectId );
|
||||
ReturnValue_t performOperation();
|
||||
ReturnValue_t initialize();
|
||||
MessageQueueId_t getCommandQueue() const;
|
||||
ReturnValue_t handleMemoryLoad(uint32_t address, const uint8_t* data, uint32_t size, uint8_t** dataPointer);
|
||||
ReturnValue_t handleMemoryDump(uint32_t address, uint32_t size, uint8_t** dataPointer, uint8_t* dumpTarget);
|
||||
};
|
||||
|
||||
|
||||
#endif /* LOCALMEMORY_H_ */
|
Reference in New Issue
Block a user