aboutsummaryrefslogtreecommitdiffstats
path: root/src/framework/common/base/include/common/common_mem_buf.h
diff options
context:
space:
mode:
authorrainbow_0206 <jiangwenjiang@huawei.com>2018-10-15 16:49:26 +0800
committerrainbow_0206 <jiangwenjiang@huawei.com>2018-10-18 14:58:22 +0800
commitf46e5e9becd2bc76e8335f5e8247ba21713b9510 (patch)
tree6416e21fc5a82f0fce8dfc512a6e1f9b579ff70b /src/framework/common/base/include/common/common_mem_buf.h
parentaf0587ee6e44e9057ff6047a00fcd9015df1f5a1 (diff)
Fix: nStackMain parameters should not be fixed
Change-Id: I60d16736831fde5af6e657393195ca57242a6d3c Signed-off-by: rainbow_0206 <jiangwenjiang@huawei.com>
Diffstat (limited to 'src/framework/common/base/include/common/common_mem_buf.h')
-rw-r--r--src/framework/common/base/include/common/common_mem_buf.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/framework/common/base/include/common/common_mem_buf.h b/src/framework/common/base/include/common/common_mem_buf.h
index f9f1593..c9bb9fd 100644
--- a/src/framework/common/base/include/common/common_mem_buf.h
+++ b/src/framework/common/base/include/common/common_mem_buf.h
@@ -20,6 +20,7 @@
#ifdef HAL_LIB
#else
+#include "nsfw_mem_api.h"
#include "common_mem_base_type.h"
#include "types.h"
@@ -64,7 +65,8 @@ typedef struct __common_pal_module_info
* @param name
* The name of the buf pool.
*/
-int nscomm_pal_module_init (common_mem_pal_module_info * pinfo, u8 app_mode);
+int nscomm_pal_module_init (nsfw_mem_para * para,
+ common_mem_pal_module_info * pinfo, u8 app_mode);
void *nscomm_memzone_data_reserve_name (const char *name, size_t len,
int socket_id);