Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
non-paged supervisor code calling paged application code
#4
That worked nicely - as a method for tricking the compiler optimization to not discard what appears to be (as yet) unused routines in the core supervisor. Thank you for that.

And I've been dreaming/thinking of a way of using shims for the "core" subs and functions, in the paged code setions, and I'll use the same trick to keep all the shims present in the paged code sections, and to quieten down the compiler optimisation discard warnings.

When I've got a decent demo working of core performing multiple (at least two) MMU page swaps for paged code sections, and the core calling those paged sections, and then having those paged code sections make calls back to general purpose routines in the core... when I have this working then I will share all the code and build scripts and config in case anyone else ever wants to try anything similar.
Reply


Messages In This Thread
RE: non-paged supervisor code calling paged application code - by sdo303 - 2026-02-16, 06:51 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)