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

Kernel: Make FIFO inherit from File.

This commit is contained in:
Andreas Kling 2019-04-29 04:55:54 +02:00
parent f254a84d17
commit 0a0d739e98
18 changed files with 96 additions and 72 deletions

View file

@ -1,4 +1,5 @@
#include "CharacterDevice.h"
#include <Kernel/Devices/Device.h>
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <LibC/errno_numbers.h>
Device::Device(unsigned major, unsigned minor)

View file

@ -34,6 +34,7 @@
//
#include <Kernel/File.h>
#include <Kernel/UnixTypes.h>
class Device : public File {
public:

View file

@ -3,6 +3,7 @@
#include <Kernel/Devices/CharacterDevice.h>
#include <Kernel/MousePacket.h>
#include <Kernel/IRQHandler.h>
#include <AK/CircularQueue.h>
class PS2MouseDevice final : public IRQHandler, public CharacterDevice {
public: