diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2009-12-04 22:28:06 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2009-12-04 22:28:06 +0000 |
commit | 79b9205536f1fae6450b53d4a37d7ff29f0f6639 (patch) | |
tree | 685f3af3ca76cc1d06c277ab478ed524db615fbb /nuttx/arch/arm/src/common | |
parent | 86132ec32320e946a2fa05caa999deaceebcd752 (diff) |
Add more HC12 common files
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@2306 7fd9a85b-ad96-42d3-883c-3090e2eb8679
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 85071269ed..c3e213eb43 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 afd29d52d0..c67dd6ad0a 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 */ |