diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-12-31 15:45:58 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-12-31 15:45:58 +0000 |
commit | d63b9bf5f59c5d16a3e9e5dffe50a9bbbb453c19 (patch) | |
tree | c76395b9d789715f198ad824844d10cb315791c7 /nuttx/arch/z80/src/common/up_internal.h | |
parent | a3124243d36a5729304fd2822efca8c96a6f5c6f (diff) | |
download | px4-nuttx-d63b9bf5f59c5d16a3e9e5dffe50a9bbbb453c19.tar.gz px4-nuttx-d63b9bf5f59c5d16a3e9e5dffe50a9bbbb453c19.tar.bz2 px4-nuttx-d63b9bf5f59c5d16a3e9e5dffe50a9bbbb453c19.zip |
Add z80 signals
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@472 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z80/src/common/up_internal.h')
-rw-r--r-- | nuttx/arch/z80/src/common/up_internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nuttx/arch/z80/src/common/up_internal.h b/nuttx/arch/z80/src/common/up_internal.h index 7b0ba4474..5e4db68da 100644 --- a/nuttx/arch/z80/src/common/up_internal.h +++ b/nuttx/arch/z80/src/common/up_internal.h @@ -65,6 +65,7 @@ #define SET_IRQCONTEXT(tcb) up_copystate(current_regs, (tcb)->xcp.regs) #define SAVE_USERCONTEXT(tcb) up_saveusercontext((tcb)->xcp.regs) #define RESTORE_USERCONTEXT(tcb) up_restoreusercontext((tcb)->xcp.regs) +#define SIGNAL_RETURN(regs) up_restoreusercontext(regs) /**************************************************************************** * Public Types |