Hi,
this is a follow-up question to an earlier thread [0] on this mailinglist regarding the injection of software interrupts from Genode into the normal world VM.
The basic mechanism works fine, but we need to transfer some meta information with the interrupt to the normal world.
One possible approach would be to write something to a certain location in the non-secure memory before triggering the interrupt and reading that location from Linux. Of course, a cross-world synchronization mechanism is required here to maintain the consistency of the reserved memory range.
Another approach could use Linux's shared interrupts: Additional information can be transferred via the dev_id pointer passed to an interrupt handler.
Are both approaches possible in general, which one would you recommend?
David
[0] http://sourceforge.net/p/genode/mailman/message/34244066/