vbos/include/fs/devfs.h
Michael Shaw c4ec0bdf21 tty: move tty/ from drivers/ to kernel/
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
2026-07-12 11:05:30 -04:00

15 lines
374 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _DEVFS_H_
#define _DEVFS_H_
#include <kernel/block.h>
#include <kernel/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_ */