2022-11-02 19:24:07 +00:00
|
|
|
#pragma once
|
|
|
|
#include "fs/VFS.h"
|
|
|
|
|
|
|
|
namespace FramebufferDevice
|
|
|
|
{
|
|
|
|
VFS::Node* create_new(const char* devname);
|
|
|
|
|
|
|
|
ssize_t write(VFS::Node* node, size_t offset, size_t size, const char* buffer);
|
|
|
|
|
|
|
|
uintptr_t mmap(VFS::Node* node, uintptr_t addr, size_t size, int prot, off_t offset);
|
2022-11-02 19:59:42 +00:00
|
|
|
|
|
|
|
long ioctl(VFS::Node* node, int cmd, uintptr_t arg);
|
2022-11-02 19:24:07 +00:00
|
|
|
}
|