Trace mac_phy_exit cause

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5340 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
Lionel Gauthier
2014-05-26 12:28:16 +00:00
parent 335289a677
commit 166235fd09
9 changed files with 25 additions and 36 deletions
+3 -3
View File
@@ -180,7 +180,7 @@ get_free_mem_block (uint16_t sizeP)
if (sizeP > MEM_MNGT_MB12_BLOCK_SIZE) {
msg ("[MEM_MNGT][ERROR][FATAL] size requested %d out of bounds\n", sizeP);
display_mem_load ();
mac_xface->macphy_exit("");
mac_xface->macphy_exit("[MEM_MNGT][ERROR][FATAL] get_free_mem_block size requested out of bounds");
return NULL;
}
size = sizeP >> 6;
@@ -212,7 +212,7 @@ get_free_mem_block (uint16_t sizeP)
#endif
} while (pool_selected++ < 12);
mac_xface->macphy_exit("");
mac_xface->macphy_exit("[MEM_MNGT][ERROR][FATAL] get_free_mem_block failed");
return NULL;
};
@@ -235,7 +235,7 @@ get_free_copy_mem_block (void)
// break_point ();
//#endif
mac_xface->macphy_exit("");
mac_xface->macphy_exit("[MEM_MNGT][ERROR][FATAL] get_free_copy_mem_block failed");
return NULL;
}
}