Description
hi
i am currently attempting to port semu virtio into rvvm which currently lacks support for virtio
-
specifically i would like help figuring out how to translate what virtio support LekKit/RVVM#149 (comment) (main.c , referenced by Implement VirtIO GPU and input devices #34 and https://github.com/shengwen-tw/semu/blob/bb98469f47b09324561970e91c49a58ab038a176/main.c) is doing in order to correctly set up virtio in semu
such that i can then begin replicating the same setup in rvvm with help from the RVVM maintainer as per the best way to go about such
for example
Please see the RVVM API and only then try to adapt anything.
Devices should not touch CPU specifics directly, like load/store instruction opcodes, registers. Devices should not trap the CPU manually either, it is done by the MMU subsystem.
If semu project did it that way it's silly and should not be replicated here.
Originally posted by @LekKit in LekKit/RVVM#149 (comment)