mirror of https://github.com/ARMmbed/mbed-os.git
CMSIS/RTX: Pre-processor defines used for assembly
CMSIS repo does not support pre-processor defines, hence multiple assembly
files are added for secure/non-secure and floating point tools.
Mbed OS tools support assembly file pre-processing, but the build system
does not support multiple assembly files for each target, hence updating
the assembly files.
(cherry picked from commit 287121ffdc)
pull/7875/head
parent
4fd0daf9f5
commit
67b677d285
|
|
@ -24,9 +24,9 @@
|
|||
; */
|
||||
|
||||
|
||||
IF :LNOT::DEF:DOMAIN_NS
|
||||
DOMAIN_NS EQU 0
|
||||
ENDIF
|
||||
#ifndef DOMAIN_NS
|
||||
DOMAIN_NS EQU 0
|
||||
#endif
|
||||
|
||||
I_T_RUN_OFS EQU 20 ; osRtxInfo.thread.run offset
|
||||
TCB_SM_OFS EQU 48 ; TCB.stack_mem offset
|
||||
|
|
|
|||
|
|
@ -24,15 +24,13 @@
|
|||
; */
|
||||
|
||||
|
||||
IF :LNOT::DEF:DOMAIN_NS
|
||||
DOMAIN_NS EQU 0
|
||||
ENDIF
|
||||
#ifndef DOMAIN_NS
|
||||
DOMAIN_NS EQU 0
|
||||
#endif
|
||||
|
||||
IF ({FPU}="FPv5-SP") || ({FPU}="FPv5_D16")
|
||||
__FPU_USED EQU 1
|
||||
ELSE
|
||||
#ifndef __FPU_USED
|
||||
__FPU_USED EQU 0
|
||||
ENDIF
|
||||
#endif
|
||||
|
||||
I_T_RUN_OFS EQU 20 ; osRtxInfo.thread.run offset
|
||||
TCB_SM_OFS EQU 48 ; TCB.stack_mem offset
|
||||
|
|
|
|||
|
|
@ -27,9 +27,9 @@
|
|||
.file "irq_armv8mbl.S"
|
||||
.syntax unified
|
||||
|
||||
.ifndef DOMAIN_NS
|
||||
#ifndef DOMAIN_NS
|
||||
.equ DOMAIN_NS, 0
|
||||
.endif
|
||||
#endif
|
||||
|
||||
.equ I_T_RUN_OFS, 20 // osRtxInfo.thread.run offset
|
||||
.equ TCB_SM_OFS, 48 // TCB.stack_mem offset
|
||||
|
|
|
|||
|
|
@ -27,13 +27,13 @@
|
|||
.file "irq_armv8mml.S"
|
||||
.syntax unified
|
||||
|
||||
.ifndef DOMAIN_NS
|
||||
#ifndef DOMAIN_NS
|
||||
.equ DOMAIN_NS, 0
|
||||
.endif
|
||||
#endif
|
||||
|
||||
.ifndef __FPU_USED
|
||||
#ifndef __FPU_USED
|
||||
.equ __FPU_USED, 0
|
||||
.endif
|
||||
#endif
|
||||
|
||||
.equ I_T_RUN_OFS, 20 // osRtxInfo.thread.run offset
|
||||
.equ TCB_SM_OFS, 48 // TCB.stack_mem offset
|
||||
|
|
|
|||
Loading…
Reference in New Issue