2018-12-10 16:31:33 +08:00
|
|
|
/*
|
2021-03-08 18:19:04 +08:00
|
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
2018-12-10 16:31:33 +08:00
|
|
|
*
|
2018-12-10 18:23:21 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2018-12-10 16:31:33 +08:00
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
2018-12-10 18:23:21 +08:00
|
|
|
* 2018-06-10 Bernard first version
|
2018-12-10 16:31:33 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __LWP_MEM_H__
|
|
|
|
#define __LWP_MEM_H__
|
|
|
|
|
|
|
|
extern void rt_lwp_mem_init(struct rt_lwp *lwp);
|
|
|
|
extern void rt_lwp_mem_deinit(struct rt_lwp *lwp);
|
|
|
|
|
|
|
|
extern void *rt_lwp_mem_malloc(rt_uint32_t size);
|
|
|
|
extern void rt_lwp_mem_free(void *addr);
|
|
|
|
extern void *rt_lwp_mem_realloc(void *rmem, rt_size_t newsize);
|
|
|
|
|
|
|
|
#endif
|