Skip to content

Commit da5093f

Browse files
committed
Proposed changes to the original PR
1 parent a7961fe commit da5093f

File tree

51 files changed

+137
-28
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+137
-28
lines changed

ports/cortex_a12/ac6/src/tx_thread_schedule.S

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/***************************************************************************
22
* Copyright (c) 2024 Microsoft Corporation
3+
* Copyright (C) 2026-present Eclipse ThreadX contributors
34
*
45
* This program and the accompanying materials are made available under the
56
* terms of the MIT License which is available at
@@ -40,11 +41,11 @@
4041
#define SVC_MODE 0x13 // SVC mode
4142

4243
#ifdef TX_ENABLE_VFP_SUPPORT
43-
IRQ_MASK = 0x080
44+
#define IRQ_MASK 0x80
4445
#endif
4546

4647
#ifdef TX_ENABLE_FIQ_SUPPORT
47-
FIQ_MASK = 0x040
48+
#define FIQ_MASK 0x40
4849
#endif
4950

5051
/**************************************************************************/
@@ -267,3 +268,4 @@ no_fiq:
267268
BX lr
268269

269270
#endif
271+

ports/cortex_a12/gnu/src/tx_thread_schedule.S

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/***************************************************************************
22
* Copyright (c) 2024 Microsoft Corporation
3+
* Copyright (C) 2026-present Eclipse ThreadX contributors
34
*
45
* This program and the accompanying materials are made available under the
56
* terms of the MIT License which is available at
@@ -40,11 +41,11 @@
4041
#define SVC_MODE 0x13 // SVC mode
4142

4243
#ifdef TX_ENABLE_VFP_SUPPORT
43-
IRQ_MASK = 0x080
44+
#define IRQ_MASK 0x80
4445
#endif
4546

4647
#ifdef TX_ENABLE_FIQ_SUPPORT
47-
FIQ_MASK = 0x040
48+
#define FIQ_MASK 0x40
4849
#endif
4950

5051
/**************************************************************************/
@@ -267,3 +268,4 @@ no_fiq:
267268
BX lr
268269

269270
#endif
271+

ports/cortex_a15/ac6/src/tx_thread_schedule.S

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/***************************************************************************
22
* Copyright (c) 2024 Microsoft Corporation
3+
* Copyright (C) 2026-present Eclipse ThreadX contributors
34
*
45
* This program and the accompanying materials are made available under the
56
* terms of the MIT License which is available at
@@ -40,11 +41,11 @@
4041
#define SVC_MODE 0x13 // SVC mode
4142

4243
#ifdef TX_ENABLE_VFP_SUPPORT
43-
IRQ_MASK = 0x080
44+
#define IRQ_MASK 0x80
4445
#endif
4546

4647
#ifdef TX_ENABLE_FIQ_SUPPORT
47-
FIQ_MASK = 0x040
48+
#define FIQ_MASK 0x40
4849
#endif
4950

5051
/**************************************************************************/
@@ -267,3 +268,4 @@ no_fiq:
267268
BX lr
268269

269270
#endif
271+

ports/cortex_a15/gnu/src/tx_thread_schedule.S

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/***************************************************************************
22
* Copyright (c) 2024 Microsoft Corporation
3+
* Copyright (C) 2026-present Eclipse ThreadX contributors
34
*
45
* This program and the accompanying materials are made available under the
56
* terms of the MIT License which is available at
@@ -40,11 +41,11 @@
4041
#define SVC_MODE 0x13 // SVC mode
4142

4243
#ifdef TX_ENABLE_VFP_SUPPORT
43-
IRQ_MASK = 0x080
44+
#define IRQ_MASK 0x80
4445
#endif
4546

4647
#ifdef TX_ENABLE_FIQ_SUPPORT
47-
FIQ_MASK = 0x040
48+
#define FIQ_MASK 0x40
4849
#endif
4950

5051
/**************************************************************************/
@@ -267,3 +268,4 @@ no_fiq:
267268
BX lr
268269

269270
#endif
271+

ports/cortex_a15/iar/src/tx_thread_schedule.s

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
;/***************************************************************************
22
; * Copyright (c) 2024 Microsoft Corporation
3+
* Copyright (C) 2026-present Eclipse ThreadX contributors
34
; *
45
; * This program and the accompanying materials are made available under the
56
; * terms of the MIT License which is available at
@@ -239,3 +240,4 @@ __tx_no_thread_to_disable
239240

240241
END
241242

243+

ports/cortex_a17/ac6/src/tx_thread_schedule.S

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/***************************************************************************
22
* Copyright (c) 2024 Microsoft Corporation
3+
* Copyright (C) 2026-present Eclipse ThreadX contributors
34
*
45
* This program and the accompanying materials are made available under the
56
* terms of the MIT License which is available at
@@ -40,11 +41,11 @@
4041
#define SVC_MODE 0x13 // SVC mode
4142

4243
#ifdef TX_ENABLE_VFP_SUPPORT
43-
IRQ_MASK = 0x080
44+
#define IRQ_MASK 0x80
4445
#endif
4546

4647
#ifdef TX_ENABLE_FIQ_SUPPORT
47-
FIQ_MASK = 0x040
48+
#define FIQ_MASK 0x40
4849
#endif
4950

5051
/**************************************************************************/
@@ -267,3 +268,4 @@ no_fiq:
267268
BX lr
268269

269270
#endif
271+

ports/cortex_a17/gnu/src/tx_thread_schedule.S

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/***************************************************************************
22
* Copyright (c) 2024 Microsoft Corporation
3+
* Copyright (C) 2026-present Eclipse ThreadX contributors
34
*
45
* This program and the accompanying materials are made available under the
56
* terms of the MIT License which is available at
@@ -40,11 +41,11 @@
4041
#define SVC_MODE 0x13 // SVC mode
4142

4243
#ifdef TX_ENABLE_VFP_SUPPORT
43-
IRQ_MASK = 0x080
44+
#define IRQ_MASK 0x80
4445
#endif
4546

4647
#ifdef TX_ENABLE_FIQ_SUPPORT
47-
FIQ_MASK = 0x040
48+
#define FIQ_MASK 0x40
4849
#endif
4950

5051
/**************************************************************************/
@@ -267,3 +268,4 @@ no_fiq:
267268
BX lr
268269

269270
#endif
271+

ports/cortex_a34/ac6/src/tx_thread_schedule.S

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/***************************************************************************
22
* Copyright (c) 2024 Microsoft Corporation
3+
* Copyright (C) 2026-present Eclipse ThreadX contributors
34
*
45
* This program and the accompanying materials are made available under the
56
* terms of the MIT License which is available at
@@ -225,3 +226,4 @@ _skip_solicited_fp_restore:
225226
MSR DAIF, x4 // Recover DAIF
226227
RET // Return to caller
227228
// }
229+

ports/cortex_a34/gnu/src/tx_thread_schedule.S

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/***************************************************************************
22
* Copyright (c) 2024 Microsoft Corporation
3+
* Copyright (C) 2026-present Eclipse ThreadX contributors
34
*
45
* This program and the accompanying materials are made available under the
56
* terms of the MIT License which is available at
@@ -231,3 +232,4 @@ _skip_solicited_fp_restore:
231232
MSR DAIF, x4 // Recover DAIF
232233
RET // Return to caller
233234
// }
235+

ports/cortex_a35/ac6/src/tx_thread_schedule.S

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/***************************************************************************
22
* Copyright (c) 2024 Microsoft Corporation
3+
* Copyright (C) 2026-present Eclipse ThreadX contributors
34
*
45
* This program and the accompanying materials are made available under the
56
* terms of the MIT License which is available at
@@ -230,3 +231,4 @@ _skip_solicited_fp_restore:
230231
MSR DAIF, x4 // Recover DAIF
231232
RET // Return to caller
232233
// }
234+

0 commit comments

Comments
 (0)