summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d183ed2)
raw | patch | inline | side by side (parent: d183ed2)
author | Tinku Mannan <tmannan@ti.com> | |
Thu, 22 May 2014 19:02:35 +0000 (15:02 -0400) | ||
committer | Tinku Mannan <tmannan@ti.com> | |
Thu, 22 May 2014 19:28:12 +0000 (15:28 -0400) |
ti/runtime/hplib/hplib_ver.h | patch | blob | history | |
ti/runtime/hplib/src/hplib_util.c | patch | blob | history | |
ti/runtime/hplib/src/hplib_vm.c | patch | blob | history |
index ccc9fce54c1bbb9cafa1e383154092483424448f..e25d8265ccdce260a477ff690b5ca23514564845 100755 (executable)
* format:
* 0xAABBCCDD -> Arch (AA); API Changes (BB); Major (CC); Minor (DD)
*/
-#define HPLIB_VERSION_ID (0x01000007)
+#define HPLIB_VERSION_ID (0x01010001)
/**
* @def HPLIB_VERSION_STR
* This is the version string which describes the HPLIB along with the
* date and build information.
*/
-#define HPLIB_VERSION_STR "HPLIB Revision: 01.00.00.07"
+#define HPLIB_VERSION_STR "HPLIB Revision: 01.01.00.01"
/**
* @ingroup hplib_gen_functions
index 48d64db40c2ac740e201e6ed90c05dfd87816e78..751a5c6611b56ba6d1e4048a0d8efaa001d1fedf 100755 (executable)
{
hplib_utilModOpen();
}
- printf("hplib_utilSetupThread (thread: %d): hplib_mod_fd %d\n", threadId, hplib_mod_fd);
if (sched_setaffinity( gettid(), sizeof( cpu_set_t ), pSet ))
{
return hplib_FAILURE;
index 68fb396daa5ffb957a629a3a598566d63fd1422c..9a07a28fc537fea872275465cef8d228a4e96a23 100755 (executable)
close(dev_mem_fd);
}
-hplib_RetValue hplib_checkMallocArea(pool_id)
+hplib_RetValue hplib_checkMallocArea(int pool_id)
{
hplib_VirtMemPoolheader_T *poolHdr;
if (pool_id > HPLIB_MAX_MEM_POOLS)
strerror(errno));
return HPLIB_FALSE;
}
-#if 0
- if (CMEM_init() != 0)
- {
- hplib_Log("hplib_vmInit: Failed to open cmem.ko\n");
- return HPLIB_FALSE;
- }
-#endif
- /* Open kernel module since we need it for PA to VA mappings */
+ /* Open kernel module since we need it for PA to VA mappings */
if (hplib_utilModOpen() == -1)
{
hplib_Log("hplib_vmInit:: failed to open /dev/netapi: '%s'\n", strerror(errno));