diff options
Diffstat (limited to 'nuttx/arch/z80/include/z8/irq.h')
-rw-r--r-- | nuttx/arch/z80/include/z8/irq.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/nuttx/arch/z80/include/z8/irq.h b/nuttx/arch/z80/include/z8/irq.h index 764ace338..fb0cc7281 100644 --- a/nuttx/arch/z80/include/z8/irq.h +++ b/nuttx/arch/z80/include/z8/irq.h @@ -2,7 +2,7 @@ * arch/z8/include/z8/irq.h * arch/chip/irq.h * - * Copyright (C) 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -45,6 +45,10 @@ * Included Files ****************************************************************************/ +#ifndef __ASSEMBLY__ +# include <stdint.h> +#endif + /**************************************************************************** * Definitions ****************************************************************************/ @@ -321,12 +325,12 @@ struct xcptcontext */ #ifndef CONFIG_DISABLE_SIGNALS - CODE void *sigdeliver; /* Actual type is sig_deliver_t */ + CODE void *sigdeliver; /* Actual type is sig_deliver_t */ /* The following retains that state during signal execution */ - uint16 saved_pc; /* Saved return address */ - uint16 saved_irqctl; /* Saved interrupt state */ + uint16_t saved_pc; /* Saved return address */ + uint16_t saved_irqctl; /* Saved interrupt state */ #endif }; #endif |