Skip to content
Commit cf0c5e2a authored by Andy Ross's avatar Andy Ross Committed by Anas Nashif
Browse files

lib/os: Add sys_heap_usable_size()



Add a simple internal block size predicate to expose the internal
memory region reserved for an allocation.  The immediate use case is
cache-incoherent systems wanting to do an invalidate of freed memory,
but it might be useful for apps doing e.g. string processing to better
optimize size changes, etc...

Signed-off-by: default avatarAndy Ross <andrew.j.ross@intel.com>
parent af696293
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment