1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 20:28:11 +00:00

Kernel: Implement AC97 audio device driver

This commit is contained in:
Jelle Raaijmakers 2021-11-23 01:13:02 +01:00 committed by Andreas Kling
parent 1aafb6cd23
commit 7a2a0c1052
5 changed files with 403 additions and 0 deletions

View file

@ -13,6 +13,7 @@
#include <Kernel/Bus/VirtIO/Device.h>
#include <Kernel/CMOS.h>
#include <Kernel/CommandLine.h>
#include <Kernel/Devices/Audio/AC97.h>
#include <Kernel/Devices/Audio/SB16.h>
#include <Kernel/Devices/DeviceManagement.h>
#include <Kernel/Devices/FullDevice.h>
@ -319,6 +320,7 @@ void init_stage2(void*)
PTYMultiplexer::initialize();
SB16::try_detect_and_create();
AC97::detect();
StorageManagement::the().initialize(kernel_command_line().root_device(), kernel_command_line().is_force_pio());
if (VirtualFileSystem::the().mount_root(StorageManagement::the().root_filesystem()).is_error()) {