Kernel: Add empty BlockDevice class.

This commit is contained in:
Andreas Kling 2019-02-16 00:52:58 +01:00
parent 994279d56c
commit 2dc7c5a7b0
Notes: sideshowbarker 2024-07-19 15:42:14 +09:00
4 changed files with 17 additions and 2 deletions

5
Kernel/BlockDevice.cpp Normal file
View File

@ -0,0 +1,5 @@
#include <Kernel/BlockDevice.h>
BlockDevice::~BlockDevice()
{
}

11
Kernel/BlockDevice.h Normal file
View File

@ -0,0 +1,11 @@
#pragma once
#include <Kernel/Device.h>
class BlockDevice : public Device {
public:
virtual ~BlockDevice() override;
protected:
BlockDevice(unsigned major, unsigned minor) : Device(major, minor) { }
};

View File

@ -1,5 +1,3 @@
#pragma once
#include <Kernel/CharacterDevice.h>
CharacterDevice::~CharacterDevice()

View File

@ -39,6 +39,7 @@ VFS_OBJS = \
DiskDevice.o \
Device.o \
CharacterDevice.o \
BlockDevice.o \
NullDevice.o \
FullDevice.o \
ZeroDevice.o \