VirtIO for inter-core communication

Discussions on more advanced topics such as monolithic vs micro-kernels, transactional memory models, and paging vs segmentation should go here. Use this forum to expand and improve the wiki!
Post Reply
z0rr0
Member
Member
Posts: 64
Joined: Sun Apr 03, 2005 11:00 pm
Location: Grenoble, France
Contact:

VirtIO for inter-core communication

Post 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,
Post Reply