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:
parent
b1ed151c9c
commit
9dbec601b0
3 changed files with 5 additions and 6 deletions
|
@ -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*>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue