diff options
author | Chris Johns <chrisj@rtems.org> | 2012-05-08 08:47:31 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2012-05-08 08:47:31 +1000 |
commit | b78c02ab55ae3c0a932901896051617e1a212952 (patch) | |
tree | d8ce5cd954bc7d6a830d49f4e6abc210c77fefab /rtl-trace.h | |
parent | 7f7cdc2de97f006def935f3b2788a24dd25248eb (diff) |
Add RTL allocator.
Add a custom allocator that can be hooked. The default heap allocator
in this code does nothing more than wrap the libc heap allocator.
Fix up the RTL initialise to better handle the locking and
initialisation of internal structures.
Diffstat (limited to 'rtl-trace.h')
-rw-r--r-- | rtl-trace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rtl-trace.h b/rtl-trace.h index 848e966..0dc96ab 100644 --- a/rtl-trace.h +++ b/rtl-trace.h @@ -44,6 +44,7 @@ typedef uint32_t rtems_rtl_trace_mask; #define RTEMS_RTL_TRACE_RELOC (1UL << 4) #define RTEMS_RTL_TRACE_GLOBAL_SYM (1UL << 5) #define RTEMS_RTL_TRACE_LOAD_SECT (1UL << 6) +#define RTEMS_RTL_TRACE_ALLOCATOR (1UL << 7) /** * Call to check if this part is bring traced. If RTEMS_RTL_TRACE is defined to |