mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 21:36:28 +08:00
global change: repace sched_xfree() to kxmm_free()
Changes: sched_xfree() => kxmm_free() remove garbage related APIs remove ARCH_HAVE_GARBAGE Cause garbage feature move to mm_heap, then don't need garbage anymore. Change-Id: If310790a3208155ca8ab319e8d038cb6ff92c518 Signed-off-by: ligd <liguiding@fishsemi.com>
This commit is contained in:
@@ -96,7 +96,7 @@ void up_release_stack(FAR struct tcb_s *dtcb, uint8_t ttype)
|
||||
{
|
||||
if (kmm_heapmember(dtcb->stack_alloc_ptr))
|
||||
{
|
||||
sched_kfree(dtcb->stack_alloc_ptr);
|
||||
kmm_free(dtcb->stack_alloc_ptr);
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -106,7 +106,7 @@ void up_release_stack(FAR struct tcb_s *dtcb, uint8_t ttype)
|
||||
|
||||
if (umm_heapmember(dtcb->stack_alloc_ptr))
|
||||
{
|
||||
sched_ufree(dtcb->stack_alloc_ptr);
|
||||
kumm_free(dtcb->stack_alloc_ptr);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -96,7 +96,7 @@ void up_release_stack(FAR struct tcb_s *dtcb, uint8_t ttype)
|
||||
{
|
||||
if (kmm_heapmember(dtcb->stack_alloc_ptr))
|
||||
{
|
||||
sched_kfree(dtcb->stack_alloc_ptr);
|
||||
kmm_free(dtcb->stack_alloc_ptr);
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -106,7 +106,7 @@ void up_release_stack(FAR struct tcb_s *dtcb, uint8_t ttype)
|
||||
|
||||
if (umm_heapmember(dtcb->stack_alloc_ptr))
|
||||
{
|
||||
sched_ufree(dtcb->stack_alloc_ptr);
|
||||
kumm_free(dtcb->stack_alloc_ptr);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user