diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-01 19:08:04 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-01 19:08:04 +0000 |
commit | 00b2545e9e3cc760255aa7b4fc953ad5ab97ba62 (patch) | |
tree | 90f908d15691555fdf19c21eeae7b55187b73803 /nuttx/include/stdint.h | |
parent | 6e09d7aab47a47e36f56d9b33bd6e87e96e2af2c (diff) | |
download | px4-nuttx-00b2545e9e3cc760255aa7b4fc953ad5ab97ba62.tar.gz px4-nuttx-00b2545e9e3cc760255aa7b4fc953ad5ab97ba62.tar.bz2 px4-nuttx-00b2545e9e3cc760255aa7b4fc953ad5ab97ba62.zip |
Add support for accessing printf, sprintf, puts, etc. strings that do not lie in the MCU data space
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3738 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/stdint.h')
-rwxr-xr-x | nuttx/include/stdint.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nuttx/include/stdint.h b/nuttx/include/stdint.h index f6d2fcfcd..26bcce4db 100755 --- a/nuttx/include/stdint.h +++ b/nuttx/include/stdint.h @@ -282,6 +282,15 @@ typedef _uint64_t uint_fast64_t; typedef _intptr_t intptr_t; typedef _uintptr_t uintptr_t; +/* Some architectures support a FAR pointer which is larger then the normal + * (near) pointer + */ + +#ifdef CONFIG_HAVE_FARPOINTER +typedef _int_farptr_t int_farptr_t; +typedef _uint_farptr_t uint_farptr_t; +#endif + /* Greatest-width integer types */ #ifdef __INT64_DEFINED |