diff options
Diffstat (limited to 'nuttx/arch/sim/include/types.h')
-rw-r--r-- | nuttx/arch/sim/include/types.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nuttx/arch/sim/include/types.h b/nuttx/arch/sim/include/types.h index 39232af7d..1c7636886 100644 --- a/nuttx/arch/sim/include/types.h +++ b/nuttx/arch/sim/include/types.h @@ -52,6 +52,10 @@ * Type Declarations ************************************************************/ +#ifndef __ASSEMBLY__ + +/* These are the sizes of the standard GNU types */ + typedef char sbyte; typedef unsigned char ubyte; typedef unsigned char uint8; @@ -63,6 +67,14 @@ typedef unsigned int uint32; typedef long long sint64; typedef unsigned long long uint64; +/* This is the size of the interrupt state save returned by + * irqsave() + */ + +typedef unsigned int irqstate_t; + +#endif /* __ASSEMBLY__ */ + /************************************************************ * Global Function Prototypes ************************************************************/ |