summaryrefslogtreecommitdiff
path: root/nuttx/arch/z16/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-16 14:38:33 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-16 14:38:33 +0000
commit5e50f40f37be6fd057b050e75aa2f4dcc9529b3c (patch)
tree2d7879282e98a0cab12bc282e900f2c050010b34 /nuttx/arch/z16/include
parent03a31e4a728883bf41bd6712d38dae413a9a41bc (diff)
downloadpx4-nuttx-5e50f40f37be6fd057b050e75aa2f4dcc9529b3c.tar.gz
px4-nuttx-5e50f40f37be6fd057b050e75aa2f4dcc9529b3c.tar.bz2
px4-nuttx-5e50f40f37be6fd057b050e75aa2f4dcc9529b3c.zip
Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2355 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z16/include')
-rw-r--r--nuttx/arch/z16/include/z16f/irq.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/nuttx/arch/z16/include/z16f/irq.h b/nuttx/arch/z16/include/z16f/irq.h
index 025a38b9b..46abe4d3f 100644
--- a/nuttx/arch/z16/include/z16f/irq.h
+++ b/nuttx/arch/z16/include/z16f/irq.h
@@ -45,6 +45,10 @@
* Included Files
****************************************************************************/
+#ifndef __ASSEMBLY__
+# include <stdint.h>
+#endif
+
/****************************************************************************
* Definitions
****************************************************************************/
@@ -165,7 +169,7 @@
/* This is the type of the register save array */
-typedef uint16 chipreg_t;
+typedef uint16_t chipreg_t;
/* This struct defines the way the registers are stored. */
@@ -173,7 +177,7 @@ struct xcptcontext
{
/* Register save area */
- uint16 regs[XCPTCONTEXT_REGS];
+ uint16_t regs[XCPTCONTEXT_REGS];
/* The following function pointer is non-zero if there
* are pending signals to be processed.
@@ -184,8 +188,8 @@ struct xcptcontext
/* The following retains that state during signal execution */
- uint32 saved_pc; /* Saved return address */
- uint16 saved_i; /* Saved interrupt state */
+ uint32_t saved_pc; /* Saved return address */
+ uint16_t saved_i; /* Saved interrupt state */
#endif
};
#endif