mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03:00
Kernel: Add empty BlockDevice class.
This commit is contained in:
parent
994279d56c
commit
2dc7c5a7b0
Notes:
sideshowbarker
2024-07-19 15:42:14 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/2dc7c5a7b09
5
Kernel/BlockDevice.cpp
Normal file
5
Kernel/BlockDevice.cpp
Normal file
@ -0,0 +1,5 @@
|
||||
#include <Kernel/BlockDevice.h>
|
||||
|
||||
BlockDevice::~BlockDevice()
|
||||
{
|
||||
}
|
11
Kernel/BlockDevice.h
Normal file
11
Kernel/BlockDevice.h
Normal 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) { }
|
||||
};
|
@ -1,5 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
#include <Kernel/CharacterDevice.h>
|
||||
|
||||
CharacterDevice::~CharacterDevice()
|
||||
|
@ -39,6 +39,7 @@ VFS_OBJS = \
|
||||
DiskDevice.o \
|
||||
Device.o \
|
||||
CharacterDevice.o \
|
||||
BlockDevice.o \
|
||||
NullDevice.o \
|
||||
FullDevice.o \
|
||||
ZeroDevice.o \
|
||||
|
Loading…
Reference in New Issue
Block a user