Posted on May 17, 2011 at 13:22Hi! Thanks for your answer, I agree with you. Clarity is very important. Without considering the options, I was initially aiming for a compact inlined solution which, as you mention, might save a couple of instructions...
Posted on May 17, 2011 at 13:22In my hobby kernel, I have so far defined a few system calls. Currently I call them by doing inline assembly calls from a C program (I use gcc) or directly using the SVC instruction from an assembly program. I am looki...
Posted on May 17, 2011 at 13:20Apparently, I did not read the Exception Return chapter of the Architecture Reference Manual carefully enough; back to school! ;) Thanks to both of you. I'll also take a look at the FreeRTOS port. EDIT: I see now how t...
Posted on May 17, 2011 at 13:20Hi! I just ran into a small problem - at the end of an exception handler, I have to decide whether to return using the process stack or the main stack. I also need to select handler mode or thread mode. So far, in my k...
Posted on May 17, 2011 at 13:04I am a little confused regarding the aliasing at 0x0. Originally, I assumed that it would work just like you say (i.e. SRAM could be aliased at 0x0), but according to ST:s ref manual RM0008, chapter 2.4 (boot configura...