diff options
| author | Frédéric Desbiens <[email protected]> | 2026-09-03 11:44:27 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-09-03 11:44:27 -0400 |
| commit | c469a7756bb25f58bbe7af187731e20184a85c98 (patch) | |
| tree | d2cee51cdc9b8b9adbe64c8320db358bd8c1cd27 /common_modules/module_manager/src | |
| parent | 13c8c768c73b9ce10c9605f6df8b02080440f953 (diff) | |
Fixed the missing immediate prefix on MOV in Cortex-M schedulers (#693)
The BASEPRI-masking path in tx_thread_schedule wrote "MOV r0, 0" rather
than "MOV r0, #0". UAL requires the "#" prefix on an immediate operand.
GNU as and the LLVM-based assemblers accept the unprefixed form and emit
the intended encoding, but stricter assemblers reject it outright, so the
affected ports could not be built with those toolchains.
The GNU and AC6 sources had already been corrected; this brings the IAR
and AC5 sources into line. Verified that both spellings assemble to the
same Thumb-2 encoding (f04f 0000), so this is a source-correctness fix
with no change in generated code or runtime behaviour.
Covers 31 occurrences across the Cortex-M3, M4, M7, M33, M52, M55 and M85
ports, their module manager counterparts, and the shared ARMv7-M and
ARMv8-M architecture sources.
Fixes #461
Assisted-by: Copilot (Opus 5) <[email protected]>
Diffstat (limited to 'common_modules/module_manager/src')
0 files changed, 0 insertions, 0 deletions
