offset, uint64_t dst_offset);
    bool importBO(uint64_t offset, std::string dst_filename,uint64_t size);
    std::string createPage(uint64_t offset, uint64_t size, bool p2p); //create a page of size "size" and add it in mPageCache Map.
    bool freePage(uint64_t offset); //free page and remove it from mPageCache Map.

  public:
    ddr3_fmodel_shared_memory(std::string p_module_name);
    ~ ddr3_fmodel_shared_memory();

  private:
    //Paging
    std::map<uint64_t,std::pair<unsigned char*,uint64_t> > mPageCache; // this map is used to store ddrAddress and OsAddress Mapping.
    ddr_mem_msg* mMemoryMessage; // this message used to serialize the ddr memory and store it on disk. This is used at the time of partial recofig
    static std::map<std::string, std::tuple<uint64_t, void*, int> > mFileFdMap; //filename and fd map
    std::map<uint64_t , std::string> mOffsetFileMap; //offset and filename map
};

#endif


