On 01/10/2020 17:07, Gedare Bloom wrote:
This looks ok to me. I suppose eliminating the dependency requires the
function pointer indirection. The only thing I don't see is why
redefinition of the _Workspace_Malloc_initializer is allowed in both
wkspacemallocinitdefault.c and in confdefs/wkspace.h. I would think
that will cause an error for multiple definitions.
All the default definitions are contained in separate files in
librtemscpu.a. They are only linked in the executable if they are not
already defined by the module with the configuration data structures
defined by confdefs.h AND required by the application.
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel