1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 12:08:14 +00:00

Kernel: Add base support for VirtIO devices

Based on pull #3236 by tomuta, this adds helper methods for generic
device initialization, and partily-broken virtqueue helper methods

Co-authored-by: Tom <tomut@yahoo.com>
Co-authored-by: Sahan <sahan.h.fernando@gmail.com>
This commit is contained in:
Idan Horowitz 2021-01-02 19:53:05 +02:00 committed by Andreas Kling
parent 40a1f89d67
commit 62303d46d1
9 changed files with 832 additions and 2 deletions

View file

@ -314,6 +314,10 @@
#cmakedefine01 VOLATILE_PAGE_RANGES_DEBUG
#endif
#ifndef VIRTIO_DEBUG
#cmakedefine01 VIRTIO_DEBUG
#endif
#ifndef VRA_DEBUG
#cmakedefine01 VRA_DEBUG
#endif