mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-31 07:58:06 +08:00
@@ -52,6 +52,9 @@ rtems_rtl_alloc_new (rtems_rtl_alloc_tag_t tag, size_t size, bool zero)
|
||||
rtems_rtl_data_t* rtl = rtems_rtl_lock ();
|
||||
void* address = NULL;
|
||||
|
||||
/*
|
||||
* Obtain memory from the allocator.
|
||||
*/
|
||||
if (rtl)
|
||||
rtl->allocator.allocator (true, tag, &address, size);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user