- 13 Feb, 2019 2 commits
-
-
Jonatan Antoni authored
Added volatile keywords to make the instruction sequence less dependent on the Compiler optimization level. Change-Id: I60b23d0dd959e34a0cc8e0c798dc01ae88686494
-
Jonatan Antoni authored
On devices with NEON extensions compilers doing auto-vectorization leads to the usage of VFP instruction for MMU setup. This needs the FPU to be enabled at early stage. Change-Id: I19b0f6e47248efcd86c3ae50e6c110bdebbf64cc
-
- 12 Feb, 2019 3 commits
-
-
Jonatan Antoni authored
Change-Id: I5511a55e265e5e59b00c2aecf57df2c16332355a
-
Reinhard Keil authored
-
Robert Rostohar authored
-
- 11 Feb, 2019 4 commits
-
-
Jonatan Antoni authored
Change-Id: I76937a782642672561c8698e73b38ab24b1262db
-
Jonatan Antoni authored
Change-Id: Ic2e722bb9e54bb6da7546955fa79d5f56adc0b21
-
Reinhard Keil authored
-
Vladimir Umek authored
RTX5: Add CLREX to exception exit paths
-
- 08 Feb, 2019 2 commits
-
-
Jonatan Antoni authored
Change-Id: Id67d50ca7ec02da8ba4856a3f2bcc0a0cef49340
-
Jonatan Antoni authored
... with a proper error message. Change-Id: I1e6ef40991cb8805add4c0b9a75a1149dcea5e57
-
- 07 Feb, 2019 3 commits
-
-
Jonatan Antoni authored
Change-Id: I8ad81ca7de91231c33c4d2c20948742d361e16ea
-
Kevin Bracey authored
Safe use of LDREX/STREX requires that any thread switches, interrupts or any other disruption between the LDREX and STREX be visible, so exception handlers must ensure that the exclusive monitor flag is clear when returning to foreground code. Two possible error cases are <thread 1> LDREX exclusive monitor set <thread switch 2> STR exclusive monitor cleared LDREX exclusive monitor set <thread switch 1> STREX !!! store succeeds because exclusive monitor set or <thread> LDREX exclusive monitor set <IRQ> STR exclusive monitor cleared LDREX exclusive monitor set // No store because of failed compare-and-swap <IRQ return> STREX !!! store succeeds because exclusive monitor set For ARMv7-M and ARMv8-A, the monitor is automatically cleared on exception return, but ARMv7-A requires that the clear be performed in software. Unneeded CLREX removed from data abort entry. The entry state of the exclusive monitor may be unknown on entry to an exception handler, but no code can possibly be relying on it being clear - an STREX that is intended to store must be preceded by an LDREX.
-
Jonatan Antoni authored
Change-Id: I68b68d8bfaf8be817bd1c3cf24bf4826c3ef915f
-
- 06 Feb, 2019 5 commits
-
-
Jonatan Antoni authored
Change-Id: Iaf2d7cc41eafac3c74987b02ceb0a64ceea5d37b
-
Jonatan Antoni authored
Change-Id: I56de604a5c8a2f5fd30accd398d2b7f84a001723
-
Jonatan Antoni authored
Change-Id: Ibfbb127994d51ed52c3c31614403a27abe1c21bc
-
Jonatan Antoni authored
Change-Id: Ic75fe7ef3164873475247f1615a3794d474dee98
-
Robert Rostohar authored
RTX5: Make rtx_core_ca.h cope with compiler in Thumb mode
-
- 05 Feb, 2019 7 commits
-
-
Jonatan Antoni authored
Change-Id: I14d11b81e0ac1ae5b00380ceeb9d083196eb6785
-
Jonatan Antoni authored
Change-Id: If561c278ae974bf0ccae3f5cfda1758eb3ca2c31
-
Jonatan Antoni authored
Change-Id: I5fe5a471d56a8c22e905017c13eddfd79a024f93
-
Jonatan Antoni authored
Change-Id: I88b501ee353017aaa96eadba39dbeddf7d75af03
-
Jonatan Antoni authored
Change-Id: I6e13257df9b0f97486960ddb247d3fab6baa4b21
-
Kevin Bracey authored
Assembler in rtx_core_ca.h is on the whole unified syntax such that it should work fine if assembled as either ARM or Thumb-2. The exception was __get_PSP, which uses STM^, which is only available in ARM state. Flagging for this function was incorrect, except for IAR - it switched assembler state without telling the compiler, meaning that the resulting assembler output could be incorrect, and that the function itself would not be correctly marked as an ARM function - the CPU would enter in Thumb state. Alternative fix would be to switch to System mode, which would work as either ARM or Thumb-2 assembler, like the rest of the file, but this is the minimal change. Fixes #526.
-
Jonatan Antoni authored
Change-Id: I98ea421e0cff2914cce340c3fcddd23e342b8f4c
-
- 30 Jan, 2019 2 commits
-
-
Alexander Fedotov authored
-
Alexander Fedotov authored
-
- 28 Jan, 2019 1 commit
-
-
Joachim Krech authored
-
- 26 Jan, 2019 1 commit
-
-
Reinhard Keil authored
-
- 25 Jan, 2019 2 commits
-
-
Joachim Krech authored
-
Reinhard Keil authored
-
- 23 Jan, 2019 2 commits
-
-
Christopher Seidl authored
-
Christopher Seidl authored
-
- 21 Jan, 2019 2 commits
-
-
Reinhard Keil authored
-
Reinhard Keil authored
-
- 16 Jan, 2019 4 commits
-
-
Reinhard Keil authored
-
-
Reinhard Keil authored
-
Robert Rostohar authored
-