mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +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; }
|
|
};
|