From d80abb394a7c0fbcf824f84ed61a061b2af8e86c Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 4 Dec 2009 22:28:06 +0000 Subject: Add more HC12 common files git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2306 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/arch/arm/src/common/up_createstack.c | 4 ++-- nuttx/arch/arm/src/common/up_usestack.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'nuttx/arch/arm/src/common') diff --git a/nuttx/arch/arm/src/common/up_createstack.c b/nuttx/arch/arm/src/common/up_createstack.c index 85071269e..c3e213eb4 100644 --- a/nuttx/arch/arm/src/common/up_createstack.c +++ b/nuttx/arch/arm/src/common/up_createstack.c @@ -101,7 +101,7 @@ STATUS up_create_stack(_TCB *tcb, size_t stack_size) size_t top_of_stack; size_t size_of_stack; - /* The Arm7Tdmi uses a push-down stack: the stack grows + /* The ARM uses a push-down stack: the stack grows * toward loweraddresses in memory. The stack pointer * register, points to the lowest, valid work address * (the "top" of the stack). Items on the stack are @@ -110,7 +110,7 @@ STATUS up_create_stack(_TCB *tcb, size_t stack_size) top_of_stack = (uint32)tcb->stack_alloc_ptr + stack_size - 4; - /* The Arm7Tdmi stack must be aligned at word (4 byte) + /* The ARM stack must be aligned at word (4 byte) * boundaries. If necessary top_of_stack must be rounded * down to the next boundary */ diff --git a/nuttx/arch/arm/src/common/up_usestack.c b/nuttx/arch/arm/src/common/up_usestack.c index afd29d52d..c67dd6ad0 100644 --- a/nuttx/arch/arm/src/common/up_usestack.c +++ b/nuttx/arch/arm/src/common/up_usestack.c @@ -92,7 +92,7 @@ STATUS up_use_stack(_TCB *tcb, void *stack, size_t stack_size) tcb->stack_alloc_ptr = stack; - /* The Arm7Tdmi uses a push-down stack: the stack grows + /* The ARM uses a push-down stack: the stack grows * toward loweraddresses in memory. The stack pointer * register, points to the lowest, valid work address * (the "top" of the stack). Items on the stack are @@ -101,7 +101,7 @@ STATUS up_use_stack(_TCB *tcb, void *stack, size_t stack_size) top_of_stack = (uint32)tcb->stack_alloc_ptr + stack_size - 4; - /* The Arm7Tdmi stack must be aligned at word (4 byte) + /* The ARM stack must be aligned at word (4 byte) * boundaries. If necessary top_of_stack must be rounded * down to the next boundary */ -- cgit v1.2.3