* ron minnich rminnich@gmail.com [070719 22:38]:
So, here's a problem. XIP in LAR is problematic, because your location in lar affects the linking step.
now what?
In favor of a good design we should have a defined API between stage0 and any other stages and set up a vector table with the addresses of those functions.
When calling from outside of stage0 we have to go through that table instead.
This is very little overhead and helps not blending stage0 and other stages. It also makes us think about what we want to export from stage0. I am sure we do not want/need to allow stageX to call anything in stage0.
Stefan