diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-04 22:28:06 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-04 22:28:06 +0000 |
commit | d80abb394a7c0fbcf824f84ed61a061b2af8e86c (patch) | |
tree | 685f3af3ca76cc1d06c277ab478ed524db615fbb /nuttx/arch/arm/src/common | |
parent | 3a43d878137fecaec5b35d9022308833c96517a8 (diff) | |
download | px4-nuttx-d80abb394a7c0fbcf824f84ed61a061b2af8e86c.tar.gz px4-nuttx-d80abb394a7c0fbcf824f84ed61a061b2af8e86c.tar.bz2 px4-nuttx-d80abb394a7c0fbcf824f84ed61a061b2af8e86c.zip |
Add more HC12 common files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2306 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/common')
-rw-r--r-- | nuttx/arch/arm/src/common/up_createstack.c | 4 | ||||
-rw-r--r-- | nuttx/arch/arm/src/common/up_usestack.c | 4 |
2 files changed, 4 insertions, 4 deletions
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 */ |