mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 20:58:22 +00:00
kernel: pseudodevices (null, full and zero)
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
|
||||
#include <kernel/vfs.h>
|
||||
|
||||
#define DEV_MAJOR_NULL 1
|
||||
#define DEV_MAJOR_FULL 2
|
||||
#define DEV_MAJOR_ZERO 3
|
||||
|
||||
typedef struct {
|
||||
int (*open)(int minor, int flags);
|
||||
int (*close)(int minor, int flags);
|
||||
|
||||
Reference in New Issue
Block a user