15 lines
374 B
C
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_ */
|