qualcomm/qbox
Loading...
Searching...
No Matches
gs::MemoryServices Class Reference

Public Member Functions

const char * name () const
size_t get_shmem_seg_num () const
void init ()
 MemoryServices (MemoryServices const &)=delete
void operator= (MemoryServices const &)=delete
int get_shmem_fd (const std::string &memname)
uint8_t * map_file (const std::string &mapfile, uint64_t size, uint64_t offset)
void unmap_file (uint8_t *ptr, size_t size)
uint8_t * map_mem_create (const std::string &memname, uint64_t size)
uint8_t * map_mem_create (const std::string &memname, uint64_t size, int *fd)
uint8_t * map_mem_join (const std::string &memname, size_t size)
uint8_t * map_mem_join_new (const std::string &memname, size_t size)
AllocatedMemory alloc (uint64_t size)

Static Public Member Functions

static MemoryServices & get ()

The documentation for this class was generated from the following files:
  • systemc-components/common/include/memory_services.h
  • systemc-components/common/src/memory_services.cc