summaryrefslogtreecommitdiff
path: root/kernel/src/generic/devfs.hpp
blob: 2c91d834b48e806741c3a31aa31d082d8d3f1257 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once
#include <cstdint>
#include <generic/vfs.hpp>

struct devfs_node {
    vfs::pipe* pipe;
};

// for non input devices
namespace devfs {
    void create();
    void init(vfs::node* new_node);
}