Aaditya Agarwal commented on a discussion: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1586#note_162747


Yes, both MRs address the build failure from the missing delayed drain 
prototype when `HEAP_PROTECTION` is enabled.

!1590 does not remove or disable `HEAP_PROTECTION`. When `HEAP_PROTECTION` is 
defined, the delayed blocks are still drained as intended. 

Instead of pulling private First-Fit allocator internals (`heapfirstfitimpl.h`) 
into `libcsupport`, !1590 moves the declaration and its existing `((void) 0)` 
fallback into `<rtems/score/heapimpl.h>`. In release builds without 
`HEAP_PROTECTION`, the calls expand to `((void) 0)` at zero overhead, matching 
the conventions in `heapextend.c` and `heapgreedy.c`.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1586#note_162747
You're receiving this email because of your account on gitlab.rtems.org. 
Unsubscribe from this thread: 
https://gitlab.rtems.org/-/namespace/49/sent_notifications/6-4qy0q7mjnsoi6pqglfu1iuqdn-1d/unsubscribe
 | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | 
Help: https://gitlab.rtems.org/help


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to