From 5d8f645892e54df8ba9b9656627e3b9516739ba2 Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 19 Mar 2007 21:40:52 +0000 Subject: [PATCH] Fix typos git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@101 42af7a65-404d-4744-a932-0658087f49c3 --- arch/c5471/src/up_createstack.c | 2 +- arch/c5471/src/up_usestack.c | 2 +- arch/dm320/src/up_createstack.c | 2 +- arch/dm320/src/up_usestack.c | 2 +- arch/sim/src/up_createstack.c | 2 +- arch/sim/src/up_usestack.c | 2 +- include/nuttx/arch.h | 21 ++++++++++++--------- 7 files changed, 18 insertions(+), 15 deletions(-) diff --git a/arch/c5471/src/up_createstack.c b/arch/c5471/src/up_createstack.c index 7903ee8b8b0..5af781c51b0 100644 --- a/arch/c5471/src/up_createstack.c +++ b/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/arch/c5471/src/up_usestack.c b/arch/c5471/src/up_usestack.c index 31531456959..db2c1796e78 100644 --- a/arch/c5471/src/up_usestack.c +++ b/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/arch/dm320/src/up_createstack.c b/arch/dm320/src/up_createstack.c index 0e1f0690afc..b3a0b66a802 100644 --- a/arch/dm320/src/up_createstack.c +++ b/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/arch/dm320/src/up_usestack.c b/arch/dm320/src/up_usestack.c index 31531456959..db2c1796e78 100644 --- a/arch/dm320/src/up_usestack.c +++ b/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/arch/sim/src/up_createstack.c b/arch/sim/src/up_createstack.c index 845c766618d..c56e7a1a9dd 100644 --- a/arch/sim/src/up_createstack.c +++ b/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/arch/sim/src/up_usestack.c b/arch/sim/src/up_usestack.c index ca1c2ac535c..d8964b64421 100644 --- a/arch/sim/src/up_usestack.c +++ b/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/include/nuttx/arch.h b/include/nuttx/arch.h index 163f30eda81..2da8e723ec1 100644 --- a/include/nuttx/arch.h +++ b/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