vbos/include/fs/devfs.h
Michael Shaw 4b17525d33 devfs: add devfs
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
2026-07-11 23:57:47 -04:00

15 lines
375 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _DEVFS_H_
#define _DEVFS_H_
#include <kernel/block.h>
#include <drivers/tty.h>
#include <fs/inode.h>
int devfs_insert_device_chr(const char *name, struct tty *device, dirent_t **out);
int devfs_insert_device_blk(const char *name, struct block_device *device, dirent_t **out);
void devfs_init();
#endif /* _DEVFS_H_ */