mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:18:12 +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:
parent
40a1f89d67
commit
62303d46d1
9 changed files with 832 additions and 2 deletions
|
@ -72,6 +72,7 @@
|
|||
#include <Kernel/Tasks/SyncTask.h>
|
||||
#include <Kernel/Time/TimeManagement.h>
|
||||
#include <Kernel/VM/MemoryManager.h>
|
||||
#include <Kernel/VirtIO/VirtIO.h>
|
||||
#include <Kernel/WorkQueue.h>
|
||||
#include <Kernel/kstdio.h>
|
||||
|
||||
|
@ -281,6 +282,8 @@ void init_stage2(void*)
|
|||
|
||||
DMIExpose::initialize();
|
||||
|
||||
VirtIO::detect();
|
||||
|
||||
E1000NetworkAdapter::detect();
|
||||
NE2000NetworkAdapter::detect();
|
||||
RTL8139NetworkAdapter::detect();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue