mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
799177feda
Currently you can only mmap the entire framebuffer. Using this when starting up the WindowServer gets us yet another step closer towards it moving into userspace. :^)
14 lines
303 B
C++
14 lines
303 B
C++
#pragma once
|
|
|
|
#include <Kernel/Device.h>
|
|
|
|
class CharacterDevice : public Device {
|
|
public:
|
|
virtual ~CharacterDevice() override;
|
|
|
|
protected:
|
|
CharacterDevice(unsigned major, unsigned minor) : Device(major, minor) { }
|
|
|
|
private:
|
|
virtual bool is_character_device() const final { return true; }
|
|
};
|