- Jan 28, 2025
-
-
Alberto Nidasio authored
-
The problem is that Clang does not support assigning specific registers to variables. This commit is a quick fix to solve this problem while adding support for Clang
-
For example in interrupts_cortexMx.cpp: ```cpp static unsigned int getProgramCounter() { unsigned int result; // Get program counter when the exception was thrown from stack frame asm volatile("mrs %0, psp \n\t" "add %0, %0, #24 \n\t" "ldr %0, [%0] \n\t":"=r"(result)); return result; } ``` To check differences in the generated code we disassempled the compiled source with and without the keyword, both for O0 and O2 and both for gcc and clang. Only in a couple of cases with O0 and gcc there were some differences in the instructions, but non in the semantics Removed `register` keyword and changed how the stack pointer is copied in `getCurrentFreeStack` function
-
-
-
-
Alberto Nidasio authored
-
-
-
-
Alberto Nidasio authored
-
- Jan 16, 2025
-
-
Signed-off-by:
Terraneo Federico <fede.tft@miosix.org>
-
Federico authored
And use it to remove a dependency of libsyscalls from kernel headers.
-
- Jan 13, 2025
-
-
Federico authored
-
- Jan 12, 2025
- Jan 11, 2025
-
-
Federico authored
-
- Jan 10, 2025
- Jan 09, 2025
-
-
Federico authored
-
Federico authored
-
Federico authored
Clear fault interrupt flags to fix the address causing the fault being stuck after the first fault, and remove wrong leftover IRQinvokeScheduler
-
Federico authored
Enable the MPU also in high priority interrupt handlers, as it also defines the cacheability of regions
-
Federico authored
-
Federico authored
-
- Jan 08, 2025
- Jan 07, 2025
- Jan 05, 2025
- Jan 04, 2025