Typo in naming

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@98 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2007-03-19 16:39:30 +00:00
parent 20970888b7
commit db370f2345
2 changed files with 5 additions and 5 deletions

View File

@ -78,8 +78,8 @@
#define REG_R15 (15) #define REG_R15 (15)
#define REG_CPSR (16) #define REG_CPSR (16)
#define XCPTCONTEST_REGS (17) #define XCPTCONTEXT_REGS (17)
#define XCPTCONTEXT_SIZE (4 * XCPTCONTEST_REGS) #define XCPTCONTEXT_SIZE (4 * XCPTCONTEXT_REGS)
#define REG_A1 REG_R0 #define REG_A1 REG_R0
#define REG_A2 REG_R1 #define REG_A2 REG_R1
@ -173,7 +173,7 @@
*--- *---
* 5 (XCPTCONTEXT_IRQ_REGS) * 5 (XCPTCONTEXT_IRQ_REGS)
* *
* For a total of 17 (XCPTCONTEST_REGS) * For a total of 17 (XCPTCONTEXT_REGS)
*/ */
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
@ -194,7 +194,7 @@ struct xcptcontext
/* Register save area */ /* Register save area */
uint32 regs[XCPTCONTEST_REGS]; uint32 regs[XCPTCONTEXT_REGS];
}; };
#endif #endif

View File

@ -67,7 +67,7 @@
void up_copystate(uint32 *dest, uint32 *src) void up_copystate(uint32 *dest, uint32 *src)
{ {
int i; int i;
for (i = 0; i < XCPTCONTEST_REGS; i++) for (i = 0; i < XCPTCONTEXT_REGS; i++)
{ {
*dest++ = *src++; *dest++ = *src++;
} }