Page 1 of 1

VirtIO for inter-core communication

Posted: Sun Jul 17, 2022 6:18 am
by z0rr0
Hello everyone,

I have just built a sort of VirtIO frontend/backend to communicate cores and I would like to share it. The idea is similar to RPMSG. In my implementation, each core has a rx[N-1] queue for each (N-1) core. The transmission/reception between cores happens 1-to-1. The code is here https://github.com/torokernel/torokerne ... tIOBus.pas in case you would like to reimplement it. I have also written down a post at http://torokerneleng.blogspot.com/2022/ ... -core.html and a video at https://youtu.be/6M_D43WHJ90 to explain the mechanism. If you have any questions or comments, feel free to ask!

Cheers,