diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-11-09 23:59:46 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-11-09 23:59:46 +0000 |
commit | 7b62ca71ac0e3ca2c133be8a7d8e07264f5efea8 (patch) | |
tree | 93bfdd4085c7065656d2c224d1f1ab7ce7799ddc /nuttx/arch/mips/src/mips32 | |
parent | 90a4b4973d3425e2f9b86445779fd5c974d23e27 (diff) | |
download | px4-nuttx-7b62ca71ac0e3ca2c133be8a7d8e07264f5efea8.tar.gz px4-nuttx-7b62ca71ac0e3ca2c133be8a7d8e07264f5efea8.tar.bz2 px4-nuttx-7b62ca71ac0e3ca2c133be8a7d8e07264f5efea8.zip |
More PIC32 debug updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4083 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/mips/src/mips32')
-rw-r--r-- | nuttx/arch/mips/src/mips32/up_swint0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/mips/src/mips32/up_swint0.c b/nuttx/arch/mips/src/mips32/up_swint0.c index a23adce67..df1a63e35 100644 --- a/nuttx/arch/mips/src/mips32/up_swint0.c +++ b/nuttx/arch/mips/src/mips32/up_swint0.c @@ -326,7 +326,7 @@ int up_swint0(int irq, FAR void *context) case SYS_switch_context: { DEBUGASSERT(regs[REG_A1] != 0 && regs[REG_A2] != 0); - memcpy((uint32_t*)regs[REG_A1], regs, XCPTCONTEXT_SIZE); + up_copystate((uint32_t*)regs[REG_A1], regs); current_regs = (uint32_t*)regs[REG_A2]; } break; |