Jelle Raaijmakers
eb2b0d847e
Kernel: Allow writes larger than PAGE_SIZE
to AC97 device
...
Previously, `cat /dev/random > /dev/audio` would crash Serenity. Fix
this by splitting up the written data into `PAGE_SIZE` chunks.
2021-11-23 14:08:14 +01:00
Jelle Raaijmakers
70ca8b24dc
Kernel: Add generic channel support to AC97
...
This factors out some hardcoded PCMOut registers into a new private
class called AC97Channel, which wraps around a channel's registers and
provides some shared functionality.
No functional changes.
2021-11-23 14:08:14 +01:00
Jelle Raaijmakers
7a2a0c1052
Kernel: Implement AC97 audio device driver
2021-11-23 10:06:24 +01:00
Jelle Raaijmakers
1aafb6cd23
Kernel: Teach DeviceManagement to handle multiple audio devices
2021-11-23 10:06:24 +01:00
Jelle Raaijmakers
61d77274db
Kernel: Move SB16 to Audio subdirectory
2021-11-23 10:06:24 +01:00