From 5b00da8a2750404b82cbb5a1a77ab611fb0eb530 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 13 Nov 2008 21:13:53 +0000 Subject: Added CONFIG_USERMAIN_STACKSIZE git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1227 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/Documentation/NuttX.html | 6 +++++- nuttx/Documentation/NuttxPortingGuide.html | 10 +++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) (limited to 'nuttx/Documentation') diff --git a/nuttx/Documentation/NuttX.html b/nuttx/Documentation/NuttX.html index 9c8e006af..84ba8a6ef 100644 --- a/nuttx/Documentation/NuttX.html +++ b/nuttx/Documentation/NuttX.html @@ -8,7 +8,7 @@

NuttX RTOS

-

Last Updated: November 11, 2008

+

Last Updated: November 13, 2008

@@ -1185,6 +1185,10 @@ nuttx-0.3.18 2008-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> gcc 3.4.5 toolchain (which has very limit SH-1 support to begin with), or perhaps with the CMON debugger. At any rate, I have exhausted all of the energy that I am willing to put into this cool old processor for the time being. + * Renamed configuration item CONFIG_PROC_STACK_SIZE as CONFIG_IDLETHREAD_STACKSIZE: It now + only controls the size of the stack for the IDLE thread. Added CONFIG_USERMAIN_STACKSIZE: + This is the size of stack used with the user_start() thread is created. The two stacks + no longer have to be the same. pascal-0.1.3 2008-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html index dfee32212..03b40d117 100644 --- a/nuttx/Documentation/NuttxPortingGuide.html +++ b/nuttx/Documentation/NuttxPortingGuide.html @@ -1761,7 +1761,15 @@ The system can be re-made subsequently by just typing make. CONFIG_STACK_POINTER: The initial stack pointer
  • - CONFIG_IDLETHREAD_STACKSIZE: The size of the initial stack + CONFIG_IDLETHREAD_STACKSIZE: The size of the initial stack. + This is the thread that (1) performs the inital boot of the system up + to the point where user_start() is spawned, and (2) there after is the + IDLE thread that executes only when there is no other thread ready to + run. +
  • +
  • + CONFIG_USERMAIN_STACKSIZE: The size of the stack to allocate + for the main user thread that begins at the user_start() entry point.
  • CONFIG_PTHREAD_STACK_MIN: Minimum pthread stack size -- cgit v1.2.3