]> rtime.felk.cvut.cz Git - frescor/frsh-include.git/blobdiff - frsh_memory_management.h
Upgrading FRSH trunk to D-AC2v2. Phase I: Moving FRSH-FOSA to FOSA
[frescor/frsh-include.git] / frsh_memory_management.h
index e34d2936850e3e621e6befa35446c6a57ffb5a57..f0577fa2fc9d6d7cbe06435ce393f9f7c7d4c3fd 100644 (file)
 #ifndef _FRSH_MEMORY_MANAGEMENT_H_
 #define _FRSH_MEMORY_MANAGEMENT_H_
 
-#include "frsh_fosa.h"
 #include "frsh_core_types.h"
 
 
 #define FRSH_MEMORY_MANAGEMENT_SUPPORTED 1
 
 /**
- * @file frsh_memory_management
+ * @file frsh_memory_management.h
  **/
 
 /**
@@ -150,10 +149,10 @@ int frsh_vres_get_memory_info(frsh_vres_id_t vres_id,
 
 
 /**
- * frsh_vres_malloc()
+ * frsh_vres_memalloc()
  *
- * This function reserves some memory from the memory resource
- * represented by vres_id.
+ * This function reserves some memory from the memory to this virtual
+ * resource. 
  *
  * @param[in] vres_id Identifier of vres.
  * @param[in] Number of bytes
@@ -170,8 +169,8 @@ int frsh_vres_malloc(frsh_vres_id_t vres_id,
 /**
  * frsh_vres_memfree()
  *
- * This function returns the previously allocated memory area to the
- * memory resource represented by vres_id.
+ * This function returns the previously allocated memory area for this
+ * virtual_resource to the main memory.
  *
  * @param[in] vres_id Identifier of vres.
  * @param[in] area    Memory area to return