diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-16 14:15:34 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-16 14:15:34 +0000 |
commit | 03a31e4a728883bf41bd6712d38dae413a9a41bc (patch) | |
tree | abe04d3d494a263aa46a4467603c8027dfa701e9 /nuttx/arch/z80/src/z8/chip.h | |
parent | b10830785275aac3667b88c2d1a90a5563bbdb49 (diff) | |
download | px4-nuttx-03a31e4a728883bf41bd6712d38dae413a9a41bc.tar.gz px4-nuttx-03a31e4a728883bf41bd6712d38dae413a9a41bc.tar.bz2 px4-nuttx-03a31e4a728883bf41bd6712d38dae413a9a41bc.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@2354 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z80/src/z8/chip.h')
-rw-r--r-- | nuttx/arch/z80/src/z8/chip.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/nuttx/arch/z80/src/z8/chip.h b/nuttx/arch/z80/src/z8/chip.h index 702edd5fe..7635c0407 100644 --- a/nuttx/arch/z80/src/z8/chip.h +++ b/nuttx/arch/z80/src/z8/chip.h @@ -41,6 +41,10 @@ * Included Files ************************************************************************************/ +#ifndef __ASSEMBLY__ +# include <stdint.h> +#endif + /************************************************************************************ * Definitions ************************************************************************************/ @@ -118,11 +122,11 @@ /* UART0/1 Base Register Addresses **************************************************/ #ifdef EZ8_UART0 -# define Z8_UART0_BASE ((ubyte volatile far*)0xf40) +# define Z8_UART0_BASE ((uint8_t volatile far*)0xf40) #endif #ifdef EZ8_UART1 -# define Z8_UART1_BASE ((ubyte volatile far*)0xf48) +# define Z8_UART1_BASE ((uint8_t volatile far*)0xf48) #endif /* UART0/1 Status 0 Register Bit Definitions ****************************************/ |