corrects naming of TX_INTERRUPT_SAVE_AREA to meet test expectations
Also corrects the sizes, as ULONG is XLEN bits
This commit is contained in:
1 parent
7307a86860
commit
9947ce8d52
2 files changed
+12
-12
No files matched your search
@@ -315,10 +315,10 @@ typedef struct TX_THREAD_SMP_PROTECT_STRUCT
|
||||
is used to define a local function save area for the disable and restore
|
||||
macros. */
|
||||
|
||||
#define TX_INTERRUPT_SAVE_AREA ULONG64 interrupt_save;
|
||||
#define TX_INTERRUPT_SAVE_AREA ULONG tx_saved_posture;
|
||||
|
||||
#define TX_DISABLE interrupt_save = _tx_thread_smp_protect();
|
||||
#define TX_RESTORE _tx_thread_smp_unprotect(interrupt_save);
|
||||
#define TX_DISABLE tx_saved_posture = _tx_thread_smp_protect();
|
||||
#define TX_RESTORE _tx_thread_smp_unprotect(tx_saved_posture);
|
||||
|
||||
/************* End ThreadX SMP data type and function prototype definitions. *************/
|
||||
|
||||
|
||||
Reference in new issue
Block a user