Remove user_initialize(); Make sure all integer types are signed that need to be

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3474 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2011-04-06 17:48:56 +00:00
parent 85981d6db6
commit f37cd2e046
13 changed files with 67 additions and 67 deletions
+4 -4
View File
@@ -67,20 +67,20 @@
* long long and double are not supported. * long long and double are not supported.
*/ */
typedef char _int8_t; typedef signed char _int8_t;
typedef unsigned char _uint8_t; typedef unsigned char _uint8_t;
typedef int _int16_t; typedef signed int _int16_t;
typedef unsigned int _uint16_t; typedef unsigned int _uint16_t;
typedef long _int32_t; typedef signed long _int32_t;
typedef unsigned long _uint32_t; typedef unsigned long _uint32_t;
/* For SDCC, a Generic pointer is 3 bytes in length with the /* For SDCC, a Generic pointer is 3 bytes in length with the
* first byte holding data space information. * first byte holding data space information.
*/ */
typedef long _intptr_t; typedef signed long _intptr_t;
typedef unsigned long _uintptr_t; typedef unsigned long _uintptr_t;
/* This is the size of the interrupt state save returned by /* This is the size of the interrupt state save returned by
+5 -5
View File
@@ -63,22 +63,22 @@
* files * files
*/ */
typedef char _int8_t; typedef signed char _int8_t;
typedef unsigned char _uint8_t; typedef unsigned char _uint8_t;
typedef short _int16_t; typedef signed short _int16_t;
typedef unsigned short _uint16_t; typedef unsigned short _uint16_t;
typedef int _int32_t; typedef signed int _int32_t;
typedef unsigned int _uint32_t; typedef unsigned int _uint32_t;
typedef long long _int64_t; typedef signed long long _int64_t;
typedef unsigned long long _uint64_t; typedef unsigned long long _uint64_t;
#define __INT64_DEFINED #define __INT64_DEFINED
/* A pointer is 4 bytes */ /* A pointer is 4 bytes */
typedef int _intptr_t; typedef signed int _intptr_t;
typedef unsigned int _uintptr_t; typedef unsigned int _uintptr_t;
/* This is the size of the interrupt state save returned by irqsave(). For /* This is the size of the interrupt state save returned by irqsave(). For
+5 -5
View File
@@ -63,22 +63,22 @@
* files * files
*/ */
typedef char _int8_t; typedef signed char _int8_t;
typedef unsigned char _uint8_t; typedef unsigned char _uint8_t;
typedef short _int16_t; typedef signed short _int16_t;
typedef unsigned short _uint16_t; typedef unsigned short _uint16_t;
typedef int _int32_t; typedef signed int _int32_t;
typedef unsigned int _uint32_t; typedef unsigned int _uint32_t;
typedef long long _int64_t; typedef signed long long _int64_t;
typedef unsigned long long _uint64_t; typedef unsigned long long _uint64_t;
#define __INT64_DEFINED #define __INT64_DEFINED
/* A pointer is 4 bytes */ /* A pointer is 4 bytes */
typedef int _intptr_t; typedef signed int _intptr_t;
typedef unsigned int _uintptr_t; typedef unsigned int _uintptr_t;
/* This is the size of the interrupt state save returned by irqsave(). */ /* This is the size of the interrupt state save returned by irqsave(). */
+6 -6
View File
@@ -63,9 +63,9 @@
* files * files
*/ */
typedef char _int8_t; typedef signed char _int8_t;
typedef unsigned char _uint8_t; typedef unsigned char _uint8_t;
typedef short _int16_t; typedef signed short _int16_t;
typedef unsigned short _uint16_t; typedef unsigned short _uint16_t;
/* Normally, mc68hc1x code is compiled with the -mshort option /* Normally, mc68hc1x code is compiled with the -mshort option
@@ -74,20 +74,20 @@ typedef unsigned short _uint16_t;
*/ */
# if __INT__ == 16 # if __INT__ == 16
typedef long _int32_t; typedef signed long _int32_t;
typedef unsigned long _uint32_t; typedef unsigned long _uint32_t;
#else #else
typedef int _int32_t; typedef signed int _int32_t;
typedef unsigned int _uint32_t; typedef unsigned int _uint32_t;
#endif #endif
typedef long long _int64_t; typedef signed long long _int64_t;
typedef unsigned long long _uint64_t; typedef unsigned long long _uint64_t;
#define __INT64_DEFINED #define __INT64_DEFINED
/* A pointer is two bytes */ /* A pointer is two bytes */
typedef short _intptr_t; typedef signed short _intptr_t;
typedef unsigned short _uintptr_t; typedef unsigned short _uintptr_t;
/* This is the size of the interrupt state save returned by irqsave()*/ /* This is the size of the interrupt state save returned by irqsave()*/
+6 -6
View File
@@ -63,10 +63,10 @@
* files * files
*/ */
typedef char _int8_t; typedef signed char _int8_t;
typedef unsigned char _uint8_t; typedef unsigned char _uint8_t;
typedef short _int16_t; typedef signed short _int16_t;
typedef unsigned short _uint16_t; typedef unsigned short _uint16_t;
/* Normally, mc68hc1x code is compiled with the -mshort option /* Normally, mc68hc1x code is compiled with the -mshort option
@@ -75,20 +75,20 @@ typedef unsigned short _uint16_t;
*/ */
# if __INT__ == 16 # if __INT__ == 16
typedef long _int32_t; typedef signed long _int32_t;
typedef unsigned long _uint32_t; typedef unsigned long _uint32_t;
#else #else
typedef int _int32_t; typedef signed int _int32_t;
typedef unsigned int _uint32_t; typedef unsigned int _uint32_t;
#endif #endif
typedef long long _int64_t; typedef signed long long _int64_t;
typedef unsigned long long _uint64_t; typedef unsigned long long _uint64_t;
#define __INT64_DEFINED #define __INT64_DEFINED
/* A pointer is two bytes */ /* A pointer is two bytes */
typedef short _intptr_t; typedef signed short _intptr_t;
typedef unsigned short _uintptr_t; typedef unsigned short _uintptr_t;
/* This is the size of the interrupt state save returned by irqsave()*/ /* This is the size of the interrupt state save returned by irqsave()*/
+5 -5
View File
@@ -65,22 +65,22 @@
* int is 16-bits and long is 32-bits * int is 16-bits and long is 32-bits
*/ */
typedef char _int8_t; typedef signed char _int8_t;
typedef unsigned char _uint8_t; typedef unsigned char _uint8_t;
typedef int _int16_t; typedef signed int _int16_t;
typedef unsigned int _uint16_t; typedef unsigned int _uint16_t;
typedef long _int32_t; typedef signed long _int32_t;
typedef unsigned long _uint32_t; typedef unsigned long _uint32_t;
typedef long long _int64_t; typedef signed long long _int64_t;
typedef unsigned long long _uint64_t; typedef unsigned long long _uint64_t;
#define __INT64_DEFINED #define __INT64_DEFINED
/* A pointer is 2 bytes */ /* A pointer is 2 bytes */
typedef unsigned int _intptr_t; typedef signed int _intptr_t;
typedef unsigned int _uintptr_t; typedef unsigned int _uintptr_t;
/* This is the size of the interrupt state save returned by /* This is the size of the interrupt state save returned by
+5 -5
View File
@@ -63,22 +63,22 @@
* files * files
*/ */
typedef char _int8_t; typedef signed char _int8_t;
typedef unsigned char _uint8_t; typedef unsigned char _uint8_t;
typedef short _int16_t; typedef signed short _int16_t;
typedef unsigned short _uint16_t; typedef unsigned short _uint16_t;
typedef int _int32_t; typedef signed int _int32_t;
typedef unsigned int _uint32_t; typedef unsigned int _uint32_t;
typedef long long _int64_t; typedef signed long long _int64_t;
typedef unsigned long long _uint64_t; typedef unsigned long long _uint64_t;
#define __INT64_DEFINED #define __INT64_DEFINED
/* A pointer is 4 bytes */ /* A pointer is 4 bytes */
typedef int _intptr_t; typedef signed int _intptr_t;
typedef unsigned int _uintptr_t; typedef unsigned int _uintptr_t;
/* This is the size of the interrupt state save returned by /* This is the size of the interrupt state save returned by
+5 -5
View File
@@ -63,22 +63,22 @@
* files * files
*/ */
typedef char _int8_t; typedef signed char _int8_t;
typedef unsigned char _uint8_t; typedef unsigned char _uint8_t;
typedef short _int16_t; typedef signed short _int16_t;
typedef unsigned short _uint16_t; typedef unsigned short _uint16_t;
typedef int _int32_t; typedef signed int _int32_t;
typedef unsigned int _uint32_t; typedef unsigned int _uint32_t;
typedef long long _int64_t; typedef signed long long _int64_t;
typedef unsigned long long _uint64_t; typedef unsigned long long _uint64_t;
#define __INT64_DEFINED #define __INT64_DEFINED
/* A pointer is 4 bytes */ /* A pointer is 4 bytes */
typedef unsigned int _intptr_t; typedef signed int _intptr_t;
typedef unsigned int _uintptr_t; typedef unsigned int _uintptr_t;
/* This is the size of the interrupt state save returned by /* This is the size of the interrupt state save returned by
+5 -5
View File
@@ -64,22 +64,22 @@
* files * files
*/ */
typedef char _int8_t; typedef signed char _int8_t;
typedef unsigned char _uint8_t; typedef unsigned char _uint8_t;
typedef short _int16_t; typedef signed short _int16_t;
typedef unsigned short _uint16_t; typedef unsigned short _uint16_t;
typedef int _int32_t; typedef signed int _int32_t;
typedef unsigned int _uint32_t; typedef unsigned int _uint32_t;
typedef long long _int64_t; typedef signed long long _int64_t;
typedef unsigned long long _uint64_t; typedef unsigned long long _uint64_t;
#define __INT64_DEFINED #define __INT64_DEFINED
/* A pointer is 4 bytes */ /* A pointer is 4 bytes */
typedef unsigned int _intptr_t; typedef signed int _intptr_t;
typedef unsigned int _uintptr_t; typedef unsigned int _uintptr_t;
/* This is the size of the interrupt state save returned by /* This is the size of the interrupt state save returned by
+4 -4
View File
@@ -63,18 +63,18 @@
* files * files
*/ */
typedef char _int8_t; typedef signed char _int8_t;
typedef unsigned char _uint8_t; typedef unsigned char _uint8_t;
typedef short _int16_t; typedef signed short _int16_t;
typedef unsigned short _uint16_t; typedef unsigned short _uint16_t;
typedef int _int32_t; typedef signed int _int32_t;
typedef unsigned int _uint32_t; typedef unsigned int _uint32_t;
/* A pointer is 4 bytes */ /* A pointer is 4 bytes */
typedef int _intptr_t; typedef signed int _intptr_t;
typedef unsigned int _uintptr_t; typedef unsigned int _uintptr_t;
/* This is the size of the interrupt state save returned by /* This is the size of the interrupt state save returned by
+6 -6
View File
@@ -72,17 +72,17 @@
* float - 32-bits * float - 32-bits
*/ */
typedef char _int8_t; typedef signed char _int8_t;
typedef unsigned char _uint8_t; typedef unsigned char _uint8_t;
typedef short _int16_t; typedef signed short _int16_t;
typedef unsigned short _uint16_t; typedef unsigned short _uint16_t;
typedef int _int24_t; typedef signed int _int24_t;
typedef unsigned int _uint24_t; typedef unsigned int _uint24_t;
#define __INT24_DEFINED #define __INT24_DEFINED
typedef long _int32_t; typedef signed long _int32_t;
typedef unsigned long _uint32_t; typedef unsigned long _uint32_t;
/* A pointer is 2 or 3 bytes, depending upon if the ez80 is in z80 /* A pointer is 2 or 3 bytes, depending upon if the ez80 is in z80
@@ -93,10 +93,10 @@ typedef unsigned long _uint32_t;
*/ */
#ifdef CONFIG_EZ80_Z80MODE #ifdef CONFIG_EZ80_Z80MODE
typedef short _intptr_t; typedef signed short _intptr_t;
typedef unsigned short _uintptr_t; typedef unsigned short _uintptr_t;
#else #else
typedef int _intptr_t; typedef signed int _intptr_t;
typedef unsigned int _uintptr_t; typedef unsigned int _uintptr_t;
#endif #endif
+4 -4
View File
@@ -79,18 +79,18 @@
* rom pointer - 16-bits * rom pointer - 16-bits
*/ */
typedef char _int8_t; typedef signed char _int8_t;
typedef unsigned char _uint8_t; typedef unsigned char _uint8_t;
typedef int _int16_t; typedef signed int _int16_t;
typedef unsigned int _uint16_t; typedef unsigned int _uint16_t;
typedef long _int32_t; typedef signed long _int32_t;
typedef unsigned long _uint32_t; typedef unsigned long _uint32_t;
/* A pointer is 2 bytes */ /* A pointer is 2 bytes */
typedef unsigned int _intptr_t; typedef signed int _intptr_t;
typedef unsigned int _uintptr_t; typedef unsigned int _uintptr_t;
/* This is the size of the interrupt state save returned by irqsave() */ /* This is the size of the interrupt state save returned by irqsave() */
+4 -4
View File
@@ -72,18 +72,18 @@
* space information. * space information.
*/ */
typedef char _int8_t; typedef signed char _int8_t;
typedef unsigned char _uint8_t; typedef unsigned char _uint8_t;
typedef int _int16_t; typedef signed int _int16_t;
typedef unsigned int _uint16_t; typedef unsigned int _uint16_t;
typedef long _int32_t; typedef signed long _int32_t;
typedef unsigned long _uint32_t; typedef unsigned long _uint32_t;
/* A pointer is 2 bytes */ /* A pointer is 2 bytes */
typedef int _intptr_t; typedef signed int _intptr_t;
typedef unsigned int _uintptr_t; typedef unsigned int _uintptr_t;
/* This is the size of the interrupt state save returned by irqsave() */ /* This is the size of the interrupt state save returned by irqsave() */