Introduces Regression for 32 and 64 bit threadx and smp kernel in Debug, MinSizeRel and Release configuration #4
@@ -96,11 +96,14 @@ typedef unsigned char UCHAR;
|
|||||||
typedef int INT;
|
typedef int INT;
|
||||||
typedef unsigned int UINT;
|
typedef unsigned int UINT;
|
||||||
typedef int LONG;
|
typedef int LONG;
|
||||||
typedef unsigned int ULONG;
|
typedef unsigned int ULONG; // ThreadX expects ULONG to be 32 bit
|
||||||
typedef unsigned long long ULONG64;
|
typedef unsigned long long ULONG64;
|
||||||
typedef short SHORT;
|
typedef short SHORT;
|
||||||
typedef unsigned short USHORT;
|
typedef unsigned short USHORT;
|
||||||
#define ULONG64_DEFINED
|
#define ULONG64_DEFINED
|
||||||
|
#define ALIGN_TYPE_DEFINED
|
||||||
|
// Since ULONG is not actually unsigned long, it is to small to hold pointers for 64-bit systems
|
||||||
|
#define ALIGN_TYPE unsigned long
|
||||||
|
|
||||||
/* Define the priority levels for ThreadX. Legal values range
|
/* Define the priority levels for ThreadX. Legal values range
|
||||||
from 32 to 1024 and MUST be evenly divisible by 32. */
|
from 32 to 1024 and MUST be evenly divisible by 32. */
|
||||||
|
|||||||
Reference in New Issue
Block a user