1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:57:46 +00:00

Kernel+SystemServer: Make KCOVDevice a character device

This device should not be a block device, as in Serenity, block devices
represent an interface to either disk partitions or storage devices.
This commit is contained in:
Liav A 2022-07-09 10:10:21 +03:00 committed by Andreas Kling
parent b1ed151c9c
commit 9dbec601b0
3 changed files with 5 additions and 6 deletions

View file

@ -28,7 +28,7 @@ UNMAP_AFTER_INIT NonnullRefPtr<KCOVDevice> KCOVDevice::must_create()
}
UNMAP_AFTER_INIT KCOVDevice::KCOVDevice()
: BlockDevice(30, 0)
: CharacterDevice(30, 0)
{
proc_instance = new HashMap<ProcessID, KCOVInstance*>();
thread_instance = new HashMap<ThreadID, KCOVInstance*>();