Skip to content

Commit 0f628da

Browse files
committed
Fix build failure in Cortex-A ports when VFP is enabled
1 parent c4ad279 commit 0f628da

File tree

15 files changed

+120
-0
lines changed

15 files changed

+120
-0
lines changed

ports/cortex_a12/ac6/src/tx_thread_schedule.S

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@
3939
#define IRQ_MODE 0x12 // IRQ mode
4040
#define SVC_MODE 0x13 // SVC mode
4141

42+
#ifdef TX_ENABLE_VFP_SUPPORT
43+
IRQ_MASK = 0x080
44+
#endif
45+
46+
#ifdef TX_ENABLE_FIQ_SUPPORT
47+
FIQ_MASK = 0x040
48+
#endif
49+
4250
/**************************************************************************/
4351
/* */
4452
/* FUNCTION RELEASE */

ports/cortex_a12/gnu/src/tx_thread_schedule.S

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@
3939
#define IRQ_MODE 0x12 // IRQ mode
4040
#define SVC_MODE 0x13 // SVC mode
4141

42+
#ifdef TX_ENABLE_VFP_SUPPORT
43+
IRQ_MASK = 0x080
44+
#endif
45+
46+
#ifdef TX_ENABLE_FIQ_SUPPORT
47+
FIQ_MASK = 0x040
48+
#endif
49+
4250
/**************************************************************************/
4351
/* */
4452
/* FUNCTION RELEASE */

ports/cortex_a15/ac6/src/tx_thread_schedule.S

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@
3939
#define IRQ_MODE 0x12 // IRQ mode
4040
#define SVC_MODE 0x13 // SVC mode
4141

42+
#ifdef TX_ENABLE_VFP_SUPPORT
43+
IRQ_MASK = 0x080
44+
#endif
45+
46+
#ifdef TX_ENABLE_FIQ_SUPPORT
47+
FIQ_MASK = 0x040
48+
#endif
49+
4250
/**************************************************************************/
4351
/* */
4452
/* FUNCTION RELEASE */

ports/cortex_a15/gnu/src/tx_thread_schedule.S

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@
3939
#define IRQ_MODE 0x12 // IRQ mode
4040
#define SVC_MODE 0x13 // SVC mode
4141

42+
#ifdef TX_ENABLE_VFP_SUPPORT
43+
IRQ_MASK = 0x080
44+
#endif
45+
46+
#ifdef TX_ENABLE_FIQ_SUPPORT
47+
FIQ_MASK = 0x040
48+
#endif
49+
4250
/**************************************************************************/
4351
/* */
4452
/* FUNCTION RELEASE */

ports/cortex_a17/ac6/src/tx_thread_schedule.S

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@
3939
#define IRQ_MODE 0x12 // IRQ mode
4040
#define SVC_MODE 0x13 // SVC mode
4141

42+
#ifdef TX_ENABLE_VFP_SUPPORT
43+
IRQ_MASK = 0x080
44+
#endif
45+
46+
#ifdef TX_ENABLE_FIQ_SUPPORT
47+
FIQ_MASK = 0x040
48+
#endif
49+
4250
/**************************************************************************/
4351
/* */
4452
/* FUNCTION RELEASE */

ports/cortex_a17/gnu/src/tx_thread_schedule.S

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@
3939
#define IRQ_MODE 0x12 // IRQ mode
4040
#define SVC_MODE 0x13 // SVC mode
4141

42+
#ifdef TX_ENABLE_VFP_SUPPORT
43+
IRQ_MASK = 0x080
44+
#endif
45+
46+
#ifdef TX_ENABLE_FIQ_SUPPORT
47+
FIQ_MASK = 0x040
48+
#endif
49+
4250
/**************************************************************************/
4351
/* */
4452
/* FUNCTION RELEASE */

ports/cortex_a5/ac6/src/tx_thread_schedule.S

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@
3939
#define IRQ_MODE 0x12 // IRQ mode
4040
#define SVC_MODE 0x13 // SVC mode
4141

42+
#ifdef TX_ENABLE_VFP_SUPPORT
43+
IRQ_MASK = 0x080
44+
#endif
45+
46+
#ifdef TX_ENABLE_FIQ_SUPPORT
47+
FIQ_MASK = 0x040
48+
#endif
49+
4250
/**************************************************************************/
4351
/* */
4452
/* FUNCTION RELEASE */

ports/cortex_a5/gnu/src/tx_thread_schedule.S

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@
3939
#define IRQ_MODE 0x12 // IRQ mode
4040
#define SVC_MODE 0x13 // SVC mode
4141

42+
#ifdef TX_ENABLE_VFP_SUPPORT
43+
IRQ_MASK = 0x080
44+
#endif
45+
46+
#ifdef TX_ENABLE_FIQ_SUPPORT
47+
FIQ_MASK = 0x040
48+
#endif
49+
4250
/**************************************************************************/
4351
/* */
4452
/* FUNCTION RELEASE */

ports/cortex_a7/ac6/src/tx_thread_schedule.S

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@
3939
#define IRQ_MODE 0x12 // IRQ mode
4040
#define SVC_MODE 0x13 // SVC mode
4141

42+
#ifdef TX_ENABLE_VFP_SUPPORT
43+
IRQ_MASK = 0x080
44+
#endif
45+
46+
#ifdef TX_ENABLE_FIQ_SUPPORT
47+
FIQ_MASK = 0x040
48+
#endif
49+
4250
/**************************************************************************/
4351
/* */
4452
/* FUNCTION RELEASE */

ports/cortex_a7/gnu/src/tx_thread_schedule.S

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@
3939
#define IRQ_MODE 0x12 // IRQ mode
4040
#define SVC_MODE 0x13 // SVC mode
4141

42+
#ifdef TX_ENABLE_VFP_SUPPORT
43+
IRQ_MASK = 0x080
44+
#endif
45+
46+
#ifdef TX_ENABLE_FIQ_SUPPORT
47+
FIQ_MASK = 0x040
48+
#endif
49+
4250
/**************************************************************************/
4351
/* */
4452
/* FUNCTION RELEASE */

0 commit comments

Comments
 (0)