Executing code in memory #349
Unanswered
kevinboone
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Yes, execution of code above The memory map of Circle is defined in the files include/circle/memorymap[64].h and described here. If you Rene |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi folks
In some circumstances it would be useful if Circle applications could load code from SD card into RAM and execute it. Then large, rarely-used pieces of the application need not necessarily be loaded with the kernel.
At present, though, I believe that execution of code from RAM is prevented. At least, I see a comment in one of the test samples to that effect. Can this restriction (if I have understood correctly) be turned off in some way?
An additional complication, if I understand correctly, is that the memory maps seem to be different for the different Pi models. I don't know if this is something that is under the control of Circle, or whether it is imposed by the processor or hardware.
I'm also aware that loading code and running it is treading on the toes of what a full operating system would do, and may be completely outside the design scope of Circle.
Comments welcome.
Thanks, Kevin
Beta Was this translation helpful? Give feedback.
All reactions