diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index 0a336ec00f7..aa4f3129a67 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -3320,18 +3320,19 @@ VxWorks provides the following comparable interface:
up_addrenv_kstackalloc()Function Prototype:
int up_addrenv_kstackalloc(FAR struct tcb_s *tcb, size_t stacksize);
+ int up_addrenv_kstackalloc(FAR struct tcb_s *tcb);
Description:
This function is called when a new thread is created to allocate the new thread's kernel stack. + This function may be called for certain terminating threads which have no kernel stack. + It must be tolerant of that case.
Input Parameters:
tcb: The TCB of the thread that requires the kernel stack.stacksize: The size (in bytes) of the kernel stack needed by the thread.Returned Value: