Home
last modified time | relevance | path

Searched hist:"695 be9d6057d6160ebf89cc8c2e1e94c9d976da7" (Results 1 – 3 of 3) sorted by relevance

/optee_os/lib/libutils/isoc/include/
H A Dmalloc.h695be9d6057d6160ebf89cc8c2e1e94c9d976da7 Mon Jan 20 07:03:34 UTC 2025 Jens Wiklander <jens.wiklander@linaro.org> libutils: refactor the MDBG malloc functions

Replace the MDBG malloc functions and macros with a new function
__mdbg_alloc() handling all the memory allocations similar to
mem_alloc(). The old MDBG macros are replace by new macros calling
__mdbg_alloc().

mem_alloc(), mem_alloc_unlocked(), and mem_free() are updated to handle
configuration with and without MDBG, removing the all the ENABLE_MDBG
ifdefs in the C file.

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
/optee_os/lib/libutils/isoc/
H A Dbget_malloc.c695be9d6057d6160ebf89cc8c2e1e94c9d976da7 Mon Jan 20 07:03:34 UTC 2025 Jens Wiklander <jens.wiklander@linaro.org> libutils: refactor the MDBG malloc functions

Replace the MDBG malloc functions and macros with a new function
__mdbg_alloc() handling all the memory allocations similar to
mem_alloc(). The old MDBG macros are replace by new macros calling
__mdbg_alloc().

mem_alloc(), mem_alloc_unlocked(), and mem_free() are updated to handle
configuration with and without MDBG, removing the all the ENABLE_MDBG
ifdefs in the C file.

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
/optee_os/ta/
H A Dta.mk695be9d6057d6160ebf89cc8c2e1e94c9d976da7 Mon Jan 20 07:03:34 UTC 2025 Jens Wiklander <jens.wiklander@linaro.org> libutils: refactor the MDBG malloc functions

Replace the MDBG malloc functions and macros with a new function
__mdbg_alloc() handling all the memory allocations similar to
mem_alloc(). The old MDBG macros are replace by new macros calling
__mdbg_alloc().

mem_alloc(), mem_alloc_unlocked(), and mem_free() are updated to handle
configuration with and without MDBG, removing the all the ENABLE_MDBG
ifdefs in the C file.

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>