summaryrefslogtreecommitdiff
path: root/nuttx/arch/z80/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-03-23 17:58:08 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-03-23 17:58:08 +0000
commit80962cfd5bd1ba72390abaa35f2aa91cab69fd67 (patch)
tree2c69ec9524423f404b8e0ef0e1b21b171e0caa93 /nuttx/arch/z80/include
parent739f1170b4d8b8f02e33c9f46ae933454ddf3078 (diff)
downloadpx4-nuttx-80962cfd5bd1ba72390abaa35f2aa91cab69fd67.tar.gz
px4-nuttx-80962cfd5bd1ba72390abaa35f2aa91cab69fd67.tar.bz2
px4-nuttx-80962cfd5bd1ba72390abaa35f2aa91cab69fd67.zip
Implement irqsave/restore
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@747 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z80/include')
-rw-r--r--nuttx/arch/z80/include/ez80/types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/z80/include/ez80/types.h b/nuttx/arch/z80/include/ez80/types.h
index a84e9eb57..f8de240c4 100644
--- a/nuttx/arch/z80/include/ez80/types.h
+++ b/nuttx/arch/z80/include/ez80/types.h
@@ -81,10 +81,10 @@ typedef long sint32;
typedef unsigned long uint32;
/* This is the size of the interrupt state save returned by irqsave().
- * It holds the contents of the interrupt vector address
+ * It holds the AF regiser pair + a zero pad byte
*/
-typedef ubyte irqstate_t;
+typedef uint24 irqstate_t;
#endif /* __ASSEMBLY__ */