MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_system_heap_init

Function rt_system_heap_init

src/kservice.c:842–845  ·  view source on GitHub ↗

* @brief This function will init system heap. User can override this API to * complete other works, like heap sanitizer initialization. * * @param begin_addr the beginning address of system page. * * @param end_addr the end address of system page. */

Source from the content-addressed store, hash-verified

840 * @param end_addr the end address of system page.
841 */
842rt_weak void rt_system_heap_init(void *begin_addr, void *end_addr)
843{
844 rt_system_heap_init_generic(begin_addr, end_addr);
845}
846
847/**
848 * @brief Allocate a block of memory with a minimum of 'size' bytes.

Callers 15

rt_hw_board_initFunction · 0.85
rt_hw_board_initFunction · 0.85
rt_hw_board_initFunction · 0.85
rt_hw_board_initFunction · 0.85
rt_hw_board_initFunction · 0.85
rt_hw_board_initFunction · 0.85
rt_hw_board_initFunction · 0.85
rtthread_startupFunction · 0.85
rtthread_startupFunction · 0.85
rtthread_startupFunction · 0.85
rtthread_startupFunction · 0.85
rtthread_startupFunction · 0.85

Calls 1

Tested by

no test coverage detected