diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-05-16 22:20:26 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-05-16 22:20:26 +0000 |
commit | 807e9e2910082769a216b2f43c194a66aa6c760c (patch) | |
tree | c8bb1c9c3e01fa5efe3a590f7caa39b1b9ddb65c /nuttx/arch/mips/include/mips32/irq.h | |
parent | f460cb60146bd6b2458dd1ef558e5a2e5a02d2cf (diff) | |
download | px4-nuttx-807e9e2910082769a216b2f43c194a66aa6c760c.tar.gz px4-nuttx-807e9e2910082769a216b2f43c194a66aa6c760c.tar.bz2 px4-nuttx-807e9e2910082769a216b2f43c194a66aa6c760c.zip |
Beginnings of PIC32 build environment
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3619 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/mips/include/mips32/irq.h')
-rwxr-xr-x | nuttx/arch/mips/include/mips32/irq.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/nuttx/arch/mips/include/mips32/irq.h b/nuttx/arch/mips/include/mips32/irq.h index e2bb784bc..845eddaad 100755 --- a/nuttx/arch/mips/include/mips32/irq.h +++ b/nuttx/arch/mips/include/mips32/irq.h @@ -48,12 +48,31 @@ * Definitions ****************************************************************************/ +/* Lots of missing logic here */ + +#define XCPTCONTEXT_REGS 1 + /**************************************************************************** * Public Types ****************************************************************************/ #ifndef __ASSEMBLY__ +struct xcptcontext +{ + /* The following function pointer is non-NULL if there are pending signals + * to be processed. + */ + +#ifndef CONFIG_DISABLE_SIGNALS + void *sigdeliver; /* Actual type is sig_deliver_t */ +#endif + + /* Register save area */ + + uint32_t regs[XCPTCONTEXT_REGS]; +}; + /**************************************************************************** * Inline functions ****************************************************************************/ |