[pok-devel] Reset of the stack and the context |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/pok-devel Archives
]
Hello,
I'm implementing the DELAYED_START function (ARINC653), and, as usual, I have one question:
To implement the DELAYED_START, ARINC ask the reset of the context and the stack. How can I do that ? It does not seem to me that POK implements that kind of functionality but I can make a mistake..
If I must implement a reset, If i do a memset on the stack and on the context follow by a re-set of start_context_t entry, id, ctx._esp, ctx.eip, ctx.cs and ctx.eflags values, will that work ?
Thanks,
HASTARAN Matias