diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-19 21:40:52 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-19 21:40:52 +0000 |
commit | f2044c4e9230822e0f7940243c01c90868839765 (patch) | |
tree | caf59f336c6cb3c93fcfe3aff15f21d4c7f864e8 | |
parent | b0db3837ba50fd451c918f39a5de4e4af1b867cf (diff) | |
download | nuttx-f2044c4e9230822e0f7940243c01c90868839765.tar.gz nuttx-f2044c4e9230822e0f7940243c01c90868839765.tar.bz2 nuttx-f2044c4e9230822e0f7940243c01c90868839765.zip |
Fix typos
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@101 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r-- | nuttx/arch/c5471/src/up_createstack.c | 2 | ||||
-rw-r--r-- | nuttx/arch/c5471/src/up_usestack.c | 2 | ||||
-rw-r--r-- | nuttx/arch/dm320/src/up_createstack.c | 2 | ||||
-rw-r--r-- | nuttx/arch/dm320/src/up_usestack.c | 2 | ||||
-rw-r--r-- | nuttx/arch/sim/src/up_createstack.c | 2 | ||||
-rw-r--r-- | nuttx/arch/sim/src/up_usestack.c | 2 | ||||
-rw-r--r-- | nuttx/include/nuttx/arch.h | 21 |
7 files changed, 18 insertions, 15 deletions
diff --git a/nuttx/arch/c5471/src/up_createstack.c b/nuttx/arch/c5471/src/up_createstack.c index 7903ee8b8..5af781c51 100644 --- a/nuttx/arch/c5471/src/up_createstack.c +++ b/nuttx/arch/c5471/src/up_createstack.c @@ -69,7 +69,7 @@ * processor, etc. This value is retained only for debug * purposes. * stack_alloc_ptr: Pointer to allocated stack - * adj_stack_ptr: Adjusted StatckAllocPtr for HW. The + * adj_stack_ptr: Adjusted stack_alloc_ptr for HW. The * initial value of the stack pointer. * * Inputs: diff --git a/nuttx/arch/c5471/src/up_usestack.c b/nuttx/arch/c5471/src/up_usestack.c index 315314569..db2c1796e 100644 --- a/nuttx/arch/c5471/src/up_usestack.c +++ b/nuttx/arch/c5471/src/up_usestack.c @@ -69,7 +69,7 @@ * processor, etc. This value is retained only for debug * purposes. * stack_alloc_ptr: Pointer to allocated stack - * adj_stack_ptr: Adjusted StatckAllocPtr for HW. The + * adj_stack_ptr: Adjusted stack_alloc_ptr for HW. The * initial value of the stack pointer. * * Inputs: diff --git a/nuttx/arch/dm320/src/up_createstack.c b/nuttx/arch/dm320/src/up_createstack.c index 0e1f0690a..b3a0b66a8 100644 --- a/nuttx/arch/dm320/src/up_createstack.c +++ b/nuttx/arch/dm320/src/up_createstack.c @@ -69,7 +69,7 @@ * processor, etc. This value is retained only for debug * purposes. * stack_alloc_ptr: Pointer to allocated stack - * adj_stack_ptr: Adjusted StatckAllocPtr for HW. The + * adj_stack_ptr: Adjusted stack_alloc_ptr for HW. The * initial value of the stack pointer. * * Inputs: diff --git a/nuttx/arch/dm320/src/up_usestack.c b/nuttx/arch/dm320/src/up_usestack.c index 315314569..db2c1796e 100644 --- a/nuttx/arch/dm320/src/up_usestack.c +++ b/nuttx/arch/dm320/src/up_usestack.c @@ -69,7 +69,7 @@ * processor, etc. This value is retained only for debug * purposes. * stack_alloc_ptr: Pointer to allocated stack - * adj_stack_ptr: Adjusted StatckAllocPtr for HW. The + * adj_stack_ptr: Adjusted stack_alloc_ptr for HW. The * initial value of the stack pointer. * * Inputs: diff --git a/nuttx/arch/sim/src/up_createstack.c b/nuttx/arch/sim/src/up_createstack.c index 845c76661..c56e7a1a9 100644 --- a/nuttx/arch/sim/src/up_createstack.c +++ b/nuttx/arch/sim/src/up_createstack.c @@ -71,7 +71,7 @@ * processor, etc. This value is retained only for debug * purposes. * stack_alloc_ptr: Pointer to allocated stack - * adj_stack_ptr: Adjusted StatckAllocPtr for HW. The + * adj_stack_ptr: Adjusted stack_alloc_ptr for HW. The * initial value of the stack pointer. * * Inputs: diff --git a/nuttx/arch/sim/src/up_usestack.c b/nuttx/arch/sim/src/up_usestack.c index ca1c2ac53..d8964b644 100644 --- a/nuttx/arch/sim/src/up_usestack.c +++ b/nuttx/arch/sim/src/up_usestack.c @@ -72,7 +72,7 @@ * processor, etc. This value is retained only for debug * purposes. * stack_alloc_ptr: Pointer to allocated stack - * adj_stack_ptr: Adjusted StatckAllocPtr for HW. The + * adj_stack_ptr: Adjusted stack_alloc_ptr for HW. The * initial value of the stack pointer. * * Inputs: diff --git a/nuttx/include/nuttx/arch.h b/nuttx/include/nuttx/arch.h index 163f30eda..2da8e723e 100644 --- a/nuttx/include/nuttx/arch.h +++ b/nuttx/include/nuttx/arch.h @@ -141,13 +141,14 @@ EXTERN void up_initial_state(FAR _TCB *tcb); * processor, etc. This value is retained only for debug * purposes. * stack_alloc_ptr: Pointer to allocated stack - * adj_stack_ptr: Adjusted StatckAllocPtr for HW. The + * adj_stack_ptr: Adjusted stack_alloc_ptr for HW. The * initial value of the stack pointer. * * Inputs: * tcb: The TCB of new task * stack_size: The requested stack size. At least this much * must be allocated. + * ************************************************************/ #ifndef CONFIG_CUSTOM_STACK @@ -166,7 +167,7 @@ EXTERN STATUS up_create_stack(FAR _TCB *tcb, size_t stack_size); * processor, etc. This value is retained only for debug * purposes. * stack_alloc_ptr: Pointer to allocated stack - * adj_stack_ptr: Adjusted StatckAllocPtr for HW. The + * adj_stack_ptr: Adjusted stack_alloc_ptr for HW. The * initial value of the stack pointer. * * Inputs: @@ -244,14 +245,16 @@ EXTERN void up_block_task(FAR _TCB *tcb, tstate_t task_state); * Name: up_release_pending * * Description: - * Release and ready-to-run tasks that have - * collected in the pending task list. This can call a - * context switch if a new task is placed at the head of - * the ready to run list. + * When tasks become ready-to-run but cannot run because + * pre-emption is disabled, they are placed into a pending + * task list. This function releases and makes ready-to-run + * all of the tasks that have collected in the pending task + * list. This can cause a context switch if a new task is + * placed at the head of the ready to run list. * * This function is called only from the NuttX scheduling - * logic. Interrupts will always be disabled when this - * function is called. + * logic when pre-emptioni is re-enabled. Interrupts will + * always be disabled when this function is called. * ************************************************************/ @@ -299,7 +302,7 @@ EXTERN void up_reprioritize_rtr(FAR _TCB *tcb, ubyte priority); /* Prototype is in unistd.h */ /************************************************************ - * Name: ip_assert and up_assert_code + * Name: up_assert and up_assert_code * * Description: * Assertions may be handled in an architecture-specific |