IRQ Shared Memory Demo – Remote Side
The remote firmware receives timestamped packets from the host, mirrors each
payload into the return buffer, and notifies the host via IPI. When a
"shutdown" marker arrives it disables interrupts and exits the loop.
Demo Sequence
Get the shared memory device I/O region.
Get the IRQ device I/O region.
Register the IRQ interrupt handler.
Wait for remote IRQ notification to receive a message.
When a message is received, check whether it is the shutdown marker.
If it is shutdown, clean up; otherwise, echo it back to the shared buffer.
Kick IRQ to notify the host that a message was written into shared memory.
Repeat step 4.
Clean up: disable the IRQ interrupt and deregister the handler.
Supported Platforms
Platform-specific prerequisites, build instructions, and troubleshooting tips live in the linked machine documentation.