MemoryMapAgent.h File Reference

#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)


Function Documentation

OStatus FreeMemId MemoryRegionID  memID  ) 
 

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().

OStatus GetMemID MemoryRegionID  memID,
void **  address
 

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().

MemoryRegionID RegisterNewMemID void *  addr  ) 
 

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().


Generated on Sun Dec 2 23:04:31 2007 for openSDK by  doxygen 1.3.9.1