Skip to content

Commit

Permalink
Merge branch 'master' into cortex-a9-smp
Browse files Browse the repository at this point in the history
  • Loading branch information
hodcarrier committed Jun 20, 2023
2 parents 56cc657 + 1b2995c commit 4e4538c
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions ports/linux/gnu/inc/tx_port.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
/* PORT SPECIFIC C INFORMATION RELEASE */
/* */
/* tx_port.h Linux/GNU */
/* 6.1.11 */
/* 6.x */
/* */
/* AUTHOR */
/* */
Expand Down Expand Up @@ -54,6 +54,9 @@
/* 04-25-2022 William E. Lamie Modified comment(s), removed */
/* useless definition, */
/* resulting in version 6.1.11 */
/* xx-xx-xxxx Yanwu Cai Modified comment(s), fixed */
/* compile warnings, */
/* resulting in version 6.x */
/* */
/**************************************************************************/

Expand Down Expand Up @@ -130,7 +133,7 @@ typedef char CHAR;
typedef unsigned char UCHAR;
typedef int INT;
typedef unsigned int UINT;
#if __x86_64__
#if defined(__x86_64__) && __x86_64__
typedef int LONG;
typedef unsigned int ULONG;
#else /* __x86_64__ */
Expand All @@ -144,7 +147,7 @@ typedef uint64_t ULONG64;

/* Override the alignment type to use 64-bit alignment and storage for pointers. */

#if __x86_64__
#if defined(__x86_64__) && __x86_64__
#define ALIGN_TYPE_DEFINED
typedef unsigned long long ALIGN_TYPE;

Expand Down Expand Up @@ -461,7 +464,7 @@ void _tx_thread_delete_port_completion(struct TX_THREAD_STRUCT *thread_ptr, UINT
void _tx_thread_reset_port_completion(struct TX_THREAD_STRUCT *thread_ptr, UINT tx_saved_posture);
#define TX_THREAD_RESET_PORT_COMPLETION(thread_ptr) _tx_thread_reset_port_completion(thread_ptr, tx_saved_posture);

#if __x86_64__
#if defined(__x86_64__) && __x86_64__
/* Define the ThreadX object deletion extensions for the remaining objects. */

#define TX_BLOCK_POOL_DELETE_EXTENSION(pool_ptr)
Expand Down Expand Up @@ -563,7 +566,7 @@ extern __thread int _tx_linux_threadx_thread;
/* Define functions for linux thread. */
void _tx_linux_thread_suspend(pthread_t thread_id);
void _tx_linux_thread_resume(pthread_t thread_id);
void _tx_linux_thread_init();
void _tx_linux_thread_init(void);

#ifndef TX_LINUX_MEMORY_SIZE
#define TX_LINUX_MEMORY_SIZE 64000
Expand Down

0 comments on commit 4e4538c

Please sign in to comment.