#include <OPENR/MemoryMapAgent.h>
Go to the source code of this file.
Functions | |
OStatus | GetMemID (MemoryRegionID memID, void **address) |
OStatus | FreeMemId (MemoryRegionID memID) |
MemoryRegionID | RegisterNewMemID (void *addr) |
|
Frees the memory associated with the specified memID and remove also the associated table entry Definition at line 67 of file MemoryMapAgent.cc. References LOCK, memIDsDB, and UNLOCK. Referenced by DeleteSharedMemoryRegion(). |
|
get the memory address associated with the specified MemoryRegionID returns oFAIL if the memory ID doens't exist, oSUCCESS otherwise Definition at line 45 of file MemoryMapAgent.cc. References LOCK, memIDsDB, and UNLOCK. Referenced by GrowMemoryRegion(). |
|
Register a new MemoryRegionID. returns the new ID Definition at line 91 of file MemoryMapAgent.cc. References LOCK, memIDsDB, nextMemID, and UNLOCK. Referenced by NewSharedMemoryRegion(). |