Task stack pointer
Chris Johns
cjohns at cybertec.com.au
Fri Jul 4 00:36:51 UTC 2003
Derick Hammond wrote:
>
> This is probably another fundamental question.
>
> Is there a way of determining the base address of a stack for a
> particular task?
>
You need the task control block. Once you have that then:
tcb->Start.Initial_stack.area
You may wish to look over the capture engine and RTEMS monitor code. They are in the
libmisc tree. Both these modules have interesting little bit and pieces when looking
a little deeper in RTEMS.
--
Chris Johns, cjohns at cybertec . com . au
More information about the users
mailing list