pipefs: prepare pipefs_open for named pipe support

This commit is contained in:
Matheus
2024-08-11 12:25:17 -03:00
parent ca2ad66dc6
commit f02a63473f
3 changed files with 62 additions and 18 deletions
+2
View File
@@ -5,6 +5,7 @@
#include <ringbuffer.h>
#include <semaphore.h>
#include <kernel/poll.h>
#include <kernel/event.h>
typedef struct pipenode_t {
vnode_t vnode;
@@ -12,6 +13,7 @@ typedef struct pipenode_t {
ringbuffer_t data;
size_t readers, writers;
pollheader_t pollheader;
eventheader_t openevent;
} pipenode_t;
void pipefs_init();