Re: [PATCH] capture: change to use malloc/vs/rtems_workspace_alloc.

2014-07-25 Thread Sebastian Huber
On 07/25/2014 01:01 AM, Chris Johns wrote: Can malloc be called while in a user extension such as the context switch ? No, you cannot use heap or workspace allocations in the context switch extension, see also http://www.rtems.org/onlinedocs/doxygen/cpukit/html/group__ScoreUserExt.html --

Re: [PATCH] capture: change to use malloc/vs/rtems_workspace_alloc.

2014-07-24 Thread Chris Johns
On 24/07/2014 11:54 pm, Jennifer Averett wrote: --- cpukit/libmisc/capture/capture.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/cpukit/libmisc/capture/capture.c b/cpukit/libmisc/capture/capture.c index 9ec07b8..1fac4a0 100644 --- a/cpukit/libmisc/capt

[PATCH] capture: change to use malloc/vs/rtems_workspace_alloc.

2014-07-24 Thread Jennifer Averett
--- cpukit/libmisc/capture/capture.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/cpukit/libmisc/capture/capture.c b/cpukit/libmisc/capture/capture.c index 9ec07b8..1fac4a0 100644 --- a/cpukit/libmisc/capture/capture.c +++ b/cpukit/libmisc/capture/capture.c